Yes it is prepended with GWT.getModuleBaseURL();
Anyone know why when generating a client proxy that it needs to write
generated resources to gwt.rpc file???
here is the calling sequence when it failed...
[DEBUG] Rebinding com.bglobal.globalshare.gshdcr.client.ToppingService
[DEBUG] Invoking <generate-with
class='com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator'/
>
[DEBUG] Generating client proxy for remote service interface
'com.xxx.xxx.xxx.client.ToppingService'
[TRACE] Writing generated resource 'D:\
jboss-4.0.4.ga\server\default
\deploy\dcrtool.war\com.xxx.xxx.xxx.DcrTool
\1D6131AFCB48A89F3ED5E07ECE755277.gwt.rpc'
\dcrtool.war\com.xxx.xxx.xxx.DcrTool
\1D6131AFCB48A89F3ED5E07ECE755277.gwt.rpc'
Java code
------------------
ToppingServiceAsync toppingService = (ToppingServiceAsync)
GWT.create(ToppingService.class);
ServiceDefTarget target = (ServiceDefTarget) toppingService;
String relativeUrl = GWT.getModuleBaseURL() + "toppings";
target.setServiceEntryPoint(relativeUrl);
toppingService.getMyObj(new ToppingCallback(label));
gwt.xml
--------------
<servlet path="/toppings"
class="com.xxx.xxx.xxx.server.ToppingServiceImpl"/>
web.xml
-------------
<web-app>
<servlet>
<servlet-name>test/servlet-name>
<servlet-class>com.xxxx.xxxx.xxxx.server.ToppingServiceImpl</servlet-
class>
</servlet>
<servlet-mapping>
<servlet-name>test</servlet-name>
<url-pattern>/toppings</url-pattern>
</servlet-mapping>
</web-app>