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

前端 未结 5 749
醉话见心
醉话见心 2020-11-30 23:36

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

5条回答
  •  盖世英雄少女心
    2020-12-01 00:33

    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.

提交回复
热议问题