This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
My client for my jax-ws web service is not working.
I get a null pointer exception because the service is not being injected by the @WebServiceRef annotation.
Ok so I just found that the annotation does not get processed because my client is not in the container. How do I make this WS call without the annotation?
Thanks,
Billy
Ivan Krizsan
Bartender
Joined: Oct 04, 2006
Posts: 2193
posted
0
Hi!
If you are using client artifacts generated from the WSDL, then you can simply add this line of code at appropriate place in your client: