[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SetError() #66: XML parse failed
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, [1]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][2]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][3]http://www.columbus.co.za/EmailLegalNotice.htm.
__________________________________________________________________
This e-mail message has been scanned for Viruses and Content and
cleared by MailMarshal
__________________________________________________________________
References
1. [4]http://schemas.xmlsoap.org/soap/envelope/
2. [5]http://www.columbus.co.za/EmailLegalNotice.htm
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
[6]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
References
1. mailto:vanderWalt.Devlyn@xxxxxxxxxxxxxx
2. http://schemas.xmlsoap.org/soap/envelope/
3. http://www.columbus.co.za/EmailLegalNotice.htm
4. http://schemas.xmlsoap.org/soap/envelope/
5. http://www.columbus.co.za/EmailLegalNotice.htm
6. 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
-----------------------------------------------------------------------