uCosminexus Application Server, Web Service Development Guide
The javax.xml.ws.BindingType annotation is specified in the Web Service Implementation Class. If specified in SEI, this annotation is ignored. When this annotation is specified in SEI, a warning message is output to the standard error output and log and the processing continues (KDJW61079-W).
In the value element, you can specify the following field values of the javax.xml.ws.soap.SOAPBinding interface.
If another field value is specified, an error message is output to the standard error output and logs. The following table describes the error messages output, when you specify an invalid value in the value element:
Table 16-19 Error messages output when specifying an invalid value in the value element (javax.xml.ws.BindingType)
| No. | Value of the value element | Error message ID | |
|---|---|---|---|
| When you execute the apt command | When you execute the cjwsgen command | ||
| 1 | javax.xml.ws.http.HTTPBinding.HTTP_BINDING | KDJW61072-E | KDJW71005-E |
| 2 | An invalid value other than the binding identifier | KDJW61072-E | KDJW71005-E |
The following table describes the mapping from the javax.xml.ws.BindingType annotation to the soap:binding element (child element of the wsdl:binding element of WSDL) or the transport attribute value of the soap12:binding element.
Table 16-20 Mapping the BindingType annotation to the transport attribute value
| No | SOAP version | BindingType annotation value | transport attribute value |
|---|---|---|---|
| 1 | SOAP 1.1 | http://schemas.xmlsoap.org/soap/http or @SOAPBinding.SOAP11HTTP_BINDING |
http://schemas.xmlsoap.org/soap/http |
| 2 | http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true or @SOAPBinding.SOAP11HTTP_MTOM_BINDING |
||
| 3 | SOAP 1.2 | http://www.w3.org/2003/05/soap/bindings/HTTP/ or @SOAPBinding.SOAP12HTTP_BINDING |
The transport attribute value of WSDL differs depending upon the specified value of the -soap12binding option or the com.cosminexus.jaxws.publish_wsdl.soap12binding property. |
| 4 | http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true or @SOAPBinding.SOAP12HTTP_MTOM_BINDING |
Table 16-21 Relationship between specified value of the property and the transport attribute value of WSDL
| No | Property specification | Specified property value | transport attribute value |
|---|---|---|---|
| 1 | Not specified | None | http://www.w3.org/2003/05/soap/bindings/HTTP/ |
| 2 | Specified | DEFAULT | |
| 3 | WSI_BP20_TRANSPORT | http://schemas.xmlsoap.org/soap/http# |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.