This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
-This is a regression bug for Netbean 6.5 since the sample was verified as working with Netbean 6.1 for Glassfish V2 server -I have opened another the bug about this Caculator sample but against Glassfish V3 prelude server. If the problem is caused from the same root, please close this bug. Bug is opened for the record. Steps to Reproduce: 1. Install Netbean 6.5 Trunk (08/12/2008) build 2. Create a new project by selecting Sample > Web Services > Caculator 3. Select to run CaculatorApp Note: Status 404 when select http://localhost:8080/CalculatorWSService?wsdl link 4. Select to run CaculatorClientApp > click "Get Result" button at the Caculator Service page BUG: HTTP Status 404 - Servlet ClientServlet is not available
When you run the web service it displays the endpoint page from JAXWS/Glassfish. Item 3 is a bug in JAXWS. I have opened the bug https://jax-ws.dev.java.net/issues/show_bug.cgi?id=623 to cover this. Item 4 cannot be reproduced. I tried this using the Test Web Service menu on the web service node. The test web service menu works so I am downgrading this to P4.
I am not really sure what this issue is about. Calculator Sample works fine with GlassFish V2. When you change server to GlassFish V3 prelude, JAx-WS 2.1 library must be added to project classpath : When I did that, server complains on dummy.txt file located under WEB-INF/wsdl : SEVERE: WSSERVLET11: failed to parse runtime descriptor: exception during WSDL parsing: jndi:/server/CalculatorApp/WEB-INF/wsdl/dummy.txt com.sun.xml.ws.server.ServerRtException: exception during WSDL parsing: jndi:/server/CalculatorApp/WEB-INF/wsdl/dummy.txt at com.sun.xml.ws.server.SDDocumentImpl.create(SDDocumentImpl.java:162) at com.sun.xml.ws.server.EndpointFactory.categoriseMetadata(EndpointFactory.java:439) at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:164) at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467) at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253) at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147) at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4798) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5498) at com.sun.enterprise.web.WebModule.start(WebModule.java:456) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922) Martin, why dummy.txt file is there ? It prevents WSServletContextListener to register WS on GlassFish V3 prelude (without Metro)
I removed the dummy.txt files - that's a relict from times when we had it stored in cvs and had to preserve the empty directory. Calc. sample works fine for me on v2 as well.