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

RE: SetError() #66: XML parse failed



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 [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="
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: 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:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------