Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Problems with ship method
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Piotr Solnica  
View profile  
 More options Sep 23 2010, 9:15 am
From: Piotr Solnica <piotr.soln...@gmail.com>
Date: Thu, 23 Sep 2010 06:15:20 -0700 (PDT)
Local: Thurs, Sep 23 2010 9:15 am
Subject: Problems with ship method
Hey,

I'm trying to use the Shippinglogic::FedEx#ship method with the
following options:

opts = {
  :shipper_name => "John Doe"
  :shipper_postal_code => "10007"
  :shipper_country => "US"
  :recipient_name => "Jane Doe"
  :recipient_postal_code => "75201"
  :recipient_country => "US"
  :package_weight => 24
  :package_length => 12
  :package_width => 12
  :package_height => 12
  :just_validate => false }

and I'm getting a weird error in the response:

Exception raised:
Class: <Shippinglogic::FedEx::Error>
Message: <"Schema validation failed for request., Expected element
'ServiceType@http://fedex.com/ws/ship/v6' instead of
'PackagingType@http://fedex.com/ws/ship/v6' here in element
RequestedShipment@http://fedex.com/ws/ship/v6, Expected element
'ServiceType@http://fedex.com/ws/ship/v6' instead of 'Shipper@http://
fedex.com/ws/ship/v6' here in element RequestedShipment@http://
fedex.com/ws/ship/v6, Expected element 'ServiceType@http://fedex.com/
ws/ship/v6' instead of 'Recipient@http://fedex.com/ws/ship/v6' here in
element RequestedShipment@http://fedex.com/ws/ship/v6, Expected
element 'ServiceType@http://fedex.com/ws/ship/v6' instead of
'ShippingChargesPayment@http://fedex.com/ws/ship/v6' here in element
RequestedShipment@http://fedex.com/ws/ship/v6, Expected element
'ServiceType@http://fedex.com/ws/ship/v6' instead of
'LabelSpecification@http://fedex.com/ws/ship/v6' here in element
RequestedShipment@http://fedex.com/ws/ship/v6, Expected element
'ServiceType@http://fedex.com/ws/ship/v6' instead of
'RateRequestTypes@http://fedex.com/ws/ship/v6' here in element
RequestedShipment@http://fedex.com/ws/ship/v6, Expected element
'ServiceType@http://fedex.com/ws/ship/v6' instead of
'PackageCount@http://fedex.com/ws/ship/v6' here in element
RequestedShipment@http://fedex.com/ws/ship/v6, Expected element
'ServiceType@http://fedex.com/ws/ship/v6' instead of
'RequestedPackages@http://fedex.com/ws/ship/v6' here in element
RequestedShipment@http://fedex.com/ws/ship/v6, Expected element
'ServiceType@http://fedex.com/ws/ship/v6' before the end of the
content in element RequestedShipment@http://fedex.com/ws/ship/v6">

Funny thing is that when I set "just_validate" to true then I get:

Exception raised:
Class: <Shippinglogic::FedEx::Error>
Message: <"Authentication Failed">

My test account credentials are valid as other methods (ie #rate) work
fine.

Any clues?

Thanks!

# solnic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »