Use the WSDL pruner tool to prune a copy of any legacy WSDL such as Trading, Merchant Data, Shopping, and Finding to reduce the operational size of the WSDL. Essentially, the pruner tool allows you to pick and choose which operations you want to work with. All operations/calls that are not selected and their exclusively-used types are omitted from the resultant customized WSDL.
Note: The tool works on all major operating systems.
-
Ensure you have downloaded the WSDL you wish to use to your local machine.
Tip: Each WSDL follows the same download path with the filename being the only difference. For example, the path for the Trading WSDL is https://developer.ebay.com/webservices/latest/ebaysvc.wsdl, the Shopping WSDL is https://developer.ebay.com/webservices/latest/shopping.wsdl, and so forth. If you want a specific version of a WSDL, replace 'latest' in the path with the actual version number of the wsdl. For example, to download the 1225 version of Trading WSDL, use path: https://developer.ebay.com/webservices/1225/ebaysvc.wsdl.
- Start the tool by running java -jar pruner.jar in the command line. In Windows, you can click start.bat in the root of the install directory to start the tool directly.
- Click Import Wsdl to browse to and import an eBay Trading WSDL.
- Select the operations you want to retain in the WSDL. Alternatively, you can click Select All to select all operations and then unselect the ones you do not want.
- Click Prune to prune the WSDL. You'll be prompted to specify an output folder. Save the file.
Note: There are some unreferenced (orphan) types in the eBay Trading WSDL. To include them, check Include unreferenced types.