Ajax Web服务

I am trying to use ajax to call my web services. Already i have deployed my web-service in my virtual machine.

URL:

http://www.lumiin.ch:8080/lumiin-service/lumiin/control/vprospects

Try this URL with Rest client Jar

Method = GET
Key = accept
value = Application/json

**My Code below** 



     $.ajax({
              type: "GET", //GET or POST or PUT or DELETE verb
              url: "http://www.lumiin.ch:8080/lumiin-service/lumiin/control/vprospects", // Location of the service
              data: "", //Data sent to server                           
              contentType: "application/json", // content type sent to server
              dataType: "json", //Expected data format from server
              processdata: true, //True or False
              success: function (data) {//On Successfull service call

              var result = json.name;
                alert("result===" + result);
               $("#dvAjax").html(result);
            },
            error: ServiceFailed// When Service call fails
            });

               return false;
        });

    });

But I am getting no response from the above code. Please help me out in this.

Regd's Karthick

It seems like it has something to do with the JSONP requests that jQuery does. May be it is looking for callback=?

try adding this

$.ajax({
   jsonp :false,
   -- other params here--
});

http://api.jquery.com/jQuery.getJSON/

Have you tried changing this line :

var result = json.name;

to this:

var result = data.name;

and this:

 error: ServiceFailed

to this:

 error: function(){ alert('ServiceFailed');}

Try and see if this solves your issue.