[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XML parse failed at line 1, col 0: no element found
Hi Scott,
When i have changed the URL got an 500 HTTP/1.1 500 Internal Server
Error .
Please find attached the debug file.
Please suggest how i can rid off from this error.
Thanks & Regards
Jitender Singh.
On Fri, Feb 18, 2011 at 10:16 PM, Scott Klement
<[1]sk@xxxxxxxxxxxxxxxx> wrote:
Hi Jitender,
You appear to be sending a request to download the WSDL, instead of
sendign a request to call the web service.
In other words, you're passing the wrong URL to HTTPAPI.
On 2/18/2011 6:47 AM, jitender singh wrote:
>
> Hi Scott,
>
>
>
> I tested my projetc on beta version and instead of output i get
thw
> whole WSDL file.
>
>
>
> Please suggest what I need to do.
>
>
>
> Please find attached the log file which was created during my
testing.
>
>
> Thanks& Regards
>
> Jitender Singh.
>
>
>
> On Thu, Feb 17, 2011 at 12:16 PM, Scott Klement
> <[1][2]sk@xxxxxxxxxxxxxxxx> wrote:
>
> Sure. The install screens let you choose how HTTPAPI
interacts
> with
> different libraries...
> On 2/16/2011 11:23 PM, jitender singh wrote:
> >
> > We have a problem that we dont have separate test and
> production
>
> > environment.
> >
> > Before updating to current version we want to test our
both old
> and
> > new project and then upgrade to new version.
> >
> > Can we install the new version in library other than
LIBHTTP for
> > testing purpose?
> >
>
>
----------------------------------------------------------------------
> -
> This is the FTPAPI mailing list. To unsubscribe, please go to:
> [2][3]http://www.scottklement.com/mailman/listinfo/ftpapi
>
-------------------------------------------------------------------
---
> -
>
> References
>
> 1. mailto:[4]sk@xxxxxxxxxxxxxxxx
> 2. [5]http://www.scottklement.com/mailman/listinfo/ftpapi
>
>
>
>
>
----------------------------------------------------------------------
-
> This is the FTPAPI mailing list. To unsubscribe, please go to:
> [6]http://www.scottklement.com/mailman/listinfo/ftpapi
>
----------------------------------------------------------------------
-
----------------------------------------------------------------------
-
This is the FTPAPI mailing list. To unsubscribe, please go to:
[7]http://www.scottklement.com/mailman/listinfo/ftpapi
----------------------------------------------------------------------
-
References
1. mailto:sk@xxxxxxxxxxxxxxxx
2. mailto:sk@xxxxxxxxxxxxxxxx
3. http://www.scottklement.com/mailman/listinfo/ftpapi
4. mailto:sk@xxxxxxxxxxxxxxxx
5. http://www.scottklement.com/mailman/listinfo/ftpapi
6. http://www.scottklement.com/mailman/listinfo/ftpapi
7. http://www.scottklement.com/mailman/listinfo/ftpapi
HTTPAPI Ver 1.24beta11 released 2010-09-09
OS/400 Ver V5R4M0
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry : 2
DNS resolver options: x'00000136'
DNS default domain: REIMANPUB.COM
DNS server found: 161.230.232.11
DNS server found: 161.230.232.10
http_persist_post(): entered
http_long_ParseURL(): entered
do_oper(POST): entered
POST /DataServices/servlet/webservices HTTP/1.1
Host: uspvl3k56-dev.rdigest.com:28080
User-Agent: http-api/1.24
Content-Type: text/xml; charset=utf-8
Content-Length: 583
SOAPAction: "service=Service_test_2"
senddoc(): entered
<?xml version="1.0" encoding="utf-8" standalone="no"?><soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header/><soap:Body><dataSet><record><addr_1>6659 Southoaks Cres</addr_1><addr_2></addr_2><addr_3></addr_3><addr_4>Burnaby</addr_4><city>Burnaby BC</city><state>BC</state><postal_code>V5e4m9</postal_code><country_name>CANADA </country_name></record></dataSet></soap:Body></soap:Envelope>
recvresp(): entered
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Content-Length: 497
Date: Wed, 23 Feb 2011 13:06:28 GMT
Connection: close
SetError() #13: HTTP/1.1 500 Internal Server Error
recvresp(): end with 500
recvdoc parms: identity 497
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Sender</faultcode><faultstring>Could not retrieve the body of the SOAP request. Error: An invalid XML character (Unicode: 0x0) was found in the element content of the document.</faultstring><faultactor></faultactor><detail/></soapenv:Fault></soapenv:Body></soapenv:Envelope>
SetError() #13: HTTP/1.1 500 Internal Server Error
http_close(): entered
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------