HttpContext.Current.Request.ServerVariables["SERVER\_PORT"]
HttpContext.Current.Request.ServerVariables["SERVER\_PORT\_SECURE"]
HttpContext.Current.Request.ServerVariables["SERVER\_NAME"]
HttpContext.Current.Request.ApplicationPath

I want to access these value via a webservice -C#, whenever I call these values in webservice I get null for all of the above, where as above works for web pages (aspx).