2 Replies Latest reply on Oct 22, 2008 12:22 PM by Alessio Soldano

    @WebServiceRef not working in ear

    Robin Young Newbie

      I have deployed a web service to my app server in a jar (simple echotest one).
      I have created client classes using wsconsume and can access the client using @WebServiceRef injected onto an ejb3 stateless session bean when the bean is packaged in a jar.
      However if I package a stateless (or stateful) ejb3 bean in a jar which is in my production ear then anything annotated with @WebServiceRef fails with the injected field being left as null.

      I am using
      JBoss 4.2.2.GA
      JBossWS-native 3.0.3
      Seam 2.0.2.SP1

      FYI I also have loadtime AOP weaving turned on.

      Is there something I need to put on my annotations or xml file to make this work or is it simply not possible at present?