uCosminexus Application Server, Web Service Development Guide
The following table lists the elements and attributes that can be specified in the jaxws:bindings element:
Table 15-24 Specification of attributes of the jaxws:bindings element
| Element name | Attribute name | Specification | ||
|---|---|---|---|---|
| The child element of the wsdl:definitions/jaxws:bindings element | ||||
| jaxws:package | name | Y | ||
| jaxws:javadoc | -- | Y | ||
| jaxws:enableWrapperStyle | -- | Y | ||
| jaxws:enableAsyncMapping | -- | Y | ||
| jaxws:enableMIMEContent | -- | N | ||
| The child element of the wsdl:portType/jaxws:bindings element | ||||
| jaxws:class | name | Y | ||
| jaxws:javadoc | -- | Y | ||
| jaxws:enableWrapperStyle | -- | Y | ||
| jaxws:enableAsyncMapping | -- | Y | ||
| The child element of the wsdl:portType/wsdl:operation/jaxws:bindings element | ||||
| jaxws:method | name | Y | ||
| jaxws:javadoc | -- | Y | ||
| jaxws:enableWrapperStyle | -- | Y | ||
| jaxws:enableAsyncMapping | -- | Y | ||
| jaxws:parameter | part | Y | ||
| childElementName | Y | |||
| name | Y | |||
| The child element of the wsdl:portType/wsdl:operation/wsdl:fault/jaxws:bindings element | ||||
| jaxws:class | name# | Y | ||
| jaxws:javadoc | -- | Y | ||
| The child element of the wsdl:binding/jaxws:bindings element | ||||
| jaxws:enableMIMEContent | -- | N | ||
| The child element of the wsdl:binding/wsdl:operation/jaxws:bindings element | ||||
| jaxws:enableMIMEContent | -- | N | ||
| jaxws:parameter | part | Y | ||
| childElementName | Y | |||
| name | Y | |||
| The child element of the wsdl:service/jaxws:bindings element | ||||
| jaxws:class | name | Y | ||
| jaxws:javadoc | -- | Y | ||
| The child element of the wsdl:service/wsdl:port/jaxws:bindings element | ||||
| jaxws:method | name | Y | ||
| jaxws:javadoc | -- | Y | ||
| jaxws:provider | -- | Y | ||
If you specify a binding element that cannot be specified, an error message is output in the standard error output and log and the processing ends (KDJW51188-E).
The following points describe the value that can be specified in the elements and attributes:
In the name attribute, you can only specify the following values. If other value and strings are specified, the operations might not function properly.
When you customize the class name and method name using the name attribute, an error occurs if the customized name is duplicated with another name, so make sure that the name is not repeated.
When you customize the SEI name corresponding to the Wsdl: portType element, the exception class name corresponding to the wsdl: fault element or the service name corresponding to the wsdl: service element with the jaxws: class element, if you specify a class name that includes the package name, the specified class name serves as a Java class of the specified package name. If you specify a class name that does not include the package name, the specified class name serves as a Java class with the package name that is mapped from the WSDL name space (the targetNamespace attribute of the wsdl:definitions element).
In the jaxws:javadoc element, you can only specify the following values. If other values are specified, the operations might not function properly.
In the jaxws:enableWrapperStyle element, you can specify the boolean value (true or false). If other values are specified, the operations might not function properly.
The wrapper style is enabled only when WSDL is coded in the wrapper style and the value of this element is specified as true.
In the jaxws:enableAsyncMapping element, you can only specify the boolean value (false). If other values are specified, the operations might not function properly.
In the part attribute, you can only specify the following values. If other values are specified, the operations might not function properly.
You can only specify QName of the qualified name of an existing type definition. If QName of the qualified name of a non-existent type definition is specified, the operation terminates normally without resulting in an error. In this case, the target for customization is ignored.
You can specify a boolean value (true or false). If you specify any other values, the operation is not guaranteed.
You cannot specify the binding elements that are not supported in the Cosminexus JAX-WS functionality. If un-supported binding elements are specified, the operations might not function properly.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.