uCosminexus Application Server, Web Service Development Guide
This subsection describes the mapping of the Java SEI name to the WSDL port type name (name attribute of the wsdl:portType element).
The Java SEI name and the WSDL port type are mapped in accordance with the JAX-WS 2. 2 specifications.
If the endpointInterface element is not used in the javax.jws.WebService annotation of the service implementation class, implicit SEI with the same name as the Web Service Implementation Class name is assumed to be exist and is mapped to the WSDL port type. The following figure shows an example of mapping:
Figure 16-2 Example of mapping SEI name to the port type
The following are the conditions for the Web Service Implementation Class:
In the SEI name, you can code strings that fulfill all the conditions described in the following table. However, when using the name element of the javax.jws.WebService annotation, you can code strings complying with the naming rules of the Java identifiers provided in the Java language specifications.
Table 16-3 Conditions for strings that can be coded in the SEI name
| No. | Condition | Example of invalid string | Operation when an invalid string is specified |
|---|---|---|---|
| 1 | Strings using only one-byte alphanumeric characters (0 to 9, A to Z, a to z) and underscore (_) | Hitachi_sei | The operations might not function properly (error message is not displayed). |
| 2 | Strings complying with the naming rules of the Java identifiers provided in the Java language specifications | abstract | When the apt command is executed, a compilation error occurs and the processing ends. For details, see the JDK documentation. |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.