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

RE: HTTPAPI - Anyone want to help a new guy



A different thought... what is the type of variable for the XML? Are you using a varying length variable?

Are you using something like:

http_url_post_xml('https://wwwcie.ups.com/ups.app/xml/Track' 
                 : %addr(postData) + 2                       
                 : %len(postData)                            
                 : %paddr(StartOfElement)                    
                 : %paddr(EndOfElement)                      
                 : *NULL );                                  

I don't see it in your debug log but are you sending "garbage" bytes (length) to the web service?


-----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. ---> 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
-----------------------------------------------------------------------