Previous Topic: PrerequisitesNext Topic: Generate Java Stubs


Generate the WSDL File

Generating the Web Service Description Language (WSDL) file for each web service is required when you call web services with a Java client.

To generate the WSDL file for a web service

  1. Access the web service URL in a browser.

    You typically see a message referencing an Axis service and SOAP access.

  2. Append ?wsdl to the URL.

    Axis generates a service description for the deployed service and returns it as XML in the browser, for example:

    http://localhost:8080/usm/services/AccountService?wsdl
    
  3. Save the output as a file named webservice.wsdl. Record the path name for future reference.

You have generated the WSDL. Use the webservice.wsdl file as input to web service calls (proxy-generation) when you generate java stubs for each web service.