1 Reply Latest reply on Jul 29, 2009 8:11 PM by pmuir

    Whats the deal with webservices, exactly

    meetoblivion

      So I went to do this..



      @Stateless
      @Remote(SweepsAddService.class)
      @WebService
      @SOAPBinding(style = SOAPBinding.Style.RPC)
      public class SweepsAddBean implements SweepsAddService {
              @PersistenceContext EntityManager entityManager;
              
              @ServiceType SweepsInfoService sweepsInfoService;
              @ServiceType SweepsCheckService sweepsCheckService;
              @ServiceType SweepsSignupService sweepsSignupService;



      Which is a webservice calling a few other EJBs.  But then I remembered that webbeans wasn't a fan of webservices yet.  I can still do stuff like looking up the manager over JNDI and then finding through that, right?

        • 1. Re: Whats the deal with webservices, exactly
          pmuir

          This should work, as it's an EJB, and we support injection and other services for non-contextual EJBs in the current release. What is the structure of your EAR (where are your beans.xml located)? Can you convert this into a test case we can put into webbeans-core-tests (/tests) to verify?