Glassfish 3.1: Cannot find 'View Endpoint' link after deploying a WebService
I wrote a web service and deployed it on Glassfish 3.1 but I am not able to see the link 'View Endpoint' link under 'Action' column. I am using the 'Glassfish 3. 1 Administration Tool' at 'http://loc开发者_开发知识库alhost:4848/' under 'Application' under 'myapp'. After getting the web services deployed, I do see the 'webservices' added under the column 'Engines'. I need that link for finding 'Web Service Endpoint Information' so that I could see the WSDL and test the web service using Tester feature given by Glassfish 3.1.
Could someone help me understand whay am i not able to see that 'View Endpoint' link under the 'Action' column in the 'General' section.
Thanks.
That's how it worked for me:
- Check if
web.xml
exist in your project (possible it is inwebapp/WEB-INF/web.xml
). - Delete
web.xml
. - Restart GlassFish server and "View Endpoint" link will appear.
I had the exact same issue - when I stopped and restarted the Glassfish server, the "View Endpoint" link appeared. Not sure if that will work for you, but it did the trick for me.
精彩评论