Please note the following important information:
SDKIntallDir\externalLib\jaxp-1.4.2 into the application's classpath. Please post
issues with IBM JDK 1.5 in the
Java SDK Forum.| Contents |
|---|
| Release Information for the eBay SDK for Java |
| Installation Instructions |
| General Information for the eBay SDK for Java |
Important: Changes to the Trading API affect the SDK. For example, in schema version 499, deprecated objects in the schema were deleted, creating backward incompatibility. See the Trading API Release Notes for ongoing updates to the schema (including occasional removals of schema elements). Please also see Versioning Strategy and Deprecated Objects.
This release is compatible with eBay's 639 Trading WSDL, and contains support for the following new features:
The Java attributesDemo sample has been simplified. This sample simulates a simple sell your item(SYI) flow, it shows how to use eBay API/SDK to:
For detailed architecture and call flow of the sample, please refer to the readme in the sample folder.
The eclipse project files for JavaSDK have been updated, all absolute references (library, source, jdk) have been changed to relative references, now all projects can be imported into eclipse environment without additional reference updates.
For instructions about how to setup JavaSDK in Eclipse, please refer to the DevEnvReadme in SDK root folder.
This release is compatible with eBay's 631 Trading WSDL, and contains support for the following new features:
A new class, SdkProxySelector.java, is included in this release for those who access the eBay API using a proxy server and want to configure the proxy settings programmatically. For examples of usage, please refer to the apiCallsDemo sample.
The new DetailsDownloader.java, helper class shows you how to cache eBay details locally.
With the exception of, GetTokenStatus, RevokeToken, GetSessionID, and FetchToken, all SDK API calls can now be made with an eBay API developer token (instead of full eBay API developer credentials.)
This release is compatible with eBay's 623 Trading WSDL, and there are no new features.
This release is compatible with eBay's 615 Trading WSDL, and contains support for the following new features:
Four new classes, AddFixedPriceItem.java, ReviseFixedPriceItem.java, RelistFixedPriceItem.java and AddFixedPriceItem.java, have been added in this release. These classes can be used as single calls within a Java method, or they can be used within data files in the Large Merchant Services solution.
This release is compatible with eBay's 603 Trading WSDL, and contains support for the following new features:
Two new helper classes, CategoriesDownloader.java and FeaturesDownloader.java, have been added in this release. The CategoriesDownloader.java class caches eBay Category information to a local disk. The FeaturesDownloader.java class caches the eBay Category Feature information to a local disk. Using these classes, you can access category information without repeatedly making GetCategory and GetCategoryFeatures requests.
The AttributesDemo sample has been updated to take advantage of the new helper classes, so that you can see how to cache the eBay categories and features in a local repository.
The eBayAccount class was removed as part of a code clean-up in Release 595. It has been added back into the code for this release. It is also available as a downloadable patch for Release 595.
This release is compatible with eBay's 595 Trading WSDL, and contains support for the following new features:
In this release, the eBay SDK for Java has been migrated from Axis 1.1 to JAX-WS for use with production code. We recommend that you upgrade your production applications from the Axis version of the eBay SDK for Java to the JAX-WS version. For more information, please see Migrating to the JAX-WS eBay SDK for Java.
Since the classes in the eBay Picture Service (EPS) have been replaced by the UploadSiteHostedPictures Trading API (XML) call, the Java SDK now supports the UploadSiteHostedPictures call. Because this is a Trading API call, you will need to provide an eBay developer authorization token (that you obtain with your application keys) when making this call.
The UploadSiteHostedPictures call is the only call in the Trading API that doesn't support SOAP. Therefore, you need to use the following (XML) endpoints (Gateway URLs):
You can still use the EPS libraries with this release, but they will eventually be discontinued, so we recommend that you migrate to the newer call as soon as you can. The UploadSiteHostedPictures call enables you to upload files in image formats such as JPG by including a binary attachment after the XML input, as part of the request. The call returns SiteHostedPictureDetails.FullURL, which must be stored by your application (for associating the picture using the Item.PictureDetails.PictureURL field of AddItem, ReviseItem, or RelistItem).
For more information, please see the following:
This release also includes support for the ProPay payment method. ProPay is a third party application that allows small businesses to accept credit cards. For more information about ProPay, see www.ProPay.com. For more information about accepted eBay payment methods, see BuyerPaymentMethodCodeType in the Trading Call Reference.
An updated JSP attributeDemo sample includes return policy information that is integrated with the rest of the Item details, instead of being posted on a separate page. It also includes a dynamic lookup feature for Shipping Service, Payment Methods, Listing Type, and Listing Duration. This sample demonstrates the usage of eBay Custom Item Specifics with the Trading API GetCategoryFeatures and GetCategorySpecifics calls.
Some SDK samples have been updated based on recent API features. Please note
that for Return Policy and for the requirement to specify shipping,
some samples contain hard-coded fields. Therefore, if you want to change the
target site used in the sample, you must integrate GetCategoryFeaturesCall
and GeteBayDetailsCall into the sample. For important information, see the
Trading API Release Notes and the eBay Trading Web Services section
of the Developer
Documentation Center.
For important information about the latest API features, including new requirements for listings, please see the Trading API Release Notes and the eBay Trading Web Services section of the Developer Documentation Center.
As of this release, all legacy XML classes and calls have been removed. The new UploadSiteHostedPictures call is the only remaining XML call.
In this second Beta release, the eBay SDK for Java has been migrated from Axis 1.1 to JAX-WS. For more information, please see Migrating to the JAX-WS eBay SDK for Java (Beta Release).
For important information about the latest API features, including new requirements for listings, please see the Trading API Release Notes and the eBay Trading Web Services section of the Developer Documentation Center.
The eBay SDK for Java contains updated wrapper classes, updated test cases, and other updates that facilitate your use of recent API features. Changes include updates to user token retrieval and deprecation of eBay Express.
Some SDK samples are updated based on recent API features. Please note
that for Return Policy and for the requirement to specify shipping,
some samples contain hard-coded fields. Therefore, if you want to change the
target site used in the sample, you must integrate GetCategoryFeaturesCall
and GeteBayDetailsCall into the sample. For important information, see the
Trading API Release Notes and the eBay Trading Web Services section
of the Developer
Documentation Center.
In this release, the eBay SDK for Java has been migrated from Axis 1.1 to JAX-WS. This migration includes changes to the SDK core classes, wrapper classes, samples, and test cases. Stubs and datatypes are now generated with the wsimport tool under the JAX-WS standard, and this process is automated as before by using Ant (the name of the buildfile is build.xml). For more information, please see Migrating to the JAX-WS eBay SDK for Java.
SDK version 561, and earlier SDK versions, were based on Axis 1-1.
A new StubModifier tool is used to handle unrecognized enum values received in a SOAP response. The tool post-processes the stubs generated by Apache Axis WSDL2Java. The tool contains the StubModifier class, located in ...\source\Tools\StubModifier\src\tools\webservices\wsdl\stubutil\StubModifier.java.
The eBay SDK for Java includes the user-authentication improvements released with Trading API version 557. For information about these improvements, see the Release Notes for version 557 of the Trading API and see Authentication and Authorization.
The SDK changes include 3 new wrapper classes (GetSessionIDCall, GetTokenStatusCall, and RevokeTokenCall) and new FetchTokenCall functionality. Please use the new FetchTokenCall functionality in your application. The apiCallsDemo and signinRedirect samples are updated with the new FetchTokenCall functionality. Additionally, the apiCallsDemo is updated to show uses of GetTokenStatusCall and RevokeTokenCall.
For information about the latest API features, please see the Trading API Release Notes and the eBay Trading Web Services section of the Developer Documentation Center.
For information about previous versions, see the Axis 1.1 Java SDK Readme.
Please note that upgrades to an SDK should always be done in a test environment and fully tested before used in production.
In this section, you will use an ANT project file, build.xml, to do the following:
Note:
To build the SDK, use the following steps:
The WSDL is located at http://developer.ebay.com/webservices/Version/ebaySvc.wsdl.
Version in the URL means latest or it means a numerical version of a WSDL release (see the top of the particular WSDL file).
In the case of Version meaning latest, the WSDL is the latest released version (http://developer.ebay.com/webservices/latest/ebaySvc.wsdl). If Version in the URL means a numerical version of the WSDL, Version is a number (for example, http://developer.ebay.com/webservices/445/ebaySvc.wsdl).
Hypothetically, if the latest release of the WSDL were 449, you would find that WSDL version at both http://developer.ebay.com/webservices/latest/ebaySvc.wsdl and at http://developer.ebay.com/webservices/449/ebaySvc.wsdl.
eBay has tested the eBay SDK for Java using the following client environments:
Note: You can use any integrated development environment (IDE) with the eBay SDK for Java, as long as it supports the above environments.
© 2005–2009 eBay Inc. All rights reserved.