Run the Java client

Before you run the Java client, ensure Apache Ant and the Java Development Kit (JDK) are installed on the same computer as the client. We recommend that you install Apache Ant 1.7 or later, and the same version of the JDK that you use to run Smile.

The Java client calls SOAP methods and performs basic functions in the API. This task explains how to run the Java client on a Linux computer.

  1. Obtain the Java client package from Inomial.
    If you do not use a Linux computer, also obtain the Java client instructions for your operating system from Inomial.
  2. Extract the package and navigate to the new /client.ws.smile.inomial.com directory, which contains the extracted files.
  3. Run the following command to compile the Java client:
    ant
  4. Run the Java client, using the appropriate syntax for the method you want to call.
    The syntax for each method is documented with the method description.