Hi,
I want to have a service used by several modules. I put the implementation
servlet in a root web app, and connected to it, from the client side, by
specifying the endpoint like this...
ServiceDefTarget t = (ServiceDefTarget)service;
t.setServiceEntryPoint("/commonService");
So "/commonService" is url path that maps to the servlet. But when it
connects I get errors on the server side:
ERROR: The serialization policy file
'/forums/discussions/7B344C69AD493C1EC707EC98FE148AA0.gwt.rpc' was not
found;
did you forget to include it in this deployment?
So it appears that on the server side, in the shared web app, it's looking
for an rpc file with a path "forums/discussions" which is specific to the
client module. I can get things to work by copying these files to the
shared web app, but that means I'll have to create copies of the .rpc files
at different paths for every client that uses the shared service.
Is there way way to avoid this by telling the servlet where to find the rpc
files, or ... ?
thanks,
Rob
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/iIzZ0K7XhEgJ.
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.