try using .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml") instead
META-INF/ vs WEB-INF/
Hi Asiak, i get the same behvior. Arnd
Only class add in addClass will be build and deployed.
Maybe the com.zimory.connect.accounting.dataservice.impl.TestBeanIT.bean need to be added.
forget about this package. I have a test "TestBeanIT" which needs the a TestBean to be injected with the name "bean". As you see i have added TestBean.class. In my mind, this should allow the test to run properly. There is no other class to be added to the archive. If needed please redo this simple test on your machine. It really simple.
You're correct. This is a bug in the integration somewhere between CDI, EJB and WebServices. See same behavior on JBoss AS 7, JBoss EAP 6.1 and WildFly 8 Alpha4.
Reported the following: