1

Suppose i have a webservice (http://myWebservice/CodeGenerator/CodeValidator.asmx) as follows

[WebMethod]
public string ValidateCode(string sCode)
{
    // I need to check requested url here. The call comes from different sites.
    // For example www.abc.com/accesscode.aspx. I need to get this url. 
}
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
user455423
  • 119
  • 1
  • 2
  • 6
  • If you post code or XML, **please** highlight those lines in the text editor and click on the "code" button (101 010) on the editor toolbar to nicely format and syntax highlight it! – marc_s Nov 24 '10 at 11:04
  • Tom, This is not the solution.I need to get CLIENT URL which is called the webservice method. – user455423 Nov 24 '10 at 11:17

0 Answers0