uCosminexus Application Server, Web Service Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
This subsection describes the support range of the wsdl:definitions element.
- You can code only one wsdl:definitions element as the root element of the WSDL file. This element cannot be omitted. If this element is omitted or if 2 or more elements are coded, a Cosminexus XML Processor error occurs.
- You can specify the following elements as the child element. If you specify elements other than the following WSDL elements, an error message (KDJW51029-E) is output to the standard error output and the log, and the processing of the cjwsimport command ends. From among the extension elements that are not ignored by the cjwsimport command, if you specify extension elements other than the following elements, an error message (KDJW51053-E) is output to the standard error output and the log, and the processing of the cjwsimport command ends:
- wsdl:documentation element
- jaxws:bindings element (binding declaration in the JAX-WS 2.2 specifications)
- wsdl:import element
- wsdl:types element
- wsdl:message element
- wsdl:portType element
- wsdl:binding element
- wsdl:service element
- The wsdl:documentation element and jaxws:bindings element must be specified in the above order. However, the other elements do not have a specified order.
If the specification order of the wsdl:documentation element and jaxws:bindings element is incorrect, an error message (KDJW51029-E) is output to the standard error output and the log, and the processing of the cjwsimport command ends.
- You can specify the following attributes. If you specify attributes other than those listed below, an error message (KDJW51029-E) is output to the standard error output and the log, and the processing of the cjwsimport command ends:
- name attribute
- targetNamespace attribute
- Organization of this subsection
- (1) name attribute (wsdl:definitions element)
- (2) targetNamespace attribute (wsdl:definitions element)
This point describes the support range of the name attribute included in the wsdl:definitions element.
This point describes the support range of the targetNamespace attribute included in the wsdl:definitions element.
- You can code only one targetNamespace attribute. This attribute cannot be omitted. If omitted, an error message (KDJW51029-E) is output to the standard error output and the log, and the processing of the cjwsimport command ends. If 2 or more attributes are coded, a Cosminexus XML Processor error occurs.
- For details on the values that can be specified, see 15.1.1(2) Conditions for the namespace.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.