uCosminexus Application Server, Web Service Development Guide
Specify the javax.xml.ws.WebServiceProvider annotation in the class that implements the javax.xml.ws.provider interface, and this annotation declares that the class that satisfies the requirements of the provider defines the endpoint of the Web Service.
You can specify only one annotation from the javax.xml.ws.WebServiceProvider and javax.jws.WebService annotations. If you specify the javax.xml.ws.WebServiceProvider and javax.jws.WebService annotations together, an error message will output to the standard error output and logs (KDJW61098-E).
The javax.xml.ws.WebServiceProvider annotation is referenced only when starting the Web Services. This is not interpreted when executing the apt command or the cjwsgen command.
In the targetNamespace element, specify the http:// protocol or the urn: protocol as a name space. You can specify the following formats and character strings for the name space:
Table 16-26 Conditions for character strings that you can code in a name space (javax.xml.ws.WebServiceProvider)
| No. | Condition | Examples of invalid character strings | Operation when an invalid character string is specified |
|---|---|---|---|
| 1 | Character strings using only single-byte alphanumeric characters (0 to 9, A to Z, and a to z) | http://Hitachi.com/ http://133.145.224.19/ http://[1080:2C14;D30:BA04:275:806:270C:418A]/ |
The operation is not guaranteed (no error message is displayed). |
| 2 | Character strings containing anything than reserved terminology of Java | http://hitachi.com/abstract | The operation is not guaranteed. |
| 3 | Character strings that do not begin with a numeric character | http://1hitachi.com |
Specify the serviceName element with single-byte alphanumeric characters and underscores (_). If you specify any other character, the operation is not guaranteed (no error message is displayed).
Specify the portName element with single-byte alphanumeric characters and underscores (_). If you specify any other character, the operation is not guaranteed (no error message is displayed).
For details about the wsdlLocation element, see the section 10.6 Issuing the Meta data.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.