1 Reply Latest reply on Feb 28, 2015 6:48 AM by Xavier Dury

    Configuring @WebServiceRef on EJB via XML in AS7

    Xavier Dury Newbie



      I have some EJBs that call WebServices. In JBoss AS5, I had something like that:



      public class MyServiceBean implements MyService {


           @WebServiceRef(name = "services/MyWebService")

           MyWebPort myWebService;






















      Now that I've migrated to JBoss AS7, jboss-ejb3.xml is used instead of jboss.xml. But it seems I can't use custom jboss elements in it.


      So how do I achieve this in AS7?