sachinlokare Posted November 30, 2005 Share Posted November 30, 2005 Hi there, While Testing the Request(in xml) to test server to ups I got following error response <?xml version="1.0" ?> - <RatingServiceSelectionResponse> - <Response> - <TransactionReference> <CustomerContext>Bare Bones Rate Request</CustomerContext> <XpciVersion>1.0001</XpciVersion> </TransactionReference> <ResponseStatusCode>0</ResponseStatusCode> <ResponseStatusDescription>Failure</ResponseStatusDescription> - <Error> <ErrorSeverity>Hard</ErrorSeverity> <ErrorCode>250005</ErrorCode> <ErrorDescription>No Access Identification provided</ErrorDescription> </Error> </Response> </RatingServiceSelectionResponse> and my Xml request format is <?xml version='1.0'?><AccessRequest xml:lang='en-US'> <AccessLicenseNumber>TEST262223144CAT</AccessLicenseNumber> <UserId>342AX0</UserId> <Password>342 AX zero</Password><RatingServiceSelectionRequest xml:lang='en-US'><Request> <TransactionReference><CustomerContext>Bare Bones Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><RequestAction>Rate</RequestAction><RequestOption>Rate</RequestOption></Request><PickupType><Code>01</Code></PickupType><Shipment><Shipper><Address><PostalCode>44129</PostalCode><CountryCode>US</CountryCode></Address></Shipper><ShipTo><Address><PostalCode>44129</PostalCode><CountryCode>US</CountryCode></Address></ShipTo><ShipFrom><Address><PostalCode>32779</PostalCode><CountryCode>US</CountryCode></Address></ShipFrom><Service><Code>01</Code></Service><Package><PackagingType><Code>02</Code></PackagingType><Dimensions><UnitOfMeasurement><Code>IN</Code></UnitOfMeasurement><Lenght>20</Lenght><Width>20</Width><Height>20</Height></Dimensions><PackageWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>23</Weight></PackageWeight></Package></Shipment></RatingServiceSelectionRequest></AccessRequest> I am using curl fuction to connect to test server. I write this code in ups.php file and I am echo the result in same file But I got error message please help me out in this I read simillar problen here But I did not get it :huh: Please help me It is very gertafull Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.