uCosminexus Application Server, Web Service Development Guide

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

16.2.3 javax.jws.HandlerChain annotation

The javax.jws.HandlerChain annotation is enabled when defined in the class or interface declaration.

If the javax.jws.HandlerChain annotation is specified at the same time as the SEI and Web Service Implementation Class, the annotation specified in the Web Service Implementation Class gets priority. At this time, a warning message is output to the standard output and log and the processing continues (KDJW61076-W).

Organization of this subsection
(1) file element (javax.jws.HandlerChain)

(1) file element (javax.jws.HandlerChain)

You specify the handler chain setup file in the file element. Use the relative path from the class annotated with the javax.jws.HandlerChain annotation or the interface to specify the file. In the Cosminexus JAX-WS functionality, the specification in the URL format is not supported.

If you specify a path that cannot be referenced and opened, an error message is output to the standard error output and logs during Web Service initialization (KDJW00010-E).

Note that the file element is a value referred when the Web Service is invoked, so the element is not interpreted when the apt command or the cjwsgen command is executed. For details about the examples of using the file elements, see 36.9.1 Setting the handler chain in Web Services.