On 2/5/03, Eric Hoffman penned:
>Not that I am sure exactly what it is, but in our meta tags we explicity
>set the language on the page, and then this is how we talk to UPS for
>their full shipping stuff:
>
><cfscript>
>objXMLHTTP = CreateObject("COM", "MSXML2.ServerXMLHTTP.4.0");
>objXMLHTTP.open("POST","https://www.ups.com/ups.app/xml/ShipConfirm",fal
>se);
>objXMLHTTP.setRequestHeader("Method", "POST");
>objXMLHTTP.setRequestHeader("Content-Type","application/x-www-form-urlen
>coded");
>objXMLHTTP.send(xmlDoc);
>xml = objXMLHTTP.responseText;
></cfscript>
>
>We then parse our the data with soXMl into a cf structure for use; or
>did until they started sending things back UTF-8..now we use something
>else I'd have to look up to parse the returning xml.

Where do you see that they're returning things back utf-8? Is that 
documented? They swear everything is returned iso-8859-1.

>Works flawlessly and clients have been shipping fiends since.  Rawsocket
>did not work too well for us...also, for character encoding, add another
>setRequestHeader and use the proper encoding pair.

My Rates and Services tag and Tracking tag work flawlessly also. It's 
just these freaking characters in the license.

When you say add another setRequestHeader, isn't that going to just 
set what character set is sent to UPS? I don't have a problem with 
that.
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to