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:329831
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to