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:portType element.
- You can code 1 to 255 wsdl:portType elements as the child element of the wsdl:portType element. This element cannot be omitted #. For details on the cases where the element is omitted or if 256 or more elements are coded, see 15.1.2(3) Number of port types coded.
- #
- When you use the WSDL import functionality, one wsdl:portType element is enough for all the WSDLs with an import relationship. So the element can be omitted in this case. Also, the total for all the WSDLs with an import relationship forms the upper limit.
- 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 (KDJW51074-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:operation element
- The wsdl:documentation element, jaxws:bindings element, and wsdl:operation element must be specified in the above order. If the specification order 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 name attribute. You cannot specify attributes other than the name attribute. If you specify attributes other than the name attribute, an error message (KDJW51029-E) is output to the standard error output and the log, and the processing of the cjwsimport command ends.
- Organization of this subsection
- (1) name attribute (portType element)
This point describes the support range of the name attribute included in the wsdl:portType element.
- You can code only one name 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.2(2) Conditions for the port type name. However, you cannot specify the same value as the name attribute of the other wsdl:portType elements existing beneath the same wsdl:definitions element. If the same value is specified, an error message (KDJW51029-E) is output to the standard error output and the log, and the processing of the cjwsimport command ends.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.