Sunday, September 4, 2016

View EndPoint is not Available on GlassFish

If you are writing a SOAP Webservice, then you may face the following situation once you deploy your project on GlassFishServer:

There is a "Launch" action available under the "Modules and Components" section but "View Endpoint" is not available.

In that case, you can solve this issue by changing the web.xml file (which is available under WEB-INF folder) of your project as follows:

<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="2.5"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
  <display-name>Archetype Created Web Application</display-name>
</web-app>

Then, redeploy your project and then you are good to go! Good Luck.

No comments:

Post a Comment