cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot access Trading API WSDL from Command Line

I have a tool that downloads the eBay Trading API WSDL (https://developer.ebay.com/webservices/1379/ebaysvc.wsdl) and builds the associated Java classes (ie. I am trying to access it in code.). However, I am getting a HTTP 403 error. I was not experiencing 403 errors several months ago. Is there something I need to do to access the WSDL in a headless manner? Has something changed on the server that forbids programmatic access to the WSDL?

 

I am still able to download the Trading API WSDL from a Web browser without any credentials whatsoever.

 

I could reconfigure the tool use a local WSDL copy, but I would rather not.

 

 

 

Sample of errors I am receiving ...

 

First Example (JAX-WS Maven plugin)
[ERROR] Server returned HTTP response code: 403 for URL: https://developer.ebay.com/webservices/1379/ebaysvc.wsdl

Failed to read the WSDL document: https://developer.ebay.com/webservices/1379/ebaysvc.wsdl, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.


Second Example (cURL)
$ curl https://developer.ebay.com/webservices/1379/ebaysvc.wsdl
<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>

You don't have permission to access "http&#58;&#47;&#47;developer&#46;ebay&#46;com&#47;webservices&#47;1379&#47;ebaysvc&#46;wsdl" on this server.<P>
Reference&#32;&#35;18&#46;6ca71002&#46;1777521620&#46;2acf1a06
<P>https&#58;&#47;&#47;errors&#46;edgesuite&#46;net&#47;18&#46;6ca71002&#46;1777521620&#46;2acf1a06</P>
</BODY>
</HTML>

Message 1 of 2
latest reply
1 REPLY 1

Cannot access Trading API WSDL from Command Line

issue verified on the eBay side, and they have fixed the issue.

Message 2 of 2
latest reply