I have deployed my WCF service on test machine of client calling it from same client machine using my client HTML website I get response like this:
But when I deploy same components on production machine of our client response I am getting from WCF service is different like this:
I am working on ajax call for cross domain. I call rest service from my HTML website deployed on other machine. This is the error I can see on firebug because of this different output from WCF service:
This is code of my WCF method. It is simple method I have written only to see what is happening:
[WebGet(ResponseFormat = WebMessageFormat.Json)]
public string PingMe()
{
return "No Domains";
}
What could be the reason behind this?