I am developing project on GWT(Google Web Toolkit) and I need to call web service(JAX-WS). But problem is I don’t know how to call the web services from GWT so I need to know how to access that JAX-WS with in GWT client side ? I’m developing my project on eclips and my service is run on glassfish server.
Please be kind enough to give some basic instructions to solve this problem.
The normal way to call external non-gwt ws is via the RequestBuilder class, although this is not difficult it could be tedious when you need to prepare several calls in your application.
I recommend you to take a look to gwtquery aka gquery which have an Ajax class which allows call to ws in a very easy manner. Take a look to the documentation
This could be an example of a jax-ws serving json responses
And this could be the client call in client side