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

RE: HTTPAPI - Anyone want to help a new guy



Incidental things?:
1. Old version of LIBHTTP. Can you upgrade?
2. Content lengths (979 1999) seem large for what you are sending?

The error appears to be talking about your request - the XML you sent.
" Server was unable to process request. ---> Data at the root level is invalid. Line 1, position 1."
The root level line 1 position 1 should be "<" but appears it might be ">"?  

The XML looks valid but without WSDL hard to judge if it is what the service is looking for.

Does the content type (text/xml; charset=utf-8) you are sending match what is required by the web service?

Share some code?



-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Kenny Keifer
Sent: Friday, September 14, 2012 2:43 PM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: HTTPAPI - Anyone want to help a new guy

As you can see at the bottom of the debug text file I'm getting:

"Server was unable to process request. ---&gt; Data at the root level is
invalid. Line 1, position 1."

HTTP/1.1 500 Internal Server Error

 

Tried with and without // HTTP_setCCSIDs(1208: 0);

Got the same error 

This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake, please let us know by e-mail reply and delete it from your system; you may not copy this message or disclose its contents to anyone. Please send us by fax any message containing deadlines as incoming e-mails are not screened for response deadlines. The integrity and security of this message cannot be guaranteed on the Internet.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------