The Web Services wizard

The Web Services Wizard guides you through the steps to add the necessary service information to your application.

Web Services selection Page

Provide the Service details to get the WSDL description, using one of these:

Click the View button. The description of the Web Service is retrieved from the WSDL and displayed.


This figure is a screenshot of the Add Web Services - Client consuming WSDL dialog. See the surrounding text for more information about the fields shown on this window.

Figure 1. Add Web Services - Client consuming WSDL dialog

Copy to - Use the Browse button to specify the directory where a copy of the WSDL file should be saved. If you used the File option to specify the WSDL file, this directory must be different.

Advanced Options button - if you select this button, a dialog displays that allows you to add an external schema file with the WSDL file.


This figure is a screenshot of the Add Web Services - Client consuming WSDL dialog, Advanced Options. See the surrounding text for more information about the fields shown on this window.

Figure 2. Add Web Services - Client consuming WSDL, Advanced options

Within the Advanced Options dialog:

Web Services Project Integration (Client only)

Add Web Services to Project - if this radio button is selected, the WSDL file will be added to your project in Project Manager. Files that show the Web Services operations as functions in a Genero Program are generated and stored in the Target directory of the application:

Advanced - this radio button gives you the flexibility to write your own web client stub. The 4gl and inc files are generated and added to your project in Project manager. The WSDL file is created in the "copy to" path.

Important: Do not modify the generated 4gl files; they are regenerated on each re-build, so modifications will be lost.

Advanced Code Generation Options

Select the options for code generation and runtime behavior, if you wish to modify the default behavior. See The fglwsdl tool for a complete list of the command options.

Code Generation Result - optional page

This page displays only if you have selected Advanced in the Web Services Project Integration page of the wizard.

Select Finish to generate the WSDL file and accompanying files.

Note: If you must access the web service using a proxy, provide the proxy information in General Preferences.