Sunday, November 25, 2012

Re: GWT RPC CALL QUESTION

Thanks, solved my problem!!

On Friday, November 23, 2012 2:45:53 PM UTC+1, xxJohnnyxx wrote:
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

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

No comments:

Post a Comment