"soap12:binding" - Binding Message Style and Transportation
This section describes 'soap12:binding', a SOAP extension element that specifies the binding message protocol and the transportation protocol, SOAP 1.2 over HTTP, for example.
"soap12:binding" is a SOAP extension element used as a sub element of the "wsdl:binding" top element.
"soap12:binding" is used to specify that this binding is bound to the SOAP 1.2 message protocol and
a given transportation protocol.
The syntax of "soap12:binding" looks like this:
<soap12:binding transport="uri" style="rpc|document"/>
Notes on the "soap12:binding" element:
- transport="uri" - Provides a namespace representing a SOAP transportation protocol. For example,
transport="http://schemas.xmlsoap.org/soap/http" represents SOAP over HTTP. This is a required attribute.
- style="rpc|document" - Provides a default message style for each contained operation.
This is an optional attribute. The default is style="document".
Here is an example of "soap12:binding" element:
<wsdl:binding name="helloBinding" type="hy:helloPortType">
In this example,
- style="document" indicates that "document" message style should be used as the default style
for all operations.
- transport="http://schemas.xmlsoap.org/soap/http" indicates that SOAP over HTTP
should be used for all operations.
Last update: 2007.
Table of Contents
About This Book
Introduction to WSDL 2.0
WSDL 2.0 Document Structure and Syntax
WSDL Version 2.0 Part 2: Adjuncts
WSDL 2.0 Document Examples with SOAP Binding
WSDL 20 Programming APIs and Testing Tools
Introduction to WSDL 1.1
WSDL 1.1 Document Structure and Syntax
WSDL 1.1 Binding Extension for SOAP 1.1
soapUI 3.0.1 - Web Service Testing Tool
WSDL 1.1 and SOAP 1.1 Examples - Document and RPC Styles
PHP SOAP Extension in PHP 5.3.1
Using WSDL in Perl with SOAP::Lite 0.710
Using WSDL Document in Java with Axis2 1.4.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
SOAP 1.2 Binding - PHP, Java and Perl Clients
WSDL Related Terminologies
PDF Printing Version