1 2 Previous Next 17 Replies Latest reply on Aug 7, 2007 1:56 AM by samdoyle

    Remoting does not invoke my @WebRemote ?

    samdoyle

      Hi, I followed the instructions closely but I am unable to see my method being invoked from the client. I have remote debugging enabled and this is the popup I get.

      Mon Jul 30 17:40:43 PDT 2007: Request packet:
      <envelope><header><context></context></header><body><call component="garageAccessor" method="getGarages" id="0">
      <params></params><refs></refs></call></body></envelope>
      
      
      Mon Jul 30 17:40:44 PDT 2007: Response packet:
      
      
      


      The interface is basic atm since I'm just testing.

      @Local
      public interface GarageAccessorLocal {
      
       @WebRemote( exclude = {"garageUpdates"} )
       public List<GarageEntityBean> getGarages();
      }


      Method

      public List<GarageEntityBean> getGarages()
       {
       List<GarageEntityBean> garages = garageEntityBeanFacade.findAll();
      
       return garages;
       }
      


      A breakpoint in the getGarages method never gets hit. There are no exceptions or other signs indicating what the problem is in the logs.

      I was using DWR before this and was able to get it to work fine. Any ideas?

      Thanks, S.D.

        1 2 Previous Next