Calling Webservice from Javascript RRS feed

  • Question

  • Hi, I am calling an ASP.net webs ervice from javascript. If I use it on my web page this works perfectly. But when I copy this to my CRM page on change event, I get the error, 'Access Denied'. I tried copying my solution that contains the webservice to the server running CRM and gave the server name in the domain, still it doesn't work. Following is my code in the onchange event. Any help, please. Thanks

    var xmlHttp=new XMLHttpRequest();
      var url="http://localhost:XXX/ParentDetails.asmx/returnDetails";
      xmlHttp.open("GET", url, false);  


    Thursday, June 4, 2009 7:10 PM


All replies