AnsweredAssumed Answered

Is there a problem with an XML API request often returning truncated XML?

Question asked by douglerner on Mar 25, 2017
Latest reply on Mar 28, 2017 by wimdecorte

Our server is making requests for XML of the form:

 

https://xxx.somedomain.com/fmi/xml/fmresultset.xml?-db=FM%20OurDB%2014&-lay=XML_Trans&User_Page=http:%2F%2…

 

The call is supposed to return XML ending in </fmresultset>. But oftentimes the XML returned is not complete; it gets truncated before finishing the call.

 

 

I did a test where I called that URL 20 times and just displayed how many characters are returned:

 

 

 

Here are the results. 8762 is the correct number, but in 15 out of 20 calls only 7915 characters are returned - truncated XML.

 

 

character returned: 7915

character returned: 7915

character returned: 7915

character returned: 7915

character returned: 7915

character returned: 7915

character returned: 8762

character returned: 8762

character returned: 8762

character returned: 7915

character returned: 8762

character returned: 8762

character returned: 7915

character returned: 7915

character returned: 7915

character returned: 7915

character returned: 7915

character returned: 7915

character returned: 7915

character returned: 7915

 

 

It's very regular. Either 8762 characters are turned with a final <fmresultset> or 7915 characters are returned and the XML is truncated before the end.

 

Anybody ever see any problem like this before? Any suggestions?

 

Thanks,

 

doug

Outcomes