I am following this tutorial
http://www.codeproject.com/KB/cpp/authforwebservices.aspx
They have this in the tutorial
[SoapHeader("Authentication", Required = true)]
Warning 1 'System.Web.Services.Protocols.SoapHeaderAttribute.Required'is obsolete: ‘This property will be
removed from a future version. The
presence of a particular header in a
SOAP message is no longer enforced’
So I am not sure what the “Required” actually referred to but it seems to not like it anymore. So do I just remove it. I am not sure since I don’t know much about SOAP and I don’t want to simple remove it and find that without it something else could go wrong.
The docs state:
Furthermore:
In other words, unless you’re using .NET 1.0, it’s already not doing anything – so you can safely remove it.