Not sure if it'll help but just from a quick glance you seem to be missing the ending "});" part.
With "});" added: $.ajax({ type: "POST", url: "http://localhost:8080/.../getIt? userId=1&output=json", data: "{}", contentType: "application/json; charset=utf-8", dataType: "json", success: function(msg) { //... } }); On Oct 16, 4:28 am, Schorschi <[EMAIL PROTECTED]> wrote: > 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) { //... > > }