I created the following request on javascript:
this.XmlHttp.setRequestHeader("AgentGUID", AgentGUID);
How can I consume it throw C# web service?
the request gets to the following WebService:
[WebService(Namespace = "http://mysite.com/WebServices/Agent", Description = "Some description")]
public class AgentService : WebService
{
[WebMethod(Description = "SomeDesc.", MessageName = "LoginRSA")]
public LoginResult LoginRSA(string loginId, string password, string tenant)
{
// Here I want to consume request header
}
}
Think you have to look at the following property.