I think I got it, I had @RemoteServiceRelativePath("userinfo") missing
in my service declaration inside application A and GWT 1.6 requires
that.

http://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html

Thanks for the help.

On May 11, 2:44 pm, sim123 <[email protected]> wrote:
> Its broke again!!, I apologize for posting same thing again, but
> somehow its not working. Here is the configuration details :
>
> Project A : gwt 1.5 application has couple of RPC defined
> Project B : gwt 1.6 application, has inherited A, included project in
> eclipse, here is B.gwt.xml
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.6.4//
> EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.6.4/distro-
> source/core/src/gwt-module.dtd">
> <module rename-to='loadtest'>
>   <!-- Inherit the core Web Toolkit stuff.                        -->
>   <inherits name='com.user.sim.A'/>
>   <inherits name='com.google.gwt.user.theme.standard.Standard' />
>   <entry-point class='com.user.sim.test.client.B'/>
> </module>
>
> A has UserService and DataService defined into its module.xml. I
> included A's source via add class folder in eclipse.
>
> B's Web.xml has servlet mapping as described above
>
> <servlet>
>                 <servlet-name>UserService</servlet-name>
>                 
> <servlet-class>com.user.sim.server.UserServiceImpl</servlet-class>
>         </servlet>
>         <servlet-mapping>
>                 <servlet-name>UserService</servlet-name>
>                 <url-pattern>/B/userinfo/*</url-pattern>
>         </servlet-mapping>
>         <servlet-mapping>
>                 <servlet-name>UserService</servlet-name>
>                 <url-pattern>/A/userinfo/*</url-pattern>
>         </servlet-mapping>
>         <servlet-mapping>
>                 <servlet-name>UserService</servlet-name>
>                 <url-pattern>/com.user.sim.A/servlet/userinfo/*</url-pattern>
>         </servlet-mapping>
>
> its exactly as described earlier, I don't know what is missing here. I
> tried all option like putting <servlet> in B.gwt.xml etc but when I
> call make an async call to RPC I get following error
>
> ERROR] Unable to load module entry point class com.user.sim.B.client.B
> (see associated exception for details)
> com.google.gwt.user.client.rpc.ServiceDefTarget
> $NoServiceEntryPointSpecifiedException: Service implementation URL not
> specified
>         at
> com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.doPrepareRequestBuil 
> derImpl
> (RemoteServiceProxy.java:293)
>         at com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.doInvoke
> (RemoteServiceProxy.java:232)
>
> Could Magius or some one else please please help me with this issue. I
> apologize for inconvinence again.
>
> Thanks a lot for the help and support.
>
> On May 9, 4:50 am, Salvador Diaz <[email protected]> wrote:
>
> > > any idea why I am
> > > getting this warning and what can be done to remove the same.
>
> > Normally there's a link to a more detailed description of that warning
> > in the hosted mode console. Here's the detailed 
> > message:http://code.google.com/p/google-web-toolkit/source/browse/trunk/distr...
>
> > Hope that helps,
>
> > Salvador
>
> > On May 8, 8:10 pm, sim123 <[email protected]> wrote:
>
> > > That works. Thanks for your help. I have other compilation warning
> > > like
>
> > > [WARN] Server class 'com.test.UserServiceImpl' could not be found in
> > > the web app, but was found on the system classpath
> > > [WARN] Adding classpath entry 'file:/Users/test/workspace/A/bin/' to
> > > the web app classpath for this session
>
> > > any idea why I am
> > > getting this warning and what can be done to remove the same.
>
> > > Thanks for the help.
>
> > > On May 7, 6:11 pm, sim123 <[email protected]> wrote:
>
> > > > in web.xml patterns are relative, I have given the path in web.xml,
> > > > but my application appends /B/userinfo here is my web.xml
> > > > configuration
>
> > > > <servlet>
> > > >         <servlet-name>UserService</servlet-name>
> > > >         <servlet-class>
> > > >                 com.test.UserServiceImpl
> > > >         </servlet-class>
> > > > </servlet>
> > > > <servlet-mapping>
> > > >         <servlet-name>UserService</servlet-name>
> > > >         <url-pattern>/A/userinfo/*</url-pattern>
> > > > </servlet-mapping>
>
> > > > if I don't add it in my module.gwt.xml I get following exception
> > > > [ERROR] Uncaught exception escaped
> > > > com.google.gwt.user.client.rpc.ServiceDefTarget
> > > > $NoServiceEntryPointSpecifiedException: Service implementation URL not
> > > > specified
> > > >         at
> > > > com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.doPrepareRequestBuil
> > > >  derImpl
> > > > (RemoteServiceProxy.java:293)
>
> > > > if I define it in module.gwt.xml
>
> > > > <servlet path="/userinfo" class="com.test.UserServiceImpl" />
>
> > > > I tried all possible combination of appending context root like
> > > > in module.xml
> > > > <servlet path="/A/userinfo" class="com.test.UserServiceImpl" />
>
> > > > and in web.xml
> > > > <servlet-mapping>
> > > >         <servlet-name>UserService</servlet-name>
> > > >         <url-pattern>/A/userinfo/*</url-pattern>
> > > > </servlet-mapping>
>
> > > > same is for B, and for /B/A/ noting works.
>
> > > > please help.
>
> > > > On May 7, 11:40 am, Vitali Lovich <[email protected]> wrote:
>
> > > > > In the web.xml for B, provide the proper paths for the RPC services.  
> > > > > I
> > > > > think that'll work.
>
> > > > > On Thu, May 7, 2009 at 2:13 PM, sim123 <[email protected]> wrote:
>
> > > > > > Can some one please help me with this issue and guide me to right
> > > > > > directions??
>
> > > > > > Thanks a lot for your help.
>
> > > > > > On May 6, 5:04 pm, sim123 <[email protected]> wrote:
> > > > > > > I have created two GWT projects A and B where A is an independent 
> > > > > > > and
> > > > > > > main application and B is more like test application for A, so I
> > > > > > > inherit A as a module in B. I have a couple of RPC Service 
> > > > > > > defined in
> > > > > > > A which I want to call from B to get the same data and use it in a
> > > > > > > different way. But when I try to make async call I get an 
> > > > > > > exception
> > > > > > > saying
>
> > > > > > > [ERROR] Uncaught exception escaped
> > > > > > > com.google.gwt.user.client.rpc.ServiceDefTarget
> > > > > > > $NoServiceEntryPointSpecifiedException: Service implementation 
> > > > > > > URL not
> > > > > > > specified
> > > > > > >         at
>
> > > > > > com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.doPrepareRequestBuil
> > > > > > derImpl
> > > > > > > (RemoteServiceProxy.java:293)
>
> > > > > > > I think it could be because of context root of my application has
> > > > > > > changed from A to B.  B is more like test but I want to do it in a
> > > > > > > real browser and I want to test A using B but not via Junit. 
> > > > > > > Sorry for
> > > > > > > the confusion here but what should I do to make it working?
>
> > > > > > > Thanks for all the help and support.
--~--~---------~--~----~------------~-------~--~----~
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