File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Unable to access WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Unable to access WSDL" Watch "Unable to access WSDL" New topic

Unable to access WSDL

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 761

I have written a simple hello world web service using metro 2.0 and deployed in on tomcat 6 as a war file.

When start the tomcat. i can see the WSDL file from the following URL

but when i tried to access the same using the following URL

I am getting Http Status 404 Error.

I have used bellow command to generate service side stubs and WSDL file

wsgen -cp ./WEB-INF/classes com.india.service.HelloWorld -wsdl -keep -r . -s ./WEB-INF/src

can anybody help me out with this issue.

Thanks !!

Jigar Naik

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
It seems like Metro is not working as it should with your web service.
Have you seen the following web page, which shows how to develop a web service using Metro and deploy it to Tomcat:
Best wishes!
Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 761
Hey Ivan,

Thanks for the quick reply,

I missed to put the servlet and listener entry in deployment descriptor.

The service is running fine now...

Thanks a lot...
Makni Mono

Joined: Feb 15, 2010
Posts: 3
...quires DNS setup and access to the Internet when the service starts to dynamical generate and validate the wsdl before m ... t avilable online. I'm wondering if there is a way to generate
low cost affordable ivf florida
how to convert videos for free
I agree. Here's the link:
subject: Unable to access WSDL
It's not a secret anymore!