How to configure XML web services client to use MessageVersion.Soap11WSAddressing10 for header namespaces. Currently it uses MessageVersion.None namespace, without me able to change it.
How to configure XML web services client to use MessageVersion.Soap11WSAddressing10 for header namespaces. Currently
Share
You need to do this using a custom WCF binding:
and then reference that custom binding (by name) in your service endpoint:
If you want to use this from a client, you also need to copy the custom binding configuration to the client’s
app.configorweb.configand reference it there, of course (usingAdd Service Referencein Visual Studio will do this for you).