ReadMe - JSDKToSoap

To build the JSDKToSoap sample:

  1. Have Apache Ant installed.
  2. Edit the sdkCodeGen file at the top level of your Java SDK installation, especially the eBaySDK.home and eBayWsdl properties. Be sure that eBayWsdl is set to the WSDL version you want.
  3. From the top level of your SDK directory, enter:
    ant -f sdkCodeGen.xml
  4. If you are using an IDE, add the newly generated ebaysdkcore.jar file to your development project.
  5. Add the source files of these newly generated stub packages to your project: com.ebay.sdk, com.ebay.sdk.util, com.ebay.sdk.xmlapi, and com.ebay.soap.eBLBaseComponents. They are useful to refer to as you write code.
  6. Add these Axis JAR files from javaSdkDir/externalLib/axis-1_1 to your project:
    axis.jar, commons-logging.jar, jaxrpc.jar, and saaj.jar.
  7. Add all of the SDK JAR files in javaSdkDir/lib to your CLASSPATH.
  8. Add all of the Axis JAR files in javaSdkDir/externalLib/axis-1_1 to your CLASSPATH.
  9. Compile the sample with the stub classes and JAR files you added to the project.
To run the JSDKToSoap sample:
  1. Move to the JSDKToSoap/classes directory.
  2. Add your authentication credentials to keys.properties.
  3. Enter: java com.ebay.migration.CallJsdk