× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



See https://developer.ibm.com/tutorials/dm-1105httprestdb2/ especially the
section "URL encoding/decoding"

On Wed, Nov 9, 2022 at 6:20 PM Jack Woehr <jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
wrote:

you have to URI encode the xml

On Wed, Nov 9, 2022 at 5:41 PM Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:

surely someone is using this out there?

what am I doing wrong?
I keep getting error message...

80040B19XML Syntax Error: Please check the XML request to see if it can be
parsed.USPSCOM::DoAuth

so I know I am getting there... just something wrong with my xml
delivery...
my userid all XXXXX'x for security...

select RESPONSEMSG
from table(systools.httppostclobverbose('
https://secure.shippingapis.com/ShippingAPI.dll?API=Verify&xml='
,'<httpHeader><header
name="Content-type" value="x-www-form-urlencoded"/></httpHeader>'


,systools.urlencode('<AddressValidateRequest
USERID="xxxxxxxxxxxx"><Revision>1</Revision><Address ID="0"><Address1>4166
Berkeley

Landing</Address1></Address2><City>Kennesaw</City><State>GA</State><Zip5>30144</Zip5></Zip4></Address></AddressValidateRequest>','')
)
) as request;

when I run in postman, all good... I get the verification xml back...
using the same url, same xml string...
in postman I choose x-www-form-urlencoded and XML


tia...

Jay




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.