Forum Discussion
SmartBear_Suppo
16 years agoSmartBear Alumni (Retired)
Hi Usha,
I've tried your SOAP request to PostMethods and I also received 400 Bad Request. Not a very insightful error. I've assumed I had to open an account and Developer Quick Start supported me in this assumption.
After using my PostalMethods account to send a PDF file with the rest of my request being identical to your request, I've received 200 OK status code but also with a non-OK SendLetterAndAddressResult code. More specifically, -3004 (The specified file extension is not supported). They provide documentation for status codes. Once I set FileExtension field to "PDF", my request was properly processed and I received a unique identifier, a positive number. You appear to have nailed -3150 which is their status code for General System Error in which case you need to contact their technical support.
As PostalMethods WSDL file specifies, file data needs to be Base64 encoded. In soapUI pro version, requests and file selection (and subsequent Base64 encoding) is available in user-friendly manner.
I hope my guide-through helped you out in accessing PostalMethods web services.
Cheers!
/Nenad Nikolic a.k.a. Shonzilla
I've tried your SOAP request to PostMethods and I also received 400 Bad Request. Not a very insightful error. I've assumed I had to open an account and Developer Quick Start supported me in this assumption.
After using my PostalMethods account to send a PDF file with the rest of my request being identical to your request, I've received 200 OK status code but also with a non-OK SendLetterAndAddressResult code. More specifically, -3004 (The specified file extension is not supported). They provide documentation for status codes. Once I set FileExtension field to "PDF", my request was properly processed and I received a unique identifier, a positive number. You appear to have nailed -3150 which is their status code for General System Error in which case you need to contact their technical support.
As PostalMethods WSDL file specifies, file data needs to be Base64 encoded. In soapUI pro version, requests and file selection (and subsequent Base64 encoding) is available in user-friendly manner.
I hope my guide-through helped you out in accessing PostalMethods web services.
Cheers!
/Nenad Nikolic a.k.a. Shonzilla
Related Content
- 2 years agoletoged
- 2 years agoRevathyV
- 10 months agoKimdoengart