WSDL Tutorials - Herong's Tutorial Examples - v2.22, by Herong Yang
"soap12:header" - Binding for SOAP Header
This section describes 'soap12:header', a SOAP extension element that specifies how the SOAP Header should be constructed in a SOAP message. 'literal' means no encoding.
"soap12:header" is a SOAP extension element used as a sub element of the "wsdl:input" or "wsdl:output" element inside the "wsdl:binding" and "wsdl:operation" element structure. "soap12:header" is used to provide information on how the content of the SOAP Header element is constructed. The syntax of "soap12:header" looks like this:
<wsdl:definitions ...> <wsdl:binding ...> <wsdl:operation ...> <wsdl:input> <soap12:header message="qname" part="nmtoken" use="literal|encoded" encodingStyle="uri-list" namespace="uri"> <soap12:headerfault message="qname2" part="nmtoken2" use="literal|encoded" encodingStyle="uri-list" namespace="uri"/> </soap12:header> </wsdl:input> <wsdl:output> <soap12:header message="qname" part="nmtoken" use="literal|encoded" encodingStyle="uri-list" namespace="uri"> <soap12:headerfault message="qname2" part="nmtoken2" use="literal|encoded" encodingStyle="uri-list" namespace="uri"/> </soap12:header> </wsdl:output> </wsdl:operation> </wsdl:binding> </wsdl:definitions>
Notes on the "soap12:header" element:
An example of "soap12:header" element will be added later.
Table of Contents
WSDL 2.0 Document Structure and Syntax
WSDL Version 2.0 Part 2: Adjuncts
WSDL 2.0 Document Examples with SOAP Binding
Using WSDL Document in Java Apache Axis2/Java for WSDL
Apache Woden for WSDL Documents in Java
SoapUI - Web Service Testing Tool
WSDL 1.1 Document Structure and Syntax
WSDL 1.1 Binding Extension for SOAP 1.1
SoapUI as WSDL 1.1 Testing Tool
WSDL 1.1 and SOAP 1.1 Examples - Document and RPC Styles
PHP SOAP Extension for WSDL 1.1
Apache Axis2/Java for WSDL 1.1
Using WSDL2Java to Generate Web Service Stub Classes
►WSDL 1.1 Binding Extension for SOAP 1.2
What Is WSDL 1.1 SOAP Extension
"soap12:binding" - Binding Message Style and Transportation
"soap12:operation" - SOAPAction Header Line
"soap12:body" - Binding for SOAP Body
"soap12:fault" - Binding for SOAP Fault Details
►"soap12:header" - Binding for SOAP Header
"soap12:address" - Location of Service
WSDL 1.1 and SOAP 1.2 Examples - Document and RPC Styles