Hi All,
I have added a SoapHeader in my websevice, which is exposed as a variable
from my webservice. Whenver I access the header form my client I see the
name of variable being changed to <VaribaleName>Value.
public class MyClass: System.Web.Services.WebService
{
public Header RequestHeader;
[WebMethod]
[SoapHeader("RequestHeader")]
public String Method1(ref String Data)
{
}
In the Client we access as follows
Header header = new Header();
MyClass m = new MyClass();
m.HeaderValue = header;
Why it suffixed the it with value or is this the right way to access it.
--
Regards,
Debasish Pramanik
Assetlink India.
Phone: +91 20 26119531 (226)