Delphi only supports SOAP 1.1, and includes a WSDL importer. Is there a 'litmus test' to see if a web service uses SOAP 1.1 or 1.2, based on the information in the WSDL?
+1
A:
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.
sipwiz
2009-04-10 06:08:49
The soap12 namespace reference is a good indicator. But if it is missing, it still can be a SOAP 1.2 web service - the example WSDL at http://en.wikipedia.org/wiki/Web_Services_Description_Language als does not have this reference, but maybe it contains something else which is typical for SOAP 1.2?
mjustin
2009-04-10 06:41:08
+3
A:
I have found this information in http://stackoverflow.com/questions/403980/i-am-confused-about-soap-namespaces :
SOAP 1.2 uses "http://www.w3.org/2003/05/soap-envelope" for the namespace and SOAP 1.1 uses "http://schemas.xmlsoap.org/soap/envelope/"
mjustin
2009-04-10 13:03:07