problem in calling restfulwebservice with jqery and ajax over cross domain

problem in calling restfulwebservice with jqery and ajax over cross domain

Hi,

I have implemented restfulWebservice and deployed in jboss server in abc domain(http://abc.com:8180/restfulweb). when I am using jquery and ajax to access the restful service from different application(which is .net app) and different domain(http://xyz.com:1123/care/hello.html), I am not able to see the result on the page.

It is working perfectly in local domain but not in the cross domain.


Find the below code is used to call the restful webservice.

    $.ajax({
          type    :    'GET',
          url        :     'http://XDVT0311.abc.com:8180/restfulWeb/service/Fund.html',
  
            data    : ({
                FundName    :    FundName,
                Capitalization:    capitalFund       
                    
                           }),
                 
          success    :      function(data){
                             
                             $('#writeroot').html(data);
                                 

                    }
    });
       
   
    }


Please prvodie more info, when it's come to cross domain.




Thanks,
Kumar.