To generate a Java client:
- In
COBOL Explorer, right-click a
Java
service interface; then click
Generate Client from the context menu.
To generate a Web Services client from a service Interface:
- In COBOL Explorer, right-click a Web Services service interface; then click
Generate Client from the context menu.
- 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.
- Type the path to the output directory into the
Output directory field, or use the
Browse button to identify it.
- Click
OK.
To generate a Web Services client from a WSDL file:
- In COBOL Explorer, right-click a Web Services service interface; then click
Generate Client from the context menu.
- Check
Use WSDL.
- Type the path to and name of the WSDL file into the
WSDL file field, or use the
Browse button to identify it.
- 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.