anonymous wrote : Is this assumption correct (ie. that service-ref in 
ejb-jar.xml is ignored using ejb3)? 

No.

anonymous wrote : If not: Has anybody succeded in getting the service object 
from jndi using ejb3 and <service-ref>? Please provide an example


The only way I have made it work is by specifying the name:
@WebServiceRef (name="service/myServiceName") 

in Service bean class, and then referencing it from the ejb-jar.xml
<service-ref-name>service/myServiceName</service-ref-name>

within <service-ref> tag. 

NOTE: Override does not work. It only work if no WSDL address is specified in 
@WebServiceRef


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223969
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to