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

Re: SetError() #66: XML parse failed



   Hi Devlyn,
   It's returning 0 bytes.   In other words, it's giving a successful
   response code, but then sending nothing back.
   -SK

   On 11/14/2012 11:40 PM, [1]vanderWalt.Devlyn@xxxxxxxxxxxxxx wrote:

   Hi Scott
   Yes I am expecting an XML response back.  So if I understand you
   correctly, you saying the wed service server is sending back a blank
   XML?
   Devlyn
   From:        Scott Klement [2]<sk@xxxxxxxxxxxxxxxx>
   To:        HTTPAPI and FTPAPI Projects [3]<ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
   Date:        2012/11/14 04:23 PM
   Subject:        Re: SetError() #66: XML parse failed
   Sent by:        [4]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
     __________________________________________________________________

   Devlyn,
   The web service appears to be returning nothing.  A zero-length
   document, as indicated by this line of the log you posted:
      Content-Length: 0
   HTTPAPI is trying to parse that with an XML parser, and the XML parser
   is reporting that it's an invalid XML document.  (Which is true -- but
   maybe a bit misleading?)
   Were you expecting to get back an XML response from this service?
   -SK
   On 11/14/2012 1:00 AM, [5]vanderWalt.Devlyn@xxxxxxxxxxxxxx wrote:
   >     Hi All
   >     Need some help with one error message I am getting:
   >     SetError() #66: XML parse failed at line 1, col 0: no element
   found
   >     It just seem to get this error for only one of request call, the
   others
   >     seem to work.
   >     Here is the log file for that call:
   >     HTTPAPI Ver 1.24beta11 released 2010-09-09
   >     OS/400 Ver V6R1M0
   >     http_persist_open(): entered
   >     http_long_ParseURL(): entered
   >     DNS resolver retrans: 1
   >     DNS resolver retry  : 1
   >     DNS resolver options: x'00000136'
   >     DNS default domain: corporate.columbus.co.za
   >     DNS server found: 172.26.1.98
   >     DNS server found: 172.26.49.60
   >     http_persist_post(): entered
   >     http_long_ParseURL(): entered
   >     do_oper(POST): entered
   >     POST /p6devc/service/basicsite/services/soap HTTP/1.1
   >     Host: P6DEVC01:10010
   >     User-Agent: http-api/1.24
   >     Content-Type: text/xml
   >     SOAPAction: WebServiceControl
   >     Content-Length: 963
   >     senddoc(): entered
   >     <?xml version="1.0" encoding="iso-8859-1"
   >     standalone="no"?><soapenv:Envelope
   >     xmlns:soapenv="[1][1][6]http://schemas.xmlsoap.org/soap/envelope/";>
   >     <soapenv:Header/>    <soapenv:Body>       <Request>
   >     <ParameterSet>
   >     <Parameter01>B20120615000624724</Parameter01>
   >     <Parameter02>AP1</Parameter02>
   >     <Parameter03>201211140036737256</Parameter03>
   >     <Parameter04></Parameter04>
   <Parameter05></Parameter05>
   >             <Parameter06></Parameter06>
   >     <Parameter07></Parameter07>
   <Parameter08></Parameter08>
   >             <Parameter09></Parameter09>
   >     <Parameter10></Parameter10>          </ParameterSet>
   >     <WebserviceEnv>             <EnvironmentID>DEVC</EnvironmentID>
   >         <FunctionID>SMPSCHED</FunctionID>
   >     <UserID>P6USR</UserID>
   <LogKey>201211140036737256</LogKey>
   >              </WebserviceEnv>       </Request>
   >     </soapenv:Body></soapenv:Envelope>
   >     recvresp(): entered
   >     HTTP/1.1 200 OK
   >     Server: Apache-Coyote/1.1
   >     X-WSYD-LICENSE: Websydian Relay Service Servlet v2.1 - Copyright
   (c)
   >     2009 Websydian A/S
   >     X-WSYD-LICENSETYPE: 30
   >     Content-Length: 0
   >     Date: Wed, 14 Nov 2012 06:55:59 GMT
   >     SetError() #13: HTTP/1.1 200 OK
   >     recvresp(): end with 200
   >     recvdoc parms: identity 0
   >     header_load_cookies() entered
   >     recvdoc(): entered
   >     SetError() #0:
   >     http_close(): entered
   >     HTTPAPI Ver 1.24beta11 released 2010-09-09
   >     OS/400 Ver V6R1M0
   >     SetError() #66: XML parse failed at line 1, col 0: no element
   found
   >     Enjoy
   >     Devlyn
   >
   __________________________________________________________________
   >
   >     This e-mail is subject to the Columbus Stainless [Pty] Ltd Email
   Legal
   >     Notices available at:
   >     [2][2][7]http://www.columbus.co.za/EmailLegalNotice.htm.
   >
   __________________________________________________________________
   >
   >     This e-mail message has been scanned for Viruses and Content and
   >     cleared by MailMarshal
   >
   __________________________________________________________________
   >
   > References
   >
   >     1. [3][8]http://schemas.xmlsoap.org/soap/envelope/
   >     2. [4][9]http://www.columbus.co.za/EmailLegalNotice.htm
   >
   >
   >
   >
   -----------------------------------------------------------------------
   > This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > [5][10]http://www.scottklement.com/mailman/listinfo/ftpapi
   >
   -----------------------------------------------------------------------
   -----------------------------------------------------------------------
   This is the FTPAPI mailing list.  To unsubscribe, please go to:
   [6][11]http://www.scottklement.com/mailman/listinfo/ftpapi
   -----------------------------------------------------------------------
     __________________________________________________________________

   This e-mail is subject to the Columbus Stainless [Pty] Ltd Email Legal
   Notices available at:
   [7][12]http://www.columbus.co.za/EmailLegalNotice.htm.
     __________________________________________________________________

   This e-mail message has been scanned for Viruses and Content and
   cleared by MailMarshal
     __________________________________________________________________

References

   1. [13]http://schemas.xmlsoap.org/soap/envelope/
   2. [14]http://www.columbus.co.za/EmailLegalNotice.htm
   3. [15]http://schemas.xmlsoap.org/soap/envelope/
   4. [16]http://www.columbus.co.za/EmailLegalNotice.htm
   5. [17]http://www.scottklement.com/mailman/listinfo/ftpapi
   6. [18]http://www.scottklement.com/mailman/listinfo/ftpapi
   7. [19]http://www.columbus.co.za/EmailLegalNotice.htm


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

References

   1. mailto:vanderWalt.Devlyn@xxxxxxxxxxxxxx
   2. mailto:sk@xxxxxxxxxxxxxxxx
   3. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
   4. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   5. mailto:vanderWalt.Devlyn@xxxxxxxxxxxxxx
   6. http://schemas.xmlsoap.org/soap/envelope/
   7. http://www.columbus.co.za/EmailLegalNotice.htm
   8. http://schemas.xmlsoap.org/soap/envelope/
   9. http://www.columbus.co.za/EmailLegalNotice.htm
  10. http://www.scottklement.com/mailman/listinfo/ftpapi
  11. http://www.scottklement.com/mailman/listinfo/ftpapi
  12. http://www.columbus.co.za/EmailLegalNotice.htm
  13. http://schemas.xmlsoap.org/soap/envelope/
  14. http://www.columbus.co.za/EmailLegalNotice.htm
  15. http://schemas.xmlsoap.org/soap/envelope/
  16. http://www.columbus.co.za/EmailLegalNotice.htm
  17. http://www.scottklement.com/mailman/listinfo/ftpapi
  18. http://www.scottklement.com/mailman/listinfo/ftpapi
  19. http://www.columbus.co.za/EmailLegalNotice.htm
  20. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------