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

RE: USPS Zip Code Web Service



Oops. I thought you were having a problem with USPS, but it looks like you
are trying to figure out http_url_post_xml.

Example 16 is pretty close to what you want to do. Clone that and and change
the values around and you should get it working.

The documentation is written into the HTTPAPI_H file. Basically, pass the
URL, the XML to send, the length of the data, the procedure to call at the
start of each XML element received, the procedure to call at the end of each
XML element received (use this to set your global "return" variables) and a
*NULL for the user data. The rest of the parameters can be omitted.

Post code and debug file if you need more help.

Mike Krebs 

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jordan
Waterhouse
Sent: Tuesday, May 27, 2008 4:20 PM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: USPS Zip Code Web Service

I've been trying to create an RPG program to get a zip code from the USPS
web service and haven't been able to figure out the parameters for
http_url_post_xml.  I used a clone of this program to get a bank name using
a webservicex.net ABA lookup and it works great.  Can anyone help?

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------