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.
Summary: | V2:Sample WebService Caculator does not work with GF V2 server | ||
---|---|---|---|
Product: | webservices | Reporter: | davisn <davisn> |
Component: | JAX-WS | Assignee: | Martin Grebac <mgrebac> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | Sun | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
davisn
2008-08-12 21:34:30 UTC
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. |