This content has been marked as final.
Show 4 replies
-
1. Re: @WebServiceRef for JAX-RPC service?
sagimann Jun 17, 2008 3:35 AM (in response to tomstrummer)I'm having the same problem. did you solve this?
-
2. Re: @WebServiceRef for JAX-RPC service?
tomstrummer Jun 17, 2008 9:59 AM (in response to tomstrummer)"sagimann" wrote:
I'm having the same problem. did you solve this?
Unfortunately, no. I think there was an open issue related to this, with a fix version of JBossAS 5.0. I guess updating JBossAS 4 with the latest JBossWS JARs is not enough.
I had to go the traditional route and do a JNDI lookup as described here:
http://jbws.dyndns.org/mediawiki/index.php?title=JAX-RPC_User_Guide#Web_Services_Clients -
3. Re: @WebServiceRef for JAX-RPC service?
asoldano Jun 30, 2008 8:48 AM (in response to tomstrummer)javax.xml.ws.WebServiceRef annotation is for JAX-WS only.
-
4. Re: @WebServiceRef for JAX-RPC service?
michael.rollins Dec 2, 2008 3:54 PM (in response to tomstrummer)For what it's worth, I've found that you have to instantiate the service, either when it's declared, or in the doGet, like so:
@WebServiceRef(wsdlLocation="META-INF/wsdl/IEnNET.wsdl") IEnNETService service = new IEnNETService();
I don't know if this is the "proper" way to do it, but it worked for me.