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.

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.

Good luck.

Regards,

Eric J Hoffman
DataStream Connexion
www.datastreamconnexion.com
Delivering Creative Data Solutions 

-----Original Message-----
From: Bud [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 05, 2003 4:03 PM
To: CF-Talk
Subject: RE: Character Encoding - Reward Offered!



On 2/5/03, Adrocknaphobia Jones penned:
>Wait a second. If you are on MX then why use COM to parse XML?

What should I use? UPS won't accept CFHTTP. "The server received a 
request it did not understand" or something like that.

I'm trying to get CrystalTech to install CFX_RawSocket so I can try
that.

But, I'm open to suggestions. 250 bucks to the winner.
-- 

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