I have not heard of this problem. If they remove the Handlers, does the
test still fail? If not, then the handlers might be doing something to
the message to cause the problem.
Roderico Cruz wrote:
> A Netbeans user has a JAXRPC web service that is configured with SOAP
> message handlers. When accessed by clients that are generated from
> wscompile, everything works fine. If the web service is accessed from
> other test environments such as SOAPScope or XMLSpy, a
> ClassCastException is encountered (see below for the stack trace). Are
> these known issues?
> Thanks.
> Rico
> Here is the trace from the server log:
>
> [#|2005-08-24T10:44:02.513-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=12;|DPL5306:Servlet
>
> Web Service Endpoint [TestWS] listening at address
> [http://fedora:8080/Test/TestWS]|#]
> [#|2005-08-24T10:44:28.083-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=13;|preWebHandlerError
>
> java.lang.ClassCastException:
> com.sun.xml.messaging.saaj.soap.impl.TextImpl
> at
> com.sun.xml.rpc.server.StreamingHandler.getOpcodeForRequestMessage(StreamingHandler.java:628)
>
> at
> com.sun.enterprise.webservice.WsUtil.getInvMethod(WsUtil.java:943)
> at
> com.sun.enterprise.webservice.ServletPreHandler.handleRequest(ServletPreHandler.java:55)
>
> at
> com.sun.xml.rpc.client.HandlerChainImpl.handleRequest(HandlerChainImpl.java:86)
>
>
>
>
--
- Doug