This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I'm using eclipse for this with tomcat server and client in jboss.
I got 2 questions here.
In the wsdlLocation - like "http://localhost:8070/MyApp/HelloService?wsdl " , the /HelloService is mapped to some apache axis servlet. What is that? This mapping is generated by eclipse itself.
I'm able to view wsdl file with the above mentioned url.
I have generated proxy using wsimport.
I have written one more web app(client) to test the service. In that I have a servlet with goGet() method. Also I have given @WebServiceRef(wsdlLocation="http://localhost:8070/MyApp/HelloService?wsdl").
But I got null pointer exception while testing. i.e the service annotated with @WebServiceRef was null.
I'm more interested in knowing about the servlet that was mapped to '/HelloService'.