I have got a web service programmed in c# / asp.net.
[WebService(Namespace = \"http://example.com/\")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProf
If you were using MVC you'd do the following:
return new HttpStatusCodeResult(HttpStatusCode.Forbidden);