Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

fmresultset.xml returns empty body

Featured Replies

  • Newbies

Dear all,

I'm new here so forgive me if not posted in the correct location. We have the following situation for which we do not know how to continue:

We have Filemaker server running on a windows server. The server is accessed through its local ip address (in the 10.10.10.x block). For an internal application I would like to extract information from a FileMaker database for usage in another application. Initially, I used the xmlresultset grammar. It works for when requesting the databases hosted on the server (i.e. : http//10.10.10.x/fmi/xml/fmresultset.xml?-dbnames returns the expected result). However, when I attempt to retrieve a list of layouts that are available I keep getting an empty body result:

http://10.10.10.x/fmi/xml/fmresultset.xml?-db=Test&-layoutnames

Returns the following contents (Note the content-length = 0):

[Chrome section: General]
Request URL: http://10.10.10.x/fmi/xml/fmresultset.xml?-db=Test&-layoutnames
Request Method: GET
Status Code: 200 OK
Remote Address: 10.10.10.x:80
Referrer Policy: no-referrer-when-downgrade

[Chrome section: Response header]
Content-Length: 0
Content-Type: text/xml;charset=UTF-8
Date: Mon, 19 Nov 2018 16:01:06 GMT
Server: Microsoft-IIS/10.0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Powered-By: ARR/3.0
X-XSS-Protection: 1; mode=block

[Chrome section: Request headers]
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9,nl;q=0.8
Authorization: Basic XXXXXXXXXXXXX
Cache-Control: max-age=0
Connection: keep-alive
Cookie: JSESSIONID=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.jwpc1
DNT: 1
Host: 10.10.10.x
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36

I specifically made a layout that should return content as a table view of the records.

I have verified with PHP, and it shows the same problem.

I have read on some forum that layouts should be made available through web-publishing as well. How to do this? I cannot find it in the documentation.

What else am I missing?

Hoping for an answer!

Edited by Gaohan

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.