0 Replies Latest reply on Dec 12, 2011 3:35 PM by 259492

    @PostConstruct not called on JAX-WS @WebService


      using the fresh new WebLogic 12 I've got a problem with a JAX-WS class that is @WebService annotated (deployed as WAR) and has a

      public void init() { ... }

      method in it. Unfortunately the method is never called upon deployment. The

           @Inject @....     
           private ConnectionFactory connectionFactory;

           @Inject @....
           private Queue queue;

      fields are injected properly using CDI though. So I assume that CDI is working (empty beans.xml exists in WEB-INF), but interestingly the @PostConstruct ist never called.

      Do you have any thoughts or tips?

      Thanks in advance...