[jboss-user] [JBossWS] - @WebServiceRef not working in ear

ryoung2504 do-not-reply at jboss.com
Tue Oct 14 02:31:44 EDT 2008


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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182006#4182006

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182006



More information about the jboss-user mailing list