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

Viewed 120841

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

5 Answers

Yes you can usually see what SOAP version is supported based on the WSDL.

Take a look at Demo web service WSDL. It has a reference to the soap12 namespace indicating it supports SOAP 1.2. If that was absent then you'd probably be safe assuming the service only supported SOAP 1.1.

Related