This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Unable to access WSDL" Watch "Unable to access WSDL" New topic
Author

Unable to access WSDL

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 753
hi,

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

http://192.168.0.99:8082/MetroHelloWorldService/HelloWorldService.wsdl

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

http://192.168.0.99:8082/MetroHelloWorldService/HelloWorldService?wsdl

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
    
    1
Hi!
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:
https://metro.dev.java.net/getting-started/basic.html
Best wishes!
Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 753
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
Greenhorn

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: http://aspose.com/file-tools
 
subject: Unable to access WSDL
 
Similar Threads
URL parameter passing
WSDL location and Port address location
custom wsdl
Could not generate WSDL
Accessing webservice using dynamic proxies