uCosminexus Application Server, Web Service Development Guide

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

16.1.9 Mapping the Web Service implementation class to the service and port

This subsection describes the mapping of the Web Service Implementation Class to the WSDL service (name attribute of the wsdl:service element) and port (name attribute of the wsdl:port element).

Organization of this subsection
(1) Mapping
(2) Conditions for the Web Service Implementation Class name

(1) Mapping

The Web Service Implementation Class and the WSDL service and port are mapped in accordance with the JAX-WS 2.2 specifications. The following figure shows an example of mapping:

Figure 16-10 Example of mapping the Web Service Implementation Class to the service and port

[Figure]

The following are the rules for mapping the Web Service Implementation Class to the service and port:

(2) Conditions for the Web Service Implementation Class name

In the Web Service Implementation Class name, you can code a string that fulfills all the conditions described in the following table:

Table 16-9 Conditions for strings that can be coded in the Web Service Implementation Class name

No. Conditions Examples of invalid strings 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_service 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.