Web Service Attributes Editor: Global Customization

See Also 

The WSDL Customization panel of the Web Service Attributes Editor is available to JAX-WS (Java EE 5) web services and clients that are created from WSDL. In these scenarios, wsimport is invoked to generate the JAX-WS artifacts. By default, wsimport follows the binding rules specified by the JAX-WS specification. You use the WSDL Customization panel to customize the behaviour of wsimport when generating these artifacts.

You access the WSDL Customization panel of the Web Service Attributes Editor from the Projects window. Right-click the node representing a "from WSDL" artifact and then choose Edit Web Service Attributes. For example, for web service clients, expand the Web Service References node, right-click a node representing a web service client, and choose Edit Web Service Attributes. The editor appears. Choose the WSDL Customization tab and the panel opens.

Global Customization

Use the Global Customization section of the WSDL Customization panel to customize the entire WSDL file. That is, if it is not overridden in the lower level elements, any customization specified in the Global Customization section is followed throughout the affected elements in the WSDL file. For example, if Enable Asynchronous Client is enabled in the Global Customization section and no customization is done on any Port Types or Port Type Operations, then all operations in the WSDL file will be generated as asynchronous. However, you can override the higher level customization.

To continue our example, if there are two Port Types, A and B, if you disable the asynchronous operation in Port Type B, then all operations in A will be asynchronous and operations in B will not be asynchronous. You can then override at the operations level. Therefore, the overriding mechanism follows the hierarchy: Global Customization>PortTypes>PortType.

You can define the following global properties:

See Also
Web Service Attributes Editor
Port Types
Port Type Faults
Bindings
Binding Operations
Services
Ports
External Binding Files

Legal Notices