Hi I have create a web service with .net 4.0 and when my client tries to consume it with a commercial software it gives error that the software (the client is using) does not support SOAP 1.2 and there are SOAP 1.2 bindings in the wsdl file.
I tried rewriting the entire thing with .NET 2.0.... but when I compile it still puts SOAP 1.2 bindings in the wsdl file.
It seems that the binding between the client and server is different, for example, basicHttpBinding message is based on SOAP 1.1, and it mainly be used for ASMX web service, but wsHttpBinding which is based on SOAP 1.2 and ws-Addressing specification and
provides more WS-Trust and WS Secure conversation. If you want to create a SOAP 1.1 web service, you can directly create a ASMX web service, or create a WCF service and set its binding to basicHttpBinding.
Hi Peter..is there a way I can change the version of HTTP protocol tha soap uses from 1.1 to 1.0 ? when i create an asmx service then the soap message shows up the http1.1 version what I want is to be able to change it to version 1.0, as there are issues
using 1.1 in my existing service. Please let me know if this change can be made within the web services and not on the client, because I have multiple systems consuming my service. please help me with this issue..i googled a lot but could not find an answer
amirzargh
0 Points
1 Post
Converting a SOAP 1.2 to SOAP 1.1 with proper WSDL bindings
May 18, 2012 05:44 AM|LINK
Hi I have create a web service with .net 4.0 and when my client tries to consume it with a commercial software it gives error that the software (the client is using) does not support SOAP 1.2 and there are SOAP 1.2 bindings in the wsdl file.
I tried rewriting the entire thing with .NET 2.0.... but when I compile it still puts SOAP 1.2 bindings in the wsdl file.
How can I create a SOAP 1.1 web service?
Peter pi - M...
Star
12871 Points
1786 Posts
Re: Converting a SOAP 1.2 to SOAP 1.1 with proper WSDL bindings
May 21, 2012 02:56 AM|LINK
It seems that the binding between the client and server is different, for example, basicHttpBinding message is based on SOAP 1.1, and it mainly be used for ASMX web service, but wsHttpBinding which is based on SOAP 1.2 and ws-Addressing specification and provides more WS-Trust and WS Secure conversation. If you want to create a SOAP 1.1 web service, you can directly create a ASMX web service, or create a WCF service and set its binding to basicHttpBinding.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
Beta
Member
12 Points
8 Posts
Re: Converting a SOAP 1.2 to SOAP 1.1 with proper WSDL bindings
Jun 22, 2012 08:36 PM|LINK
Hi Peter..is there a way I can change the version of HTTP protocol tha soap uses from 1.1 to 1.0 ? when i create an asmx service then the soap message shows up the http1.1 version what I want is to be able to change it to version 1.0, as there are issues using 1.1 in my existing service. Please let me know if this change can be made within the web services and not on the client, because I have multiple systems consuming my service. please help me with this issue..i googled a lot but could not find an answer
Beta
Member
12 Points
8 Posts
Re: Converting a SOAP 1.2 to SOAP 1.1 with proper WSDL bindings
Jun 25, 2012 02:04 PM|LINK
you need to set it up in the web.config file by adding below. hope this helps
<Configuration> <webServices> <protocols> <remove name="HttpSOAP12"/> <add name="HttpSOAP> </protocols> </webServices> </configuration>