Hi rizla,

I would return your url mappng in web.xml to:

<url-pattern>/com.gwt.syncar.Syncar/ItinerarioService</url-pattern>

for now (assuming that the location of your module file is
com.gwt.syncar.Syncar.gwt.xml). I think your problem is likely to be
in how you are setting the URL for the RPC call client side. It should
look something like this on the info you've given so far:

((ServiceDefTarget) target).setServiceEntryPoint(GWT.getModuleBaseURL
() + "ItinerarioService");

I would check this in debugger, i.e.

String URL =  GWT.getModuleBaseURL() + "ItinerarioService"

to make sure that the URL matches exactly the mapping in web.xml -
that's likely to be your only problem really.

regards
gregor

On Dec 19, 2:07 pm, rizla <[email protected]> wrote:
> don't works :(
>
> in the package server we have two servlets...LoginServiceImpl adn
> ItinerarioSeviceImpl...
> this is my gwt.xml file
>
> ......
>         <servlet path="/LoginService"
> class="com.gwt.syncar.server.LoginServiceImpl"/>
>         <servlet path="/ItinerarioService"
> class="com.gwt.syncar.server.ItinerarioServiceImpl"/>
> ........
>
> and the web.xml file is :
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";>
>
>  <!-- Standard Action Servlet Configuration -->
>  <servlet>
>    <servlet-name>LoginService</servlet-name>
>    <servlet-class>com.gwt.syncar.server.LoginServiceImpl</servlet-
> class>
>  </servlet>
>
> <servlet>
>    <servlet-name>ItinerarioService</servlet-name>
>    <servlet-class>com.gwt.syncar.server.ItinerarioServiceImpl</servlet-
> class>
>  </servlet>
>
> <!-- Standard Action Servlet Mapping -->
>  <servlet-mapping>
>    <servlet-name>LoginService</servlet-name>
>    <url-pattern>/LoginService</url-pattern>
>  </servlet-mapping>
>
> <servlet-mapping>
>    <servlet-name>ItinerarioService </servlet-name>
>    <url-pattern>/ItinerarioService </url-pattern>
>  </servlet-mapping>
> </web-app>
>
> thx for the response :)
--~--~---------~--~----~------------~-------~--~----~
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