Looks like I had to do it so I was looping over "RequestedPackageLiteItem" not the "sequencenumber - weight" chunk of XML.
Now it looks like this and so far no errors. I will keep testing. <ns:RateRequestTypes>LIST</ns:RateRequestTypes> <ns:PackageCount>2</ns:PackageCount> <ns:PackageDetail>INDIVIDUAL_PACKAGES</ns:PackageDetail> <ns:RequestedPackageLineItems> <ns:SequenceNumber>1</ns:SequenceNumber> <ns:InsuredValue> <ns:Currency>USD</ns:Currency> <ns:Amount>100</ns:Amount> </ns:InsuredValue> <ns:Weight> <ns:Units>LB</ns:Units> <ns:Value>50</ns:Value> </ns:Weight> </ns:RequestedPackageLineItems> <ns:RequestedPackageLineItems> <ns:SequenceNumber>2</ns:SequenceNumber> <ns:InsuredValue> <ns:Currency>USD</ns:Currency> <ns:Amount>100</ns:Amount> </ns:InsuredValue> <ns:Weight> <ns:Units>LB</ns:Units> <ns:Value>25</ns:Value> </ns:Weight> </ns:RequestedPackageLineItems> -----Original Message----- From: Chad Gray [mailto:cg...@careyweb.com] Sent: Wednesday, January 20, 2010 11:33 AM To: cf-talk Subject: RE: FedEx web service Leigh, have you ever tried to do multiple boxes in this CFFedExRates CFC? I structured the package data like this. <ns:RateRequestTypes>LIST</ns:RateRequestTypes> <ns:PackageCount>2</ns:PackageCount> <ns:PackageDetail>INDIVIDUAL_PACKAGES</ns:PackageDetail> <ns:RequestedPackageLineItems> <ns:SequenceNumber>1</ns:SequenceNumber> <ns:InsuredValue> <ns:Currency>USD</ns:Currency> <ns:Amount>100</ns:Amount> </ns:InsuredValue> <ns:Weight> <ns:Units>LB</ns:Units> <ns:Value>50</ns:Value> </ns:Weight> <ns:SequenceNumber>2</ns:SequenceNumber> <ns:InsuredValue> <ns:Currency>USD</ns:Currency> <ns:Amount>100</ns:Amount> </ns:InsuredValue> <ns:Weight> <ns:Units>LB</ns:Units> <ns:Value>25</ns:Value> </ns:Weight> </ns:RequestedPackageLineItems> Here is the error from fedex Expected elements 'weightsou...@http://fedex.com/ws/rate/v7 dimensi...@http://fedex.com/ws/rate/v7 physicalpackag...@http://fedex.com/ws/rate/v7 itemdescript...@http://fedex.com/ws/rate/v7 customerreferen...@http://fedex.com/ws/rate/v7 specialservicesreques...@http://fedex.com/ws/rate/v7 contentreco...@http://fedex.com/ws/rate/v7' instead of 'sequencenum...@http://fedex.com/ws/rate/v7' here in element requestedpackagelineit...@http://fedex.com/ws/rate/v7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329834 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4