How to Configure the XML Web Service Client to Use MessageVersion.Soap11WSAddressing10 for Header Namespace I Currently It's MessageVersion None uses the name space, able to change it without me.
You need to do this a custom WCF binding:
& Lt; System.serviceModel & gt; & Lt; Binding & gt; & Lt; Custombinding & gt; & Lt; Compulsory name = "SOAP11 EDER 10" & gt; & Lt; TextMessageEncoding messageVersion = "ASP 11 WSAaddressing10" /> & Lt; HttpTransport / & gt; & Lt; / Binding & gt; & Lt; / CustomBinding & gt; & Lt; / Binding & gt;
And then refer to the custom binding (by name) in the closing point of your service:
& Lt; / Services & gt; & Lt; / Services & gt; & Lt; /system.serviceModel>
If you want to use it from the client, you can copy the custom binding configuration of the client's app.config
or web.config Required
and in its context, of course (using add a service reference
in Visual Studio will do this for you).
Comments
Post a Comment