AddressingNone is not supported
- Dominant language
- C#
- Stars
- 1.8k
- Forks
- 320
- PR merge metrics
- No merged PRs in 30d
Description
When I try to make a soap 1.2 service with custom binding below, it comes to an exception "Addressing Version 'AddressingNone (http://schemas.microsoft.com/ws/2005/05/addressing/none)' is not supported. (Parameter 'addressingVersion')".
Will this be supported?
Or how do I make a soap 1.2 http binding service without WS-addressing?
var soap12HttpBinding = new CustomBinding();
var textBindingElement = new TextMessageEncodingBindingElement
{
MessageVersion = MessageVersion.CreateVersion(EnvelopeVersion.Soap12, AddressingVersion.None)
};
soap12HttpBinding.Elements.Add(textBindingElement);
var httpBindingElement = new HttpTransportBindingElement
{
//[Note]:AllowCookies not support
//httpBindingElement.AllowCookies = true;
MaxBufferSize = int.MaxValue,
MaxReceivedMessageSize = int.MaxValue
};
soap12HttpBinding.Elements.Add(httpBindingElement);
Contributor guide
Assessment
This issue has not been assessed yet.