Previous Topic Next topic Print topic


To generate clients

Restriction: This topic applies only when the Enterprise Server feature is enabled.

To generate a Java client:

To generate a Web Services client from a service Interface:
  1. In COBOL Explorer, right-click a Web Services service interface; then click Generate Client from the context menu.
  2. Depending on how you want to store your generated client, do one of the following to specify the project:
    • Click No project
    • Click Current project in Navigator
    • Click Select an open Eclipse project; then type the path to and name of the open project into the Open Eclipse project root location field, or use the Browse button to identify it.
    • Click Create New COBOL project; then provide a name and location using the New COBOL Project dialog box.
  3. Type the path to the output directory into the Output directory field, or use the Browse button to identify it.
  4. Click OK.
To generate a Web Services client from a WSDL file:
  1. In COBOL Explorer, right-click a Web Services service interface; then click Generate Client from the context menu.
  2. Check Use WSDL.
  3. Type the path to and name of the WSDL file into the WSDL file field, or use the Browse button to identify it.
  4. Click OK.
Note: Generating a client from a WSDL file only works for service interfaces that are on your local machine. To generate a client from a WSDL file if you are working with remote COBOL projects, you can copy the WSDL file to your local machine and generate a client from the WSDL, and then copy the resultant files of the client to the remote machine.
Previous Topic Next topic Print topic