question

bigk1d avatar image
0 Likes"
bigk1d asked

Trading API Version 1257 WSDL Error

The latest WSDL for the Trading API is returning version 1257 (https://developer.ebay.com/webservices/latest/ebaysvc.wsdl). Loading that in PHP is resulting in a SOAP error:

$client = new \SoapClient('https://developer.ebay.com/webservices/latest/ebaysvc.wsdl', $mode);
SOAP-ERROR: Parsing Schema: unexpected <CallName> in sequence

Specifying version 1255 of the WSDL (https://developer.ebay.com/webservices/1255/ebaysvc.wsdl) loads fine.

Is it possible there's an error in the latest version of the WSDL?

trading apiwsdl
· 1
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

nothing unusual, i use https://github.com/WsdlToPhp/PackageGenerator to generate my classes for my SDK and in nearly every wsdl there is some crap inside I manually have to remove.... ;-((

0 Likes 0 ·
amin.ja26 avatar image
1 Like"
amin.ja26 answered
· 1
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

I reviewed that prior to posting here. There's no information about why you would no longer be able to parse the WSDL with this version.
0 Likes 0 ·
polybag-monster avatar image
0 Likes"
polybag-monster answered

same error. 1255 is OK. Just fall back to 1255

10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.