I can successfully deploy and use a web service application, but when looking at the Web Services section in the Glassfish Admin Console, the web service does not show up. Is there something I am missing?
Here is my web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="
http://java.sun.com/xml/ns/j2ee">
<display-name>My Web Services</display-name>
<description>My Web Services</description>
<listener>
<listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class>
</listener>
<servlet>
<servlet-name>nm-service</servlet-name>
<display-name>nm-service</display-name>
<description>NM Service</description>
<servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>ml-service</servlet-name>
<display-name>ml-service</display-name>
<description>ML Service</description>
<servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>nm-service</servlet-name>
<url-pattern>/nmService</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ml-service</servlet-name>
<url-pattern>/mlService</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>60</session-timeout>
</session-config>
</web-app>
and sun-jaxws.xml
<?xml version="1.0" encoding="UTF-8"?>
<endpoints xmlns="
http://java.sun.com/xml/ns/jax-ws/ri/runtime" version="2.0">
<endpoint
name="nm-service"
interface="nm.NMServicePort"
implementation="nm.NMServiceImpl"
wsdl="WEB-INF/wsdl/nm.wsdl"
service="{urn:nm}NMService"
port="{urn:rm}NMServicePort"
url-pattern="/nmService" />
<endpoint
name="ml-service"
interface="ml.MLServicePort"
implementation="ml.MLServiceImpl"
wsdl="WEB-INF/wsdl/ml.wsdl"
service="{urn:ml}MLService"
port="{urn:ml}MLServicePort"
url-pattern="/mlService" />
</endpoints>
Thanks!
[Message sent by forum member 'berg34' (berg34)]
http://forums.java.net/jive/thread.jspa?messageID=255044