Http Post Problem
I'm developing an Android application and ran into a problem while using the SendPostcardAndAddress method. I'm making http post requests to send postcards, without using the Postal Methods Java Toolkit, but for some reason I'm not able to get it working.
You can check out the url of the test http post request I make by accessing this text document:
And the response I get after making the request:
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <soap:Fault> <soap:Code> <soap:Value>soap:Receiver</soap:Value> </soap:Code> <soap:Reason> <soap:Text xml:lang="en">Server was unable to process request. ---> Data at the root level is invalid. Line 1, position 1.</soap:Text> </soap:Reason> <soap:Detail /> </soap:Fault> </soap:Body> </soap:Envelope>
Any ideas what I might be doing wrong?
Let me know if you need more details.