Web Service Attributes Editor: Binding Operations

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.

Binding Operations

Use the Bindings Operations section to customize the attachment mechanism that provides additional metadata as to how the WSDL type is bound to Java. In the binding section of the WSDL file, if the MIME part is qualified with mime:content information, you have the option of using this information to tell wsimport what types to generate. If, for example, an operation sends binary data (e.g., xsd:base64Binary), and, in the binding section, the binding is qualified as a MIME multipart-related with MIME-content information that says that the type can be a GIF file. If Enable MIME Content is set to false, the data will be bound to a Byte array. If Enable MIME Content is set to true, wsimport will use the information in the mime:content portion of the binding section and bind it to java.awt.Image.

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

Legal Notices