[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1647) Text Nodes in message cause ClassCastException for org.jboss.ws.core.soap.TextImpl
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Fri May 11 12:59:52 EDT 2007
[ http://jira.jboss.com/jira/browse/JBWS-1647?page=comments#action_12362085 ]
Thomas Diesler commented on JBWS-1647:
--------------------------------------
Could you please add a test for JBWS-1647 that tests the message
exchange for rpc/lit + doc/lit
> Text Nodes in message cause ClassCastException for org.jboss.ws.core.soap.TextImpl
> ----------------------------------------------------------------------------------
>
> Key: JBWS-1647
> URL: http://jira.jboss.com/jira/browse/JBWS-1647
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jaxrpc
> Reporter: Darran Lofthouse
> Assigned To: Darran Lofthouse
> Fix For: jbossws-2.0.0
>
>
> The following message: -
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://www.jboss.org/support/phonebook/types">
> <soapenv:Header/>
> <soapenv:Body>
> <!--
> Hello
> -->
> <typ:lookup>
> <firstName>Darran</firstName>
> <surname>Lofthouse</surname>
> </typ:lookup>
> </soapenv:Body>
> </soapenv:Envelope>
> Causes the following exception to be logged: -
> 15:59:46,951 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception
> java.lang.ClassCastException: org.jboss.ws.core.soap.TextImpl
> at org.jboss.ws.core.soap.SOAPMessageDispatcher.getDispatchDestination(SOAPMessageDispatcher.java:108)
> at org.jboss.ws.core.soap.SOAPMessageImpl.getOperationMetaData(SOAPMessageImpl.java:316)
> at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.getDispatchDestination(AbstractServiceEndpointInvoker.java:339)
> at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:168)
> at org.jboss.ws.core.server.ServiceEndpoint.processRequest(ServiceEndpoint.java:212)
> at org.jboss.ws.core.server.ServiceEndpointManager.processRequest(ServiceEndpointManager.java:444)
> at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list