[jboss-user] [JBossWS] - WebServiceRef injection does not work

ulliobst do-not-reply at jboss.com
Thu May 31 05:59:34 EDT 2007


Ha,

I have JBoss 5.0 beta2 and jbossws-1.2.1 deployed. I wrote a simple web web-service and everything works fine, when I access the service with Service.create(...)

But when I try to access the service with @WebServiceRef I simply get a NullPointerException.

@WebServiceRef(wsdlLocation = "http://localhost:8080/jbaddnumbers/addservice?wsdl")
Service service;

The injection has not occurred and the service field is null.
I run the client with the wsrunclient.bat provided in the bin directory of JBoss.  Do I have to add some configuration files somewhere?

Best regards
Ulli






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

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



More information about the jboss-user mailing list