Reputation: 6819
How can I view the WSDL of my JAX-WS web service if I'm running it under Glassfish? I know I can generate the WSDL file using wsgen, but I'm want to know if I can have a runtime WSDL on Glassfish?
I've tried running my web service on Tomcat and I was able to get a runtime WSDL by accessing the URL pattern I specified on web.xml. However, since I don't have a web.xml on my JAX-WS web service on Glassfish, I'm not sure how I'm going to access my WSDL.
Upvotes: 1
Views: 5034
Reputation: 56666
/Test/MyClassService?wsdl
- now you are in http://localhost:4848/common/applications/webServiceWsdl.jsf?appName=Test&wsdl=%2FTest%2FMyClassService%3Fwsdl)Upvotes: 0
Reputation: 4989
As long as you know the endpoint URL of your web service you should be able to view the runtime WSDL by appending ?wsdl
to the end of the URL.
Upvotes: 3