"soap:operation" - SOAPAction Header Line
This section describes 'soap:operation', a SOAP extension element that specifies additional binding information at the operation level. soapAction='uri' is a required attribute for SOAP 1.1 over HTTP.
"soap:operation" is a SOAP extension element used as a sub element of the "wsdl:operation" element
inside the "wsdl:binding" element.
"soap:operation" is used to provide additional binding information at the operation level.
The syntax of "soap:operation" looks like this:
<soap:operation soapAction="uri" style="rpc|document"/>
Notes on the "soap:operation" element:
- soapAction="uri" - Provides the value for the SOAPAction header line.
soapAction="uri" is required for SOAP 1.1 over HTTP binding and not needed for other transportations.
- style="rpc|document" - Provides a message style for this operation.
This is an optional attribute. The default is provided by the "soap:binding" element.
Here is an example of "soap:operation" element:
<wsdl:binding name="helloBinding" type="hy:helloPortType">
In this example,
- soapAction="http://www.herongyang.com/Service/Hello" indicates that
"SOAPAction: http://www.herongyang.com/Service/Hello" header line should be generated for my SOAP HTTP request.
- "document" message style should be used because of the default setting at the binding level.
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
Using WSDL Document in Java Apache Axis2/Java for WSDL
Apache Woden for WSDL Documents in Java
SoapUI - Web Service Testing Tool
PHP SOAP Extension for WSDL
Perl SOAP::Lite for WSDL
Introduction to WSDL 1.1
WSDL 1.1 Document Structure and Syntax
►WSDL 1.1 Binding Extension for SOAP 1.1
What Is WSDL 1.1 SOAP Extension?
"soap:binding" - Binding Message Style and Transportation
►"soap:operation" - SOAPAction Header Line
"soap:body" - Binding for SOAP Body
"soap:fault" - Binding for SOAP Fault Details
"soap:header" - Binding for SOAP Header
"soap:address" - Location of Service
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
Perl SOAP::Lite 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
WSDL 1.1 and SOAP 1.2 Examples - Document and RPC Styles
SOAP 1.2 Binding - PHP, Java and Perl Clients
WSDL Related Terminologies
Full Version in PDF/EPUB