1 Reply Latest reply on Oct 28, 2007 7:56 PM by Shane Bryzak

    GWT Integration

    Kishore R Newbie

      I am trying to get a GWT widget to talk to my Seam application. I followed the example in the seam reference doc. But it looks like the Seam ServiceImpl component is not getting called at all.

      I have a question specific to the setting of the service. In the example code

      private MyServiceAsync getService()
      {
      String endpointURL = GWT.getModuleBaseURL() + "seam/resource/gwt";
      MyServiceAsync svc = (MyServiceAsync) GWT.create(MyService.class);
      ((ServiceDefTarget) svc).setServiceEntryPoint(endpointURL);
      return svc;
      }


      This says that the Seam service component is available to the gwt widget at the endpoint URL. I did not find any configuration being set on the server to make the Service component available at that endpoint URL.

      What if there are multiple seam services to be invoked? Is there a pattern to the endpoint URL based on the seam service component?

      I am using Jboss AS 4.2.1 / Seam 2.0.0 CR2

      Thanks in advance
      Kishore