Connecting to .Net 3.0/Soap1.2/WS-*/svc/WCF services from legacy .Net 2.0/Soap1.0/Soap1.1/asmx clients

Use BasicHttpBinding:

The BasicHttpBinding uses HTTP as the transport for sending SOAP 1.1 messages. A service can use this binding to expose endpoints that conform to WS-I BP 1.1, such as those that ASMX clients consume. Similarly, a client can use the BasicHttpBinding to communicate with services exposing endpoints that conform to WS-I BP 1.1, such as ASMX Web services or Windows Communication Foundation (WCF) services configured with the BasicHttpBinding.

We came across this one at work while trying to test our brand new WCF services using standard web service test tools that have not been updated to know about Soap1.2. I finally figured it out after I read Kurt’s Post comparing BasicHttpBinding to WSHttpBinding at the packet level.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>