What you prefer about saving Webservice files in asp.net website(not websiteapplication). I saved WebService files in App_Code\WS\somewebservice.asmx.cs.
And call method from this class with jquery.ajax
$("#btnMY").click(function() {
$.ajax({
type: "POST",
url: "App_Code/WS/ConstructorWS.asmx/HelloWorld",
data: "{}",
contentType:"application/json; charset=utf-8",
dataType:"jsondata",
success: function(msg) {
}
});
});
But firebug show error 403 Forbidden