[jQuery] How to call axis2 ws with jQuery, json or REST

[jQuery] How to call axis2 ws with jQuery, json or REST


I've tried to call json and also RESTful web services deployed with
Apache Axis like see below but never getting any defined response
back... Any help?
$.ajax({
            type: "POST",
            url: "http://localhost:8080/.../getIt?userId=1&output=json",
            data: "{}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function(msg) { //...
            }