Hello all:
Another beginning-type question, but I cannot find the answer in the
docs:
I have constructed an asynchronous service to run on my server, with
the yyService, and its matching yyServiceAsync and yyServiceImpl
functions, but the issuing callback always goes to the onError()
method. In fact, it seems like the yyServiceImpl is never invoked. I
am doing all this from within Eclipse, and the client side runs fine.
In fact the whole application runs fine, but I'm just trying to move
some logic over to the server.
My questions:
1. I assume that System.out.println() issued from the yyServiceImpl
will appear on the same console screen as similar messages issued from
the client code, but I don't know that for sure. I know that sounds
like a dumb question, but since we're mimicking a client and server,
it would seem to me to make sense for server println() messages to
appear elsewhere.
2. Same question if I set a breakpoint in yyServiceImpl, I assume
that the Eclipse debugger will stop when execution hits there. It
will, won't it?
3. I've edited these lines in web.xml:
<servlet>
<servlet-name>yyServiceServlet</servlet-name>
<servlet-class>com.yy.web.server.yyServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>yyServiceServlet</servlet-name>
<url-pattern>/yy/yyService</url-pattern>
</servlet-mapping>
I've confirmed that com.ww.web.server.yyServiceImpl is correct, that
yyService matches the string in the
@RemoteServiceRelativePath("yyService") in yyService.java, and that
the yy matches the string in the yy.gwt.xml "rename-to" attribute of
the <module> element. From the examples, I can't find any hint that
the yyServiceServlet has to match any other string somewhere else in
the code. Is there a fourth (or fifth, sixth, and seventh) item to
check?
4. I'm also open to more general thoughts: Does anyone have some
hard-won advice they'd like to share about debugging these server-side
modules?
Thank you,
Tom
--
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.