Skip to main content

What URL does Glassfish deploy web service endpoints and wsdl to?

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2008-11-25

I have a very simple web service:

?public class EventSourceService implements EventSource {

public SubscribeResponse subscribeOp(Subscribe body) { throw new UnsupportedOperationException("Not supported yet."); }


I build it with Maven and deploy it to glassfish. It shows a successful deploy and shows the webservice engine running it. I can't find the wsdl anywhere, however. There is nothing in the logs about a wsdl or about my class.

Is there a way to make Glassfish show me where it created the endpoint and wsdl? Tomcat shows you this, but I haven't found anything in glassfish the shows you where your wsdl is.


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2008-11-25

The problem turned out to be the web.xml file that Maven generated for me. Maven gave me an old web.xml file with a DTD and a simple <web-app> tag. What I needed to have is this: