uCosminexus Application Server, Web Service Development Guide
This subsection describes the support range of the soap:header element.
- You can code the soap:header element as the child element of the wsdl:input and wsdl:output elements that are the grandchild elements of the wsdl:binding element. You can also omit the soap:header element.
- You cannot code child elements. If 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 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. However, if you specify the namespace attribute, a warning message is output to the standard error output and the log, and the processing of the cjwsimport command continues (KDJW51009-W).
- message attribute
- part attribute
- use attribute
- For details on the notes on specifying the soap:header element, see 20.2(2) Coding the SOAP body and SOAP header and the referenced wsdl:part element.
- Organization of this subsection
- (1) message attribute (soap:header element)
- (2) part attribute (soap:header element)
- (3) use attribute (soap:header element)
This point describes the support range of the message attribute included in the soap:header element.
- You can code only one message 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:message declared beneath the referable wsdl:definitions element.
- For details on the notes on specifying the message attribute, see 20.2(2) Coding the SOAP body and SOAP header and the referenced wsdl:part element.
This point describes the support range of the part attribute included in the soap:header element.
- You can code only one part 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.
- Specify the wsdl:part element declared beneath the wsdl:message element specified in the message attribute.
- For details on the notes on specifying the part attribute, see 20.2(2) Coding the SOAP body and SOAP header and the referenced wsdl:part element.
This point describes the support range of the use attribute included in the soap:header element.
- You can code only one use attribute. 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.
- You code literal as the value. If a value other than literal is coded, 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.