Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can a WSDL indicate the SOAP version (1.1 or 1.2) of the web service?

Is it possible to see if a web service uses SOAP 1.1 or 1.2, based on the information in the WSDL?

like image 722
mjn Avatar asked Apr 10 '09 06:04

mjn


People also ask

How do I find the SOAP version in WSDL?

By checking the namespaces in the message helps you to identify the SOAP version. Below are the specifications. Below is the sample xml message which has the envelope http://schemas.xmlsoap.org/soap/envelope/ which is SOAP 1.1 version.

What is WSDL version?

Web Services Description Language (WSDL) is an XML format for describing network services as a set of endpoints operating on messages containing either document-oriented or procedure-oriented information.

What is SOAP WSDL web service?

What is a WSDL? WSDL, or Web Service Description Language, is an XML based definition language. It's used for describing the functionality of a SOAP based web service. WSDL files are central to testing SOAP-based services. SoapUI uses WSDL files to generate test requests, assertions and mock services.

What are the SOAP versions?

The most common combination is to use SOAP with HTTP and TCP. There are different versions, 1.0, 1.1, and 1.2. Before version 1.2 SOAP stood for Simple Object Access Protocol. Since version 1.2 the protocol is simply called SOAP.


1 Answers

SOAP 1.1 uses namespace http://schemas.xmlsoap.org/wsdl/soap/

SOAP 1.2 uses namespace http://schemas.xmlsoap.org/wsdl/soap12/

The wsdl is able to define operations under soap 1.1 and soap 1.2 at the same time in the same wsdl. Thats useful if you need to evolve your wsdl to support new functionality that requires soap 1.2 (eg. MTOM), in this case you dont need to create a new service but just evolve the original one.

like image 177
jmhostalet Avatar answered Sep 23 '22 15:09

jmhostalet