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:port element.
- You can code 1 to 255 wsdl:port elements as the child elements of the wsdl:service 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 (KDJW51135-E) is output to the standard error output and the log, and the processing of the cjwsimport command ends.
- wsdl:documentation element
- soap:address element (extension element for SOAP binding in the SOAP 1.1 specifications)#
- soap12:address 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:UsingAddressing element (extension element in the WS-Addressing 1.0 specifications)
- #
- Select and specify either the soap:address element or the soap12:address element. You cannot specify both the elements.
- Specify the child elements of the wsdl:port 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:address element or soap12:address element
- jaxws:bindings element
- wsaw:UsingAddressing element
- You can specify the following attributes. If attributes other than those listed below are specified, 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
- binding attribute
- Organization of this subsection
- (1) name attribute (wsdl:port element)
- (2) binding attribute (wsdl:port element)
This point describes the support range of the name attribute included in the wsdl:port 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.9(2) Conditions for the service name and port name. However, you cannot specify the same value as the name attribute of the other wsdl:port elements existing beneath the same wsdl:service 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.
This point describes the support range of the binding attribute included in the wsdl:port element.
- You can code only one binding 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.
- Use QName to specify wsdl:binding declared beneath the referable wsdl:definitions element.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.