Connecting to UPS for rates and service selection right? CFHTTP is a no go on that one. You can't tweak the actual http header for the CFHTTP call (and the vars are URL Encoded, breaks UPS), though I'm pretty sure someone could write a wrapper class for either of these http clients to have it work with CFMX.
http://www.innovation.ch/java/HTTPClient/ http://jakarta.apache.org/commons/httpclient/ This is something I've been tinkering around with for a while, but I fear that my lack of java experience is just going to be keeping me at that 'tinkering' stage for a while. Personally, even though the MSXML method works, seems like a lot of overhead now w/ the java extension of MX. Erik Yowell [EMAIL PROTECTED] http://www.shortfusemedia.com -----Original Message----- From: Joshua Miller [mailto:josh@;joshuasmiller.com] Sent: Friday, November 01, 2002 12:29 PM To: CF-Talk Subject: RE: MSXML alternative for Linux? Pardon if this is WAY off, but it looks like basically all that MSXML COM action does is send the XML data as a form element. "application/x-www-form-urlencoded" - That's the default mime-type for HTML forms. If that's the case, you could just submit it as a <cfhttpparam> using <cfhttp>. If you're using CFMX then you don't even need the MSXML COM interface for creating XML strings either ... It could be done much simpler using CFMX and CFHTTP. From my experience the XML support in CFMX is miles beyond COM/MSXML. Joshua Miller [EMAIL PROTECTED] -----Original Message----- From: Rob Rohan [mailto:rob@;cardinalweb.com] Sent: Friday, November 01, 2002 2:03 PM To: CF-Talk Subject: RE: MSXML alternative for Linux? It looks like you are trying to invoke a web service - I apologize I don't know much about MS COM / Soap stuff (other then it's more or less proprietary XML - as much as it can be). You might want to look at the 'soap' tag on the same site. Not sure how COM will work on Linux either. Sorry I miss understood Bud, Rob -----Original Message----- From: Bud [mailto:webcreation@;mindspring.com] Sent: Friday, November 01, 2002 10:20 AM To: CF-Talk Subject: RE: MSXML alternative for Linux? On 11/1/02, Rob Rohan penned: >There is CFX_XML http://www.cfdev.com/xml/xmlparser/ I am in the >process of writing one as well (free open source) but it wont be ready >for a while. The >CFX_XML uses java so it should run on real OS's. I actually don't need a way to parse the XML. I need a way to pass it to UPS. This is what I'm currently doing: <cfobject name="objXMLHTTP" class="microsoft.xmlhttp" action="create" type="COM"> <cfscript> XMLDataString = XMLRequestAccess & XMLRequest; temp = objXMLHTTP.open("POST","#Attributes.Server#",false); temp = objXMLHTTP.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); temp = objXMLHTTP.send(XMLDataString); XMLResponse = objXMLHTTP.responsetext; </cfscript> -- 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.

