Hi,
First of all thanks for your reply.Your study guide is great
it Rocks.
Regrarding the below reply,
Actually when I follow the below approach it runs perfectly.
1. Create an annotated end point for Hello as in previous mail.
2.use
wsgen -cp . com.service.HelloBean -wsdl
to generate ws artifacts.
3. Use the following code to publish the WS
Endpoint.publish("http://localhost:8080/HelloWorldWeb/Hello",
new HelloBean());
3. When I traverse to the below URL I see the corresponding WSDL.
http://localhost:8080/HelloWorldWeb/Hello
But My question is
How do I expose it as a servlet end point?
In other words, with out using Endpoint.publish("http://localhost:8080/HelloWorldWeb/Hello",new HelloBean()); How do I publish it in tomcat.
As you said previously, if JAX-WS generates a servlet, which URL should I use to access the WSDL? As I have no where configured the URL as in this case.
Thanks and awaiting for your reply,
Vasanth