I am trying to make an ajax GET request to a WCF web service method through javascript. The request returns with a 400 \"Bad Request\" error everytime. But if I invoke the s
I hope your service is running in another domain from where you are consuming it. You have to use JSONP calls in those cases.
Modify the dataType to jsonp.
dataType
jsonp
$.ajax({ //.. dataType: "jsonp", //.. });