Defining a Web Service Consumer Application

The Web Service Consumer Browser enables you to add and maintain Web service consumers loaded into the current schema.

Each schema in the JADE database can have a collection of Web service consumers, which are imported into JADE as subclasses of the JadeWebServiceConsumer class.

When importing a Web service consumer, StringArray and BinaryArray class entries are prefixed with the name of the consumer. This applies only when importing a consumer; reloading an existing consumer retains existing class names.

You can change the size of String and Binary array membership of an imported Web service consumer (in the Length text box on the Membership sheet of the Define Class dialog), to specify the maximum expected data length instead of the default value of 128. The specified length is preserved when the consumer is reloaded.

To open a Web Service Consumer Browser

A Web Service Consumer Browser window displaying a list of all Web services that have been added to this schema is then opened and the Consumer menu is displayed in the menu bar.

If you have not yet defined a Web service consumer, nothing is displayed in the Web Service Consumer Browser.

The Consumer menu contains the commands listed in the following table.

Command For details, see… Action
Add Using the Wizard to Add a Web Service Consumer Displays the Web Service Consumer Wizard
Browse Displaying a Hierarchical Web Service Consumer Browser Displays a hierarchical Web Service Consumer Exposure Browser that lists only the classes, properties, constants, and methods in the selected exposure
Reload Reloading a Web Service Consumer Displays the Web Service Consumer Wizard
Remove Removing a Web Service Consumer Following confirmation of the deletion request, deletes the selected Web service consumer
Extract Extracting a Specific Web Service Consumer Displays the Extract dialog
Generate JavaScript Generating JavaScript for a Web Service Consumer Displays the JavaScript Generation dialog