here my greet service :

named Iconsultation
@RemoteServiceRelativePath("greetDesktop")
public interface Iconsultation extends RemoteService{

        public Boolean
MettreEnInstanceAbstractConsultationVO(connexionParametres
param,ParametreVO parametre,SymtomesVO symptomes,String
idconsultant,String idpatient,String idtypeconsultation,Date
dateconsultation) ;
        }

his implementation :

public class IconsultationImpl implements Iconsultation{

        //private static final Logger log =
LoggerFactory.getLogger(IconsultationImpl.class);
        private IAbstractConsultationSVCO
consultation=(IAbstractConsultationSVCO)(new XmlBeanFactory(new
ClassPathResource("applicationContext.xml"))).getBean("iabstractConsultationsvco");

        public Boolean
MettreEnInstanceAbstractConsultationVO(connexionParametres
param,ParametreVO parametre,SymtomesVO symptomes,String
idconsultant,String idpatient,String idtypeconsultation,Date
dateconsultation) {
                return
consultation.MettreEnInstanceAbstractConsultationVO(param,parametre,
symptomes, idconsultant, idpatient, idtypeconsultation,
dateconsultation);
        }
}


i have already integrated spring + hibernate all thing is rigth only
this problem i posted you also my web.xml:


<?xml version="1.0" encoding="UTF-8"?>
<web-app
         xmlns="http://java.sun.com/xml/ns/j2ee";
         version="2.4"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>

        <display-name>Eclipse BIRT Report Viewer</display-name>
                         <!--  #######################     CONFIGURATION SPRING 
 -->
                          <context-param>
                                  <param-name>contextConfigLocation</param-name>
                                  
<param-value>/WEB-INF/webconf/applicationContext.xml</param-
value>
                         </context-param>
                         <listener>
                                <listener-
class>org.springframework.web.context.ContextLoaderListener</listener-
class>
                         </listener>
                         <servlet>
                            <servlet-name>greetServlet</servlet-name>
                            
<servlet-class>org.gwtrpcspring.RemoteServiceDispatcher</
servlet-class>
                     </servlet>

                      <!--  #######################     FIN CONFIGURATION 
SPRING  --
>


                          <!--  #######################     CONFIGURATION BIRT  
-->

                                <!-- Default locale setting.
        -->
        <context-param>
                <param-name>BIRT_VIEWER_LOCALE</param-name>
                <param-value>en-US</param-value>
        </context-param>

        <!--
                Default timezone setting.
                Examples: "Europe/Paris", "GMT+1".
                Defaults to the container's timezone.
         -->
        <context-param>
                <param-name>BIRT_VIEWER_TIMEZONE</param-name>
                <param-value></param-value>
        </context-param>

        <!--
                Report resources directory for preview. Defaults to ${birt home}
        -->
        <context-param>
                <param-name>BIRT_VIEWER_WORKING_FOLDER</param-name>
                <param-value></param-value>
        </context-param>

        <!--
                Temporary document files directory. Defaults to ${birt home}/
documents
        -->
        <context-param>
                <param-name>BIRT_VIEWER_DOCUMENT_FOLDER</param-name>
                <param-value></param-value>
        </context-param>

        <!--
                Flag whether the report resources can only be accessed under the
                working folder. Defaults to true
        -->
        <context-param>
                <param-name>WORKING_FOLDER_ACCESS_ONLY</param-name>
                <param-value>true</param-value>
        </context-param>

        <!--
                Temporary image/chart directory. Defaults to ${birt 
home}/report/
images
        -->
        <context-param>
                <param-name>BIRT_VIEWER_IMAGE_DIR</param-name>
                <param-value></param-value>
        </context-param>

        <!-- Engine log directory. Defaults to ${birt home}/logs -->
        <context-param>
                <param-name>BIRT_VIEWER_LOG_DIR</param-name>
                <param-value></param-value>
        </context-param>

        <!-- Report engine log level -->
        <context-param>
                <param-name>BIRT_VIEWER_LOG_LEVEL</param-name>
                <param-value>WARNING</param-value>
        </context-param>

        <!--
                Directory where to store all the birt report script libraries
(JARs).
                Defaults to ${birt home}/scriptlib
        -->
        <context-param>
                <param-name>BIRT_VIEWER_SCRIPTLIB_DIR</param-name>
                <param-value></param-value>
        </context-param>

        <!-- Resource location directory. Defaults to ${birt home} -->
        <context-param>
                <param-name>BIRT_RESOURCE_PATH</param-name>
                <param-value></param-value>
        </context-param>

        <!-- Preview report rows limit. An empty value means no limit. -->
        <context-param>
                <param-name>BIRT_VIEWER_MAX_ROWS</param-name>
                <param-value></param-value>
        </context-param>

        <!--
                Max cube fetch levels limit for report preview (Only used when
                previewing a report design file using the preview pattern)
        -->
        <context-param>
                <param-name>BIRT_VIEWER_MAX_CUBE_ROWLEVELS</param-name>
                <param-value></param-value>
        </context-param>
        <context-param>
                <param-name>BIRT_VIEWER_MAX_CUBE_COLUMNLEVELS</param-name>
                <param-value></param-value>
        </context-param>

        <!-- Memory size in MB for creating a cube. -->
        <context-param>
                <param-name>BIRT_VIEWER_CUBE_MEMORY_SIZE</param-name>
                <param-value></param-value>
        </context-param>

        <!-- Defines the BIRT viewer configuration file -->
        <context-param>
                <param-name>BIRT_VIEWER_CONFIG_FILE</param-name>
                <param-value>WEB-INF/viewer.properties</param-value>
        </context-param>

        <!--
                Flag whether to allow server-side printing. Possible values are 
"ON"
                and "OFF". Defaults to "ON".
        -->
        <context-param>
                <param-name>BIRT_VIEWER_PRINT_SERVERSIDE</param-name>
                <param-value>ON</param-value>
        </context-param>

        <!--
                Flag whether to force browser-optimized HTML output. Defaults to
true
        -->
        <context-param>
                <param-name>HTML_ENABLE_AGENTSTYLE_ENGINE</param-name>
                <param-value>true</param-value>
        </context-param>

        <!--
                Filename generator class/factory to use for the exported 
reports.
        -->
        <context-param>
                <param-name>BIRT_FILENAME_GENERATOR_CLASS</param-name>
                <param-
value>org.eclipse.birt.report.utility.filename.DefaultFilenameGenerator</
param-value>
        </context-param>

        <!--
                Viewer Filter used to set the request character encoding to 
UTF-8.
        -->
        <filter>
        <filter-name>ViewerFilter</filter-name>
        <filter-class>org.eclipse.birt.report.filter.ViewerFilter</
filter-class>
        </filter>
    <filter-mapping>
        <filter-name>ViewerFilter</filter-name>
        <servlet-name>ViewerServlet</servlet-name>
    </filter-mapping>
    <filter-mapping>
        <filter-name>ViewerFilter</filter-name>
        <servlet-name>EngineServlet</servlet-name>
    </filter-mapping>

        <!-- Viewer Servlet Context Listener -->
        <listener>
                <listener-
class>org.eclipse.birt.report.listener.ViewerServletContextListener</
listener-class>
        </listener>

        <!-- Viewer HttpSession Listener -->
        <listener>
                <listener-
class>org.eclipse.birt.report.listener.ViewerHttpSessionListener</
listener-class>
        </listener>

        <!-- Viewer Servlet, Supports SOAP -->
        <servlet>
                <servlet-name>ViewerServlet</servlet-name>
                <servlet-class>org.eclipse.birt.report.servlet.ViewerServlet</
servlet-class>
        </servlet>

        <!-- Engine Servlet -->
        <servlet>
                <servlet-name>EngineServlet</servlet-name>
                
<servlet-class>org.eclipse.birt.report.servlet.BirtEngineServlet</
servlet-class>
        </servlet>

        <servlet-mapping>
                <servlet-name>ViewerServlet</servlet-name>
                <url-pattern>/frameset</url-pattern>
        </servlet-mapping>

        <servlet-mapping>
                <servlet-name>ViewerServlet</servlet-name>
                <url-pattern>/run</url-pattern>
        </servlet-mapping>

        <servlet-mapping>
                <servlet-name>EngineServlet</servlet-name>
                <url-pattern>/preview</url-pattern>
        </servlet-mapping>

        <servlet-mapping>
                <servlet-name>EngineServlet</servlet-name>
                <url-pattern>/download</url-pattern>
        </servlet-mapping>

        <servlet-mapping>
                <servlet-name>EngineServlet</servlet-name>
                <url-pattern>/parameter</url-pattern>
        </servlet-mapping>

        <servlet-mapping>
                <servlet-name>EngineServlet</servlet-name>
                <url-pattern>/document</url-pattern>
        </servlet-mapping>

        <servlet-mapping>
                <servlet-name>EngineServlet</servlet-name>
                <url-pattern>/output</url-pattern>
        </servlet-mapping>

        <servlet-mapping>
                <servlet-name>EngineServlet</servlet-name>
                <url-pattern>/extract</url-pattern>
        </servlet-mapping>

        <jsp-config>
                <taglib>
                        <taglib-uri>/birt.tld</taglib-uri>
                        
<taglib-location>/WEB-INF/tlds/birt.tld</taglib-location>
                </taglib>
        </jsp-config>

                          <!--  #######################    FIN CONFIGURATION 
BIRT  -->

                        <servlet-mapping>
                            <servlet-name>greetServlet</servlet-name>
                            
<url-pattern>/com.gpac.cmtid.DesktopApp/greetDesktop</url-
pattern>
                        </servlet-mapping>
                        <servlet-mapping>
                                  <servlet-name>greetServlet</servlet-name>
                                  
<url-pattern>/com.gpac.cmtid.DesktopApp/greetDesktop</url-
pattern>
                    </servlet-mapping>
                    <servlet-mapping>
                                  <servlet-name>greetServlet</servlet-name>
                                  <url-pattern>/sgip/greet</url-pattern>
                         </servlet-mapping>
                         <!-- Default page to serve -->
                                  <welcome-file-list>
                                  <welcome-file>SGIP.html</welcome-file>
                         </welcome-file-list>
</web-app>




On 30 sep, 02:24, Lucas Charron <[email protected]> wrote:
> It looks like the problem is with your greet service, not this class.
> Everything looks good here to me. It may help if you post the greet
> service(not the async version) and it's implementation.
>
> On Sep 29, 7:51 am, matipblaiso30000 <[email protected]> wrote:
>
> > i have some problem with the RPC
>
> > [WARN] greetServlet: An IncompatibleRemoteServiceException was thrown
> > while processing this call.
> > com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
> > Invalid type signature for com.gpac.cmtid.client.UI.VO.ParametreVO
>
> >  her it is my class ParametreVO :
>
> > package com.gpac.cmtid.client.UI.VO;
>
> > import com.google.gwt.user.client.rpc.IsSerializable;
>
> > public class ParametreVO implements IsSerializable{
>
> >         private static final long serialVersionUID = -5216120643768806605L;
>
> >         private String temperature;
> >         private String tad;
> >         private String tas;
> >         private String poids;
> >         private String pouls;
>
> >         public ParametreVO() {
>
> >         }
>
> >         public ParametreVO(String temperature, String tension, String
> > tad,String tas, String poids, String pouls) {
> >                 this.temperature = temperature;
> >                 this.tad = tad;
> >                 this.tas = tas;
> >                 this.poids = poids;
> >                 this.pouls = pouls;
> >         }
>
> >         public String getTad() {
> >                 return tad;
> >         }
>
> >         public void setTad(String tad) {
> >                 this.tad = tad;
> >         }
>
> >         public String getTas() {
> >                 return tas;
> >         }
>
> >         public void setTas(String tas) {
> >                 this.tas = tas;
> >         }
>
> >         public String getTemperature() {
> >                 return temperature;
> >         }
> >         public void setTemperature(String string) {
> >                 this.temperature = string;
> >         }
> >         public String getPoids() {
> >                 return poids;
> >         }
> >         public void setPoids(String poids) {
> >                 this.poids = poids;
> >         }
> >         public String getPouls() {
> >                 return pouls;
> >         }
> >         public void setPouls(String pouls) {
> >                 this.pouls = pouls;
> >         }
>
> > }
>
> > please help me

-- 
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