I'm also pretty new to GWT and your scenario never occurred to me.
Generally i think that it's probably not the greatest idea to try and
call the GWT RPC's from a different front end and i've not come across
anything that would give you a wsdl (or something like a wsdl) that
you could use from non GWT java app.  But, i cant think of any reason
why you couldnt make it work.

The RPC calls are just HTTP Post requests which receive a JSON
response.  Introducing JSON into a non web app seems like a red flag
to me but if you really wanted to do it, you should be able to convert
those into java objects.

I *think* that a better solution might be to just rewrite a SOAP based
webservice layer that uses the same code that the GWT services calls.
That's not a great solution either since it introduces duplication but
perhaps a better way to go would be to port the logic to a SOAP based
webservice layer and then call the SOAP service from the GTW RPC
server so that the logic only exists in one place.

Just a thought, ymmv.

On Jul 29, 9:38 am, Steve <[email protected]> wrote:
> Hello All,
>
> I'm new to GWT so please forgive me if there is some obvious answer to
> my problem.  I googled around for this information and came up dry.
>
> Here is my problem.  There is an existing GWT Application that I want
> to leverage in a new application that I am building.  This GWT app
> uses RPC.  I was hoping to find a way to call some of its RPCs from a
> seperate non-GWT Java application.
>
> I am more familiar with using SOAP services, which provides a way to
> generate a client from a service description (WSDL).  Is there
> anything similar for GWT's RPC?  If there isn't, does anyone know if
> it is possible to create the POSTs to the GWT servlet by hand? Are
> there any utilities for this?
>
> Thanks,
>
> Steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to