----- Original Message ----- From: "John Dowdell" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, May 22, 2002 5:08 PM Subject: Re: UPS shipping
> At 8:19 PM 5/28/2, Eric J Hoffman wrote: > >There isn't a cold fusion based system currently that does UPS shipping > >stuff...ie, new packages grab a tracking number from their system like > >the software, etc, and also provides tracking of same number? > >Just checking before we spend time working it out and checking the > >regulations from UPS. > > If you're in ColdFusion MX, then UPS and FedEx apparently offer tracking as > a web service. There's an extensive catalog of current services here... > just do a text search on "ups" to pull it up: > http://www.xmethods.net/ > > I haven't worked through that particular service, but is this similar to > the type of thing you're looking for...? > > When I Google on "coldfusion ups tracking" I pull up various calculators, > and carts which assign numbers... hey, cool, I see Seva Petrov has also > made an implementation available on the Macromedia Exchange, as the > CF_GetUPS extension. > > jd > Ooh I get a chance to rant about CF and UPS again! :) The stuff on Xmethods is pay service that allows you to do a Soap query from a third party, and the cf_getups uses the old cgi formfield based system that iirc has been scheduled to be shelved in favor of the XML interface. However since cfhttp thinks it must automatically urlencode every form field post, even in MX ,and Macromedia has ignored numerous requests to fix this, there is no native CF way to interact with UPS's XML API. A COM object like MSXML or TCPClient is probably the most popular way to do this right now (with all of the COM/CF shortcomings). I've looked at using the Jakarta project jsp tags to access the UPS XML API, but the CF MX docs say that cfsavecontent cannot be used to capture output from a jsp tag. However it has been discovered that the docs are wrong and cfsavecontent ca n capture JSP tag output. So accessing the XML with jsp tags may work as long as the docs continue to stay wrong in the final release. Anyway to answer the original question, check the archives. I posted the complete code to access UPS shipping API with MSXML a few weeks ago... jon ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

