users@jax-rpc.java.net

Are there known issues re jaxrpc webservice w/ handlers when accessed from SOAPScope or XMLSpy?

From: Roderico Cruz <Roderico.Cruz_at_Sun.COM>
Date: Wed, 24 Aug 2005 21:07:57 -0700

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)



-- 
Roderico Cruz
Sun Microsystems
(650) 786-4824