uCosminexus Application Server, Web Service Development Guide

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

16.2.4 javax.jws.Oneway annotation

Specify the javax.jws.Oneway annotation when using the one-way operation in Web Services. The method of Web Services Implementation Class for which the javax.jws.Oneway annotation is annotated, has only input messages and no output messages.

The following figure shows an example of mapping by using the javax.jws.Oneway annotation.

Figure 16-13 Example of mapping by using the javax.jws.Oneway annotation

[Figure]

A Web Services Implementation Class method annotated with the javax.jws.Oneway annotation must fulfill the following conditions:

Notes when using the javax.jws.Oneway annotation are as follows: