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

HTTPAPI, SOAP, and parsing the returned XML



   I'm trying my first application with HTTPAPI.  I'm using the
   http_url_post_xml to send a SOAP request to a web service.  I'm
   getting an XML file back that looks something like this:


   <ADStart><error code="0" text="NO_ERROR"
   /><ticket>fe81cb7e-fd9e-411b-b3fd-b9c5729728f7</ticket></ADStart>


   I'm using the incoming procedure in a lot of the examples to attempt
   to parse the returned XML.  The first name comes back as ADStart, with
   a value of: error code="0" text="NO_ERROR"
   /><ticket>fe81cb7e-fd9e-411b-b3fd-b9c5729728f7</ticket>


   I'm trying to extract the ticket value, but not quite sure how to get
   there!  The next time the Incoming procedure is invoked, it simply
   returns the end of the soap body followed by the envelope.  Is the
   fact that the web service is returning the error code line and that
   line isn't enclosed in starting and ending tags the issue?  If so, do
   you have any suggestion of how to get around it?


   Thanks for your help!

   Glenn
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------