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

Parser error



   Hi All,


   I'm new to the world of XML messages so I'm probably making some
   obvious errors.


   I'm trying to send a request to a  company website and get a response
   in the form of a `000' code . I'm using program example19 as a base.
   I've constructed my SOAP XML message and confirmed with the owners of
   the site that the XML format is correct. I'm using the command

   rc = http_url_post_xml(

              'http://xxxx.xxxxxxxxx.com.au/xxxxxx/xxxxxxx'

                     : %addr(SOAP) + 2

                     : %len(SOAP)

                     : *NULL

                     : %paddr(Incoming)

                     : %addr(status)

                     : HTTP_TIMEOUT

                     : HTTP_USERAGENT

                     : 'text/xml'

                     : 'http:// xxxx.xxxxxxxxx.com.au/xxxxxx/xxxxxxx');

   And getting a -1 response.


   Following the code in debug , in http_url_post_xml the process drops
   through the `select' statement to the `other' option. The error occurs
   directly after this statement when wwRC  = 1 and wkElemRoot.errcode =
   3 .

   The error message is `XML parse failed at line 1, col 0: no element
   found'.


   I've obviously messed something up but I'm not sure what. Any ideas?



   Regards,


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