Note - If you installed the Web Profile, web services are not supported unless the optional Metro Web Services Stack add-on component is downloaded from the Update Tool. Without the Metro add-on component, a servlet or EJB component cannot be a web service endpoint, and the glassfish-web.xml and glassfish-ejb-jar.xml elements related to web services are ignored.
For information about Update Tool, see Update Tool in Oracle GlassFish Server 3.1 Administration Guide.
Web Service Endpoint. Deploy a web service endpoint to GlassFish Server as you would any servlet or stateless session bean. If the deployed application or module has a web service endpoint, the endpoint is detected automatically during deployment. The GlassFish Server -specific deployment descriptor files, glassfish-web.xml and glassfish-ejb-jar.xml, provide optional web service enhancements in their webservice-endpoint and webservice-description elements.
Web Service Management. Web service management is fully supported in the Administration Console. After the application or module is deployed, click the Web Service component. The table in the right frame lists deployed web service endpoints.
For more information about web services, see Chapter 5, Developing Web Services, in Oracle GlassFish Server 3.1 Application Development Guide.