Previous Topic: Configure the Web Services LogsNext Topic: Authentication SOAP Interface


Create the Client Program

The function of the client program is to issue authentication and authorization requests to the web service on behalf of another application. The client program requires code for a client stub. The stub manages, sends, and receives messages to communicate with the web service. The web service support a WSDL file (for the SOAP protocol) and a WADL file (for the REST architecture). You can access the WSDL or WADL file using a web browser, and then save it as an XML file.

Follow these steps:

  1. Write the business logic for your application, which gathers the required credentials.
  2. Create the client stub. Optionally, you can use the WSDL or WADL file with a third-party tool to generate the client stub.
  3. Import the client stub and instantiate the stub object to invoke the web service.

The sections that follow list simplified sample SOAP and REST messages for reference.