I am new to GWT and looking at ways to access a web service from GWT
client.
Does GWT provide any infrastructure to make web service calls (both
synch & asynch)?
I appreciate any pointers to articles, code samples, etc.
Thanks
You can use the HTTP client package to do it yourself (beware the
'browser origin' rule)
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/http/client/package-summary.html
if the WS is JSON compatible, you can use this fudgy method
http://www.gwtsite.com/how-to-access-web-services-with-gwt/
You can use ws-js
http://www.ibm.com/developerworks/webservices/library/ws-wsajax/
Or you can use gwt-ws
http://evolvis.org/projects/gwt-ws/
I haven't really checked any of these options out, just googlage. I
intend to look at gwt-ws first.
FYI, I am calling document style xml web services ofer http so need to
handle XML on the client, I am using piriti to make this less painfull
http://code.google.com/p/piriti/
Michael
On Feb 3, 8:34 am, Dany <dan...@gmail.com> wrote:
> Hi
>
> I am new to GWT and looking at ways to access awebservicefrom GWT
> client.
> Does GWT provide any infrastructure to makewebservicecalls (both
On 18 feb, 02:49, Michael Dausmann <mdausm...@gmail.com> wrote:
> Hi Dany
>
> You can use the HTTP client package to do it yourself (beware the
> 'browser origin' rule)http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...
>
> if the WS is JSON compatible, you can use this fudgy methodhttp://www.gwtsite.com/how-to-access-web-services-with-gwt/
>
> You can use ws-jshttp://www.ibm.com/developerworks/webservices/library/ws-wsajax/
>
> Or you can use gwt-wshttp://evolvis.org/projects/gwt-ws/
>
> I haven't really checked any of these options out, just googlage. I
> intend to look at gwt-ws first.
>
> FYI, I am calling document style xml web services ofer http so need to
> handle XML on the client, I am using piriti to make this less painfullhttp://code.google.com/p/piriti/
I am trying to develop an application which would read an some data
from a local excel file, but gwt does not allow accessing local files.
So I thought 'd make a web service that would do the reading (of the
excel file) for me and return the values that I need. I have deployed
this webservice in a weblogic server (comes with Jdeveloper).
Would it be possible to give me a snippet of code/link which points to
a snippet of code on how to invoke the service from within a GWT
program?
Thanks!
-Pravin
On Feb 18, 9:23 am, Bonor <bono...@gmail.com> wrote:
> Good stuff, Michael!
> Thanks!
>
> On 18 feb, 02:49, Michael Dausmann <mdausm...@gmail.com> wrote:
>
> > Hi Dany
>
> > You can use the HTTP client package to do it yourself (beware the
> > 'browser origin' rule)http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...
>
> > if the WS is JSON compatible, you can use this fudgy methodhttp://www.gwtsite.com/how-to-access-web-services-with-gwt/
>
> > You can use ws-jshttp://www.ibm.com/developerworks/webservices/library/ws-wsajax/
>
> > Or you can use gwt-wshttp://evolvis.org/projects/gwt-ws/
>
> > I haven't really checked any of these options out, just googlage. I
> > intend to look at gwt-ws first.
>
> > FYI, I am calling document style xmlwebservices ofer http so need to