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:operation element.
- You can code 1 to 255 wsdl:operation elements as the child elements of the wsdl:binding element. This element cannot be omitted. If omitted or if 256 or more elements are coded, 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 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 (KDJW51108-E) is output to the standard error output and the log, and the processing of the cjwsimport command ends:
- wsdl:documentation element
- soap:operation element (extension element for SOAP binding in the SOAP 1.1 specifications)#
- soap12:operation element (extension element for SOAP binding in the SOAP 1.2 specifications)#
- jaxws:bindings element (binding declaration in the JAX-WS 2.2 specifications)
- wsaw:Anonymous element (extension element in the WS-Addressing 1.0 specifications)
- wsdl:input element
- wsdl:output element
- wsdl:fault element
- #
- Select and specify either the soap:operation element or the soap12:operation element. You cannot specify both the elements.
- Specify the child elements of the wsdl:operation element (for the child element of the wsdl:binding element) 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. However, you might switch the order of the following elements:
- soap:operation element or soap12:operation element
- jaxws:bindings element
- wsaw:Anonymous element
- 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.
- Define the wsdl:operation element of the wsdl:binding element so that it corresponds to the wsdl:operation element defined in the wsdl:portType element. If the element is not defined in this manner, an error message (KDJW51112-E) is output to the standard error output and the log, and the processing of the cjwsimport command ends.
- When you specify the wsdl:output element as a child element, define the wsdl:output element so that it corresponds to the wsdl:output element defined in the wsdl:operation element of the wsdl:portType element.
- If you code one wsdl:output element in the wsdl:operation element of the wsdl:portType element and omit the wsdl:output element from the wsdl:operation element of the wsdl:binding element, an error message is output in the standard error output and log and then the processing of the cjwsimport command ends (KDJW51222-E).
- When you omit the wsdl:output element from the wsdl:operation element of the wsdl:portType element and code one wsdl:output element in the wsdl:operation element of the wsdl:binding element, the wsdl:output element is ignored and, the processing of the cjwsimport command continues.
- Organization of this subsection
- (1) name attribute (wsdl:operation element)
This point describes the support range of the name attribute included in the wsdl:operation 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 20.2(1) Values specifiable in the NCName type.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.