uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

15.2.4 Value that can be specified in the jaxws:bindings element

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

Legend:
--: Indicates that attributes that can be used in the binding declaration do not exist.
Y: Indicates that the elements and attributes can be specified.
N: Indicates that the elements and attributes cannot be specified (not supported).

#
When you customize the fault name, make sure that the customized fault name is not duplicated with other fault names. If the name is repeated, the operations might not function properly.

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:

Organization of this subsection
(1) Values that can be specified in the name attribute
(2) Values that can be specified in the jaxws:javadoc element
(3) Values that can be specified in the jaxws:enableWrapperStyle element
(4) Values that can be specified in the jaxws:enableAsyncMapping element
(5) Values that can be specified in the part attribute
(6) Values that can be specified in the childElementName attribute
(7) Values that can be specified in the jaxws:provider element
(8) Un-supported elements

(1) Values that can be specified in the name attribute

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).

(2) Values that can be specified in the jaxws:javadoc element

In the jaxws:javadoc element, you can only specify the following values. If other values are specified, the operations might not function properly.

#1
The one-byte sign ("*/") is handled as the end of the Javadoc, so this sign cannot be used.

#2
The line with spaces and null characters is deleted during source code generation.

(3) Values that can be specified in the jaxws:enableWrapperStyle element

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.

(4) Values that can be specified in the jaxws:enableAsyncMapping element

In the jaxws:enableAsyncMapping element, you can only specify the boolean value (false). If other values are specified, the operations might not function properly.

(5) Values that can be specified in the part attribute

In the part attribute, you can only specify the following values. If other values are specified, the operations might not function properly.

(6) Values that can be specified in the childElementName attribute

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.

(7) Values that can be specified in the jaxws:provider element

You can specify a boolean value (true or false). If you specify any other values, the operation is not guaranteed.

(8) Un-supported elements

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.