GWT RPC CALL QUESTION

42 views
Skip to first unread message

xxJohnnyxx

unread,
Nov 23, 2012, 8:45:53 AM11/23/12
to google-we...@googlegroups.com
Hello,

I tried to follow the RPC tutorial, but with my own class and project. So when it comes to the configuration of the xml file I get stuck. At the moment it looks like this:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee                http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">


  <!-- Servlets -->

  

  <!-- Default page to serve -->

  <welcome-file-list>

    <welcome-file>DataTrader.html</welcome-file>

  </welcome-file-list>


  <!--  <servlet>

    <servlet-name>SystemServiceServlet</servlet-name>

    <servlet-class>com.google.api.server.spi.SystemServiceServlet</servlet-class>

    <init-param>

      <param-name>services</param-name>

      <param-value/>

    </init-param>

  </servlet> -->


  <servlet>

    <servlet-name>CommunicationServiceImpl</servlet-name>

    <servlet-class>de.jltech.DataTrader.server.CommunicationServiceImpl</servlet-class>

  </servlet>


  <servlet-mapping>

    <servlet-name>CommunicationServiceImpl</servlet-name>

    <url-pattern>dataTrader/DataTrader</url-pattern>

  </servlet-mapping>


</web-app>


I have set the remote service path like this: @RemoteServiceRelativePath("DataTrader")

But when I run the project I get this error:

23.11.2012 14:41:58 com.google.appengine.tools.development.LocalResourceFileServlet doGet

WARNUNG: No file found for: /datatrader/DataTrader


I guess the error is in the xml file, but I cant figure out what is wrong.


Thank´s for helping

Alberto Mancini

unread,
Nov 23, 2012, 8:51:57 AM11/23/12
to google-we...@googlegroups.com
Hi,
is'nt just the url-pattern capitalized ?

<url-pattern>dataTrader/DataTrader</url-pattern>
                            ^


WARNUNG: No file found for: /datatrader/DataTrader
                                                       ^^^

Ciao,
   Alberto.


--
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/-/m2fBR7ZA3gQJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

xxJohnnyxx

unread,
Nov 25, 2012, 9:18:50 AM11/25/12
to google-we...@googlegroups.com
Thanks, solved my problem!!
Reply all
Reply to author
Forward
0 new messages