uCosminexus Application Server, Web Service Development Guide
With the javax.xml.ws.Action annotation, you can specify a value of the wsa:Action element of the addressing header that is used by the Web Service, in each of the input, output, and fault messages of an operation.
You can specify the javax.xml.ws.Action annotation only in SEI. If you specify this annotation in a Service Implementation Class, a warning message will output to the standard error output and logs, and the processing will continue (KDJW61095-W).
The following figure shows an example of customization using the javax.xml.ws.Action annotation:
Figure 16-22 Example of customization using the javax.xml.ws.Action annotation
In the fault element, you specify the value of the wsa:Action element (javax.xml.ws.FaultAction annotation) of the addressing header that is used by the Web Service, when sending a fault message. If you specify null or {null}, the operation is not guaranteed.
The fault element is referenced only when starting the Web Services. This is not interpreted when executing the apt command or the cjwsgen command.
In the input element, you specify the value of the wsa:Action element of the addressing header that is used by the Web Services, when receiving a request message. In the input element, specify the characters that satisfy xsd:anyURI stipulated in RFC 2396. If you specify any other character, the operation is not guaranteed.
If you specify a blank space in the input element, the blank space will become the value of the wsa:Action element of the addressing header. If you specify a blank character, the specification is ignored, and it is assumed that you have not coded the input element.
The input element is referenced only when starting the Web Services. This is not interpreted when executing the apt command or the cjwsgen command.
In the output element, you specify a value of the wsa:Action element of the addressing header that is used by the Web Service when sending a response message. In the output element, specify the characters that satisfy xsd:anyURI stipulated in RFC 2396. If you specify any other character, the operation is not guaranteed.
If you specify a blank space in the output element, the blank space will become the value of the wsa:Action element of the addressing header. If you specify a blank character, the specification is ignored, and it is assumed that you have not coded the output element.
The output element is referenced only when starting the Web Services. This is not interpreted when you execute the apt command or the cjwsgen command.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.