uCosminexus Application Server, Web Service Development Guide
This subsection describes the mapping of a WSDL namespace (targetNamespace attribute of the wsdl: definitions element) to a package name.
The WSDL namespace and package name are mapped in accordance with the JAX-WS 2.2 specifications. For details, see the JAX-WS 2.2 specifications.
The following figure shows an example of mapping:
Figure 15-1 Example of mapping the namespace to the package name
This point describes the conditions for the namespace coded in WSDL.
Table 15-2 Conditions for strings that can be coded in the namespace
| No. | Conditions | Examples of invalid strings | Operations when invalid strings are specified |
|---|---|---|---|
| 1 | Strings using only one-byte alphanumeric characters (0 to 9, A to Z, a to z) | http://Hitachi.com | The operation might not function properly (error message is not displayed). |
| 2 | Strings other than Java reserved words | http://hitachi.com/abstract | When mapping to the Java package name, an underscore (_) is added at the beginning of the Java reserved word. Example: com.hitachi._abstract |
| 3 | Strings that do not begin with numeric characters | http://1hitachi.com | When mapping to the Java package name, an underscore (_) is added at the beginning of the string that begins with a numeric character. Example: com._1hitachi |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.