[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: &lt; and &gt; in stead of < and >



Yes, this is really what the service delivers.  The service is defined 
to return an XML tag named <return> and inside that tag is the "payload" 
of the web service.  (Which, in this case, appears to be another XML 
document)

This is a common thing -- I see this quite often.

You can use a callback routine (an "Incoming" subprocedure, if you like, 
as demonstrated in EXAMPLE18 and similar examples) to look for the 
'return' XML tag.  When you see it, write the contents of the "value" 
parameter to an IFS file.

then, use HTTP_parse_xml_stmf() to parse the IFS file you just wrote. 
The result should be valid XML that you can use to get your parameter data.

If the XML document can exceed 64k, you'll need to use 
HTTP_xmlReturnPtr() to get a pointer for your "value" parameter so it 
can handle more than 64k.

It's not as hard as it sounds.


janottar@xxxxxxxxxx wrote:
[SNIP]
> 
> IS THIS REALLY WHAT THE SERVICE DELIVRES OR IS THIS DUE TO A PARAMETER
> VALUE  SOMEWHERE  ?????
> 
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------