开发者

Glassfish 3.1: Cannot find 'View Endpoint' link after deploying a WebService

开发者 https://www.devze.com 2023-03-07 12:54 出处:网络
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

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:

  1. Check if web.xml exist in your project (possible it is in webapp/WEB-INF/web.xml).
  2. Delete web.xml.
  3. 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消