Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TrackingRequest incorrectly constructed from v10 WSDL #89

Closed
mmangione opened this issue Mar 1, 2017 · 7 comments
Closed

TrackingRequest incorrectly constructed from v10 WSDL #89

mmangione opened this issue Mar 1, 2017 · 7 comments

Comments

@mmangione
Copy link

Was trying to track a package by reference number today. Found it to be impossible.

I need to send country in this field along with the account number:
track.SelectionDetails.Destination

It should accept Address objects. It incorrectly expects a string. Adding the proper type causes a SchemaValidationError. Sending anything else to Fedex produces a failure in their system.

@mmangione mmangione changed the title TrackingRequest incorrectly serialized from v10 WSDL TrackingRequest incorrectly constructed from v10 WSDL Mar 1, 2017
@yanpozka
Copy link

yanpozka commented Mar 1, 2017

if you're searching for reference number you may want to take a look here #83

@mmangione
Copy link
Author

That's what I used. The problem is the incorrect construction from the WSDL.

@radzhome
Copy link
Member

radzhome commented Mar 3, 2017

Yeah nothing we can do about that unless its fixed in V11

@radzhome
Copy link
Member

radzhome commented Mar 3, 2017

Closing issue, bug with service not package.

@radzhome radzhome closed this as completed Mar 3, 2017
@mmangione
Copy link
Author

Hang on. This is not an error with the WSDL. This is an error with the construction of the WSDL by this package.

Look at the definition of track.SelectionDetails.Destination in the WSDL, it clearly says that it expects "Account" type. Yet, this package says it should expect a "string" type.

@mmangione
Copy link
Author

mmangione commented Mar 3, 2017

Look. Here is the element reference. L1665 - L1669

      <xs:element name="Destination" type="ns:Address" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Only country is used for elimination of duplicate tracking numbers.</xs:documentation>
        </xs:annotation>
      </xs:element>

@mmangione
Copy link
Author

Hello? This is not a bug with the service. You closed this ticket without any form of investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants