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

RE: SetError() #66: XML parse failed



   It seems as if the web service did not return any response to your
   client stub. Therefore eXpat could not parse any elements. See the
   difference between both debug logs.
   Do you get back a response when you call the web service with soapUI?
   Thomas.
   ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 14.11.2012 11:06:40:
   > Von: vanderWalt.Devlyn@xxxxxxxxxxxxxx
   > An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx,
   > Datum: 14.11.2012 11:26
   > Betreff: RE: SetError() #66: XML parse failed
   > Gesendet von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   >
   > Hi Ronnie
   >
   > We have been using "<?xml version="1.0" encoding="iso-8859-1"
   > standalone="no"?>" in our soap data for a while now, and it has not
   given
   > us any problems. And its just one of our calls, resently that is
   giving
   > this error, the rest are fine.  I am also a bit nervous to do this
   change,
   > because it has been working before hand, and we been using it way for
   a
   > long time now: Here is a log from another call that works (log is
   below).
   > You will see its fine, with the "<?xml version="1.0"
   encoding="iso-8859-1"
   > standalone="no"?>" it works.  Do you maybe know anything else that I
   can
   > maybe look at?
   >
   > HTTPAPI Ver 1.24beta11 released 2010-09-09
   > OS/400 Ver V6R1M0
   >
   > New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819.
   ProtLoc=0
   > 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: 925
   >
   >
   > senddoc(): entered
   > <?xml version="1.0" encoding="iso-8859-1"
   > standalone="no"?><soapenv:Envelope   xmlns:soapenv="
   > [1]http://schemas.xmlsoap.org/soap/envelope/";>    <soapenv:Header/>
   > <soapenv:Body>       <Request>          <ParameterSet>
   > <Parameter01></Parameter01>             <Parameter02></Parameter02>
   > <Parameter03></Parameter03>             <Parameter04></Parameter04>
   > <Parameter05></Parameter05>             <Parameter06></Parameter06>
   > <Parameter07></Parameter07>             <Parameter08></Parameter08>
   > <Parameter09></Parameter09>             <Parameter10></Parameter10>
   > </ParameterSet>          <WebserviceEnv>
   > <EnvironmentID>DEVC</EnvironmentID>
   <FunctionID>RUNDETAIL</FunctionID>
   > <UserID>ADMIN</UserID>
   <LogKey>201211140036761215</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-Type: text/xml;charset=ISO-8859-1
   > Content-Length: 528
   > Date: Wed, 14 Nov 2012 09:56:03 GMT
   >
   >
   > SetError() #13: HTTP/1.1 200 OK
   > recvresp(): end with 200
   > recvdoc parms: identity 528
   > header_load_cookies() entered
   > recvdoc(): entered
   > SetError() #0:
   > <?xml version="1.0" encoding="ISO-8859-1"?>
   > <SOAP-ENV:Envelope xmlns:SOAP-ENV="
   > [2]http://schemas.xmlsoap.org/soap/envelope/
   > "><SOAP-ENV:Body><Response><Control><ProcessStartTime>11:56:03</
   > ProcessStartTime><ProcessEndTime>11:56:03</
   > ProcessEndTime><NumberofMessages>2</NumberofMessages></
   > Control><MessageDetails><MsgType>WEBSRVCONT</
   > MsgType><MsgDescription>Y</MsgDescription></
   > MessageDetails><MessageDetails><MsgType>RETSTS</
   > MsgType><MsgDescription>Y</MsgDescription></MessageDetails></
   > Response></SOAP-ENV:Body></SOAP-ENV:Envelope>
   >
   > http_close(): entered
   >
   >
   > From:   Ronnie <ronnie@xxxxxxxxxxxxxxxxxx>
   > To:     HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
   > Date:   2012/11/14 11:47 AM
   > Subject:        RE: SetError() #66: XML parse failed
   > Sent by:        ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   >
   >
   >
   > Hi Devlyn.
   >
   > I suspect you are somehow getting "<?xml version="1.0"
   > encoding="iso-8859-1" standalone="no"?>" into your soap data.
   > I don't think that should be in your soap data. Remove that and try
   again.
   > Your soap data should start from "<soapenv:Envelope............"
   >
   > Ronnie
   >
   > -----Original Message-----
   > From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [
   > [3]mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
   > vanderWalt.Devlyn@xxxxxxxxxxxxxx
   > Sent: 14 November 2012 09:00 AM
   > To: HTTPAPI and FTPAPI Projects
   > Subject: SetError() #66: XML parse failed
   >
   > 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="
   > [4]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:
   [5]http://www.columbus.co.za/EmailLegalNotice.htm.
   >
   -----------------------------------------------------------------------
   --------------
   >
   > This e-mail message has been scanned for Viruses and Content and
   cleared
   > by MailMarshal
   >
   -----------------------------------------------------------------------
   --------------
   >
   -----------------------------------------------------------------------
   > This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > [6]http://www.scottklement.com/mailman/listinfo/ftpapi
   >
   -----------------------------------------------------------------------
   >
   >
   >
   -----------------------------------------------------------------------
   --------------
   > This e-mail is subject to the Columbus Stainless [Pty] Ltd Email
   > Legal Notices available at:
   [7]http://www.columbus.co.za/EmailLegalNotice.htm.
   >
   -----------------------------------------------------------------------
   --------------
   >
   > This e-mail message has been scanned for Viruses and Content and
   > cleared by MailMarshal
   >
   -----------------------------------------------------------------------
   --------------
   >
   -----------------------------------------------------------------------
   > This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > [8]http://www.scottklement.com/mailman/listinfo/ftpapi
   >
   -----------------------------------------------------------------------

   --
   IMPORTANT NOTICE:
   This email is confidential, may be legally privileged, and is for the
   intended recipient only. Access, disclosure, copying, distribution, or
   reliance on any of it by anyone else is prohibited and may be a
   criminal
   offence. Please delete if obtained in error and email confirmation to
   the sender.

References

   1. http://schemas.xmlsoap.org/soap/envelope/
   2. http://schemas.xmlsoap.org/soap/envelope/
   3. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   4. http://schemas.xmlsoap.org/soap/envelope/
   5. http://www.columbus.co.za/EmailLegalNotice.htm
   6. http://www.scottklement.com/mailman/listinfo/ftpapi
   7. http://www.columbus.co.za/EmailLegalNotice.htm
   8. 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
-----------------------------------------------------------------------