question

lella93ac avatar image
0 Likes"
lella93ac asked

consoleAddItem Example error

Hello I have executed the example (consoleAddItem) available in our SDK, but when i run it with the below parameters: Enter eBay SOAP server URL (e.g., https://api.ebay.com/wsapi): https://api.ebay.com/wsapi ===== [2] Item Information ==== Title: scarpe adidas Description: jsjsjjsjsj Start Price: 11 Location: italia Primary Category (e.g.,162140): 30022 Enter your Seller Policy Payment ProfileId : 1 Enter your Seller Policy Shipping ProfileId : 1 1Enter your Seller Policy Return ProfileId : 1 ===== [3] Execute the API call ==== Begin to call eBay API, please wait ... SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/Users/maggian001/Documents/Ebay/eBaySDKJava897/lib/externalLib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/Users/maggian001/.m2/repository/ch/qos/logback/logback-classic/1.0.13/logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. [INFO ] 2015-04-09 17:22:03,683 loading wsdl : jar:file:/C:/Users/maggian001/Documents/Ebay/eBaySDKJava897/lib/ebaysdkcore.jar!/eBaySvc.wsdl [INFO ] 2015-04-09 17:22:05,259 wsdl loaded and service initialized. [INFO ] 2015-04-09 17:22:15,268 Sending SOAP request to: https://api.ebay.com/wsapi?siteid=0&callname=AddItem&client=java [INFO ] 2015-04-09 17:22:15,515 Request Message: Length=2.139 [INFO ] 2015-04-09 17:22:15,515 797 US USD jsjsjjsjsj Days_3 FixedPriceItem italia 30022 1 11.0 1 11 1 I have this exception: [ERROR] 2015-04-09 17:22:37,248 com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException: Connection timed out: connect com.ebay.sdk.SdkException: ApiCall.execute() - HTTP transport error: java.net.ConnectException: Connection timed out: connect Fail to list the item. at com.ebay.sdk.ApiCall.executeByApiName(Unknown Source) at com.ebay.sdk.ApiCall.execute(Unknown Source) at com.ebay.sdk.call.AddItemCall.addItem(AddItemCall.java:199) at it.maggiore.additem.ApplicationAddItem.main(ApplicationAddItem.java:80) Have you any suggestion? Best Regards Antonio
add itemwsdlconsoleaddit
10 |600 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered
Hi lella93ac, Looks like you were pointing to production API url with a sandbox token. Please change the trading API end point URL to https://api.sandbox.ebay.com/wsapi and give it a try. Note, I have removed the user token from your post. Please don't include the sensitive information in the public forum moving forward. Best Regards,
10 |600 characters needed characters left characters exceeded

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.