Hello,
I am in need of assistance with integrating the UPS API into a REST service. Initially I fiddled around with the Request Parameters to where I got a successful test result but I get a hard 10002 error from UPS that basically states: "The XML document is well formed but the document is not valid" - this is when I contacted UPS Tech Support and they told me that I was missing some request parameters. I updated the request parameters as specified and now I can't even get a successful test! I will say that I wasn't sure if was supposed to include the ?xml version="1.0"? into the request parameters. I tried it without that and wasn't any more successful.
How the UPS API works is that I have to get authorization from the server before I can request anything. I'm not sure if the failure is in the authorization or in the body of the request. When I use my login credentials for UPS, it works just fine.
I've included screen shots of the REST service.
The last part of the test response says:
Error message:
POST https://wwwcie.ups.com/ups.app/xml/Track returned a response status of 400 Bad Request
I'm not sure what I'm doing wrong. Any help, advice or tips would be greatly. sinotwappreciated!