Hello there..
well, I have created a simple application for generating Shipping Rates from Ups & Fedex servers...earlier i was working with the simple request xml passing only zipFrom, zipTo, & weight to the server & getting back the ground rate...
But now, i want to add the dimension parameters as well, to this request xml to get the rate more precisely...here, i tried to add the dimension part to the xml but the response xml sent the error message:
UPS Response Error : "Missing/Illegal Combination of Package/Dimensions"
FedEx Response Error: "Unknown Error"
I dont know what wrong is happening there...so, need your help in this...
btw, here is my UPS Request XML:
...
<?xml version=\"1.0\"?>
<RatingServiceSelectionRequest xml:lang=\"en-US\">
<Request>
<TransactionReference>
<CustomerContext>Rating and Service</CustomerContext>
<XpciVersion>1.0001</XpciVersion>
</TransactionReference>
<RequestAction>Rate</RequestAction>
<RequestOption>Shop</RequestOption>
</Request>
<PickupType>
<Code>" + pickupType + "</Code>
</PickupType>
<Shipment>
<Shipper>
<ShipperNumber>" + UPSAccount + "</ShipperNumber>
<Address>
<PostalCode>" + zipFrom + "</PostalCode>
</Address>
</Shipper>
<ShipTo>
<Address>
<PostalCode>" + zipTo + "</PostalCode>
</Address>
</ShipTo>
<Package>
<PackagingType>
<Code>" + packageType + "</Code>
<Description>Package</Description>
</PackagingType>
<Dimensions>
<UnitOfMeasurement>
<Code>IN</Code>
</UnitOfMeasurement>
<Length>" + length + "</Length>
<Width>" + width + "</Width>
<Height>" + height + "</Height>
</Dimensions>
<Description>Rate Shipping</Description>
<PackageWeight>
<UnitOfMeasurement>
<Code>LBS</Code>
</UnitOfMeasurement>
<Weight>" + weight + "</Weight>
</PackageWeight>
</Package>
</Shipment>
</RatingServiceSelectionRequest>
...Need you help....
Thanks in Adv...


