WCF Service SOAP 1.2

Hello,

I have this WCF service that works fine using soap1. I'm trying to change it to run in soap1.2 but I have not been able.

I have try changin diferents things in the webconfig.

First I change the basicHttpBinding for wsHttpBinding.  I also change the protocol , remove the soap1.1 and add the soap 1.2

How I can made that my WCF web service run in soap1.2?
Jose CollazoAsked:
Who is Participating?
 
MurpheyApplication ConsultantCommented:
Normally, 1.2 is installed in addition to the current version, removing 1.1 will cause problems by clients that use that protocol.
0
 
Jose CollazoAuthor Commented:
Hello,

I find a solution creating a custom binding and setting the textMessageEncoding messageVersion to Soap12.


<binding name="customBinding">
          <textMessageEncoding messageVersion ="Soap12">
        </textMessageEncoding>
</binding>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.