uCosminexus Application Server, Web Service Development Guide
The following WSDL extension elements of the WS-Addressing 1.0 specifications are available with Cosminexus:
This element indicates whether the addressing functionality is enabled using Web Services.
You can code the wsaw:UsingAddressing element as a child element of the wsdl:definitions/wsdl:binding or wsdl:definitions/wsdl:service/wsdl:port element. The addressing functionality is enabled in the Web Service used for coding this element.
Note that you cannot code an attribute belonging to a child element or the name space http://www.w3.org/2006/05/addressing/wsdl in the wsaw:UsingAddressing element. If such an attribute is coded, a standard error is output and an error message is output to logs during the cjwsimport command is executed, and then the processing of the cjwsimport command ends (KDJW51029-E).
This element indicates whether an anonymous URI can be used in response end points (wsa:From/wsa:Address, wsa:ReplyTo/wsa:Address, and wsa:FaultTo/wsa:Address elements) of an addressing header.
You can code the wsaw:Anonymous element as a child element of the wsdl:definitions/wsdl:binding/wsdl:operation element. You can specify the following values:
You can specify only one of the above values in the wsaw:Anonymous element. If another value is specified, a standard error is output and an error message is output to logs when the cjwsimport command is executed, and then the processing of the cjwsimport command ends (KDJW51029-E). Also, you cannot code an attribute belonging to a child element or the namespace http://www.w3.org/2006/05/addressing/wsdl in the wsaw:Anonymous element. If such an attribute is coded, a standard error is output and an error message is output to logs when the cjwsimport command is executed, and then the processing of the cjwsimport command ends (KDJW51029-E).
Note that this element is not coded in the WSDL file issued by the JAX-WS engine of a Web Service machine and the WSDL file generated using the cjwsgen command. Prepare a WSDL file coding this element to control the operations, when an anonymous URI is specified.
The wsam:Adressing element indicates whether the WS-Addressing functionality is enabled in Web Services. With the JAX-WS 2.2 specifications (WS-Addressing 1.0 meta data), you use this element instead of the wsaw:UsingAddressing element. When both the wsam:Adressing and wsaw:UsingAddressing elements are specified simultaneously, you indicate that an addressing header is required in a request message by specifying that the addressing header is required in either of the elements.
You can code the wsam:Adressing element as a child element of the wsdl:definitions/wsdl:binding or wsdl:definitions/wsdl:service/wsdl:port element. When you code the wsam:Adressing element, the settings of this element are given priority.
The wsam:AnonymousResponse element indicates that you must specify an anonymous URI in response end points (wsa:From/wsa:Address, wsa:ReplyTo/wsa:Address, and wsa:FaultTo/wsa:Address elements) for a request message containing an addressing header.
You can code this element as a child element of wsdl:definitions/wsdl:binding/wsam:Addressing/wsp:Policy or wsdl:definitions/wsdl:service/wsdl:port/wsam:Addressing/wsp:Policy.
The wsam:NonAnonymousResponses element indicates that you must specify a non-anonymous URI in response end points (wsa:From/wsa:Address, wsa:ReplyTo/wsa:Address, and wsa:FaultTo/wsa:Address elements) for a request message containing an addressing header.
You can code this element as a child element of wsdl:definitions/wsdl:binding/wsam:Addressing/wsp:Policy or wsdl:definitions/wsdl:service/wsdl:port/wsam:Addressing/wsp:Policy.
This subsection describes the notes for using the following WSDL extension element:
wsaw:Anonymous element
The wsaw:Anonymous element is not indicated in the WSDL file published by the JAX-WS engine of a service machine or the WSDL file generated by the cjwsgen tool. To control the operations when an anonymous URI is specified by using the wsaw:Anonymous element, you must prepare a WSDL file with the coded wsaw:Anonymous element.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.