Getting Started with Web Services

Refer to the Silk Central Release Notes to ensure that you have the appropriate SDK version installed and in your PATH.

It is helpful to have the JUnit jar in your classpath. You can download the JUnit.jar file from

  1. Ensure that the bin directory of the Java SDK is in your PATH.
  2. Run the following command, pointing to the WSDL of the desired Web Service.
    wsimport -s <path where to save the generated files> -Xnocompile 
    -p <package structure you want to use for your client yourWebService> 
    http://<URL to your service>/yourWebService?wsdl
  3. Look for the automatically generated Java class YourWebService. This class is ready for you to use all of the methods that YourWebService provides.