I've done that and got certified. FDXShipRequest request is the one to get shipping labels, see FedEx XML Transactions Guide for details.
I don't have an example of FDXShipRequest , but below is a working example of FDXRateRequest (change to your own accountnumber, meternumber and referer link) . for FDXShipRequest , just replace the FDXRateRequest xml content with FDXShipRequest xml content. Hope this helps Hua ============================= <cfscript> accountnumber = "+++++++++"; //change to your account number meternumber = "++++++++"; //change to your meter number </cfscript> <cfxml variable="requestXML"> <cfoutput> <FDXRateRequest xmlns:api="http://www.fedex.com/fsmapi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FDXRateRequest.xsd"> <RequestHeader> <CustomerTransactionIdentifier>CTIString</CustomerTransactionIdentifier> <AccountNumber>#accountnumber#</AccountNumber> <MeterNumber>#meternumber#</MeterNumber> <CarrierCode>FDXE</CarrierCode> </RequestHeader> <ShipDate>2007-02-01</ShipDate> <DropoffType>REGULARPICKUP</DropoffType> <Service>PRIORITYOVERNIGHT</Service> <Packaging>FEDEXBOX</Packaging> <WeightUnits>LBS</WeightUnits> <Weight>10.0</Weight> <OriginAddress> <StateOrProvinceCode>TN</StateOrProvinceCode> <PostalCode>37115</PostalCode> <CountryCode>US</CountryCode> </OriginAddress> <DestinationAddress> <StateOrProvinceCode>TX</StateOrProvinceCode> <PostalCode>73301</PostalCode> <CountryCode>US</CountryCode> </DestinationAddress> <Payment> <PayorType>SENDER</PayorType> </Payment> <PackageCount>1</PackageCount> </FDXRateRequest> </cfoutput> </cfxml> <cfscript> gatewayURL = "https://gatewaybeta.fedex.com/GatewayDC"; gatewayHost = "https://gatewaybeta.fedex.com"; requestheader = structnew(); requestheader["Referer"] = "www.yourrefererlinkhere.com"; //change to your referer link requestheader["Host"] = gatewayHost; requestheader["Accept"] = "image/gif, image/jpeg,image/pjpeg, text/plain, text/html, */*"; requestheader["Content-Type"] = "image/gif"; requestheader["Content-Length"] = "0"; requestheader["Content-Length"] = len(trim(tostring(requestXML))); </cfscript> <cfhttp method="post" url="#gatewayURL#" resolveurl="false" timeout="20"> <cfloop collection="#requestheader#" item="key" > <cfhttpparam type="header" name="#key#" value="#requestheader[key]#" /> </cfloop> <cfhttpparam type="xml" name="Urlxml" value="#tostring(requestXML)#" /> </cfhttp> <cfdump var="#tostring(cfhttp.FileContent)#"> <cfdump var="#xmlparse(cfhttp.FileContent)#"> <cfdump var="#tostring(requestXML)#"> =============================================== On 2/13/07, Russ <[EMAIL PROTECTED]> wrote: > Has anyone used the fedex api to print labels? > > > > Russ > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269794 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

