Selecting Properties for Inclusion in Your Web Service Exposure

The Exposure sheet of the Web Service Exposure wizard enables you to select the classes and properties that are included in the exposure.

An example of the Exposure sheet is shown in the following image.

The Web Service Exposure Wizard dialog displays all of the classes and properties that will be exposed to the Web service consumer. By default, all public and read-only properties will be exposed. Use the popup (context) menu for navigation and for property selection.

To change the default setting, select or unselect the properties to meet your requirements. The WSDL generator will generate the schema based on this selection.

When you click the OK button, JADE makes a check for circular references. For example, selecting Company::allClients and Client::myCompany is a circular reference, which results in the display of the warning dialog, which lists the class and property names that may cause circular reference problems.

If you want to stop the current update so that you can modify your selection, click the recommended Cancel button. The detected items are then highlighted in the Web Service Exposure Wizard dialog list box.

If you click the OK button to proceed with the update, the generated WSDL uses the Document/Encoded message style format rather than Document/Literal Wrapped or Document/Literal Bare format.