How do I use the LMS JAVA sample?
eBay's Large Merchant Services make it possible for a Seller's application to send very large amounts of inventory to the eBay site, and to download order and transaction information. These services have been designed to make a large merchant's workflow more efficient by making large file transfers faster on the eBay servers.
Large Merchant Services consists of three separate APIs:
1. Merchant Data API (data file)
2. Bulk Data Exchange API (web service)
3. File Transfer API (web service)
Merchant Data API (data file) defines the data that can be passed to and from the eBay servers in files. This is the information about your inventory (to manage items and get report data about your inventory). The calls that are used in the data file cannot be used to make direct API calls (without a data file) to the eBay servers.
Bulk Data Exchange API (web service) describes how to manage the Large Merchant workflow, such as starting, stopping, and checking the status of data processing.
File Transfer API (web service) passes the data file to and from the eBay servers.
We've provided a sample application to demonstrate what the services do. The sample is provided as a runnable JAR file,
LMSSample.jar. The JAR file also contains the Java source files that you can explore, build, and run yourself. The sample can be used to upload files to add or revise inventory. Use this application to test your data files and to see how the APIs work together.
Download and extract the sample application zip file, LMSSample.zip. The zip file contains
ReadMe.txt, which describes how to run the sample.
What do I need to run the Java Sample?
How do I run the Java Sample using commandline?
1. LMS.properties file
a. You can modify the HTTP Socket Timeout. It is an integer in milliseconds.
b. You can modify the getJobStatusQueryInterval. This property is used by the UploadJobEnd2End function to decide the invocation interval of the getJobStatus function.
2. Currently, this sample only uploads files to the US site (site id 0)