[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2319) ClassCastException in SOAPBody.extractContentAsDocument();

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Tue Sep 23 12:59:30 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBWS-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darran Lofthouse updated JBWS-2319:
-----------------------------------

    Description: 
Caused by: java.lang.ClassCastException: org.jboss.ws.core.soap.TextImpl
	at org.jboss.ws.core.soap.SOAPBodyImpl.extractContentAsDocument(SOAPBodyImpl.java:243)
	at org.jboss.test.ws.jaxws.jbws2319.SOAPHandler.handleInbound(SOAPHandler.java:63)
	at org.jboss.wsf.common.handler.GenericHandler.handleMessage(GenericHandler.java:53)
	at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:293)
	at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:138)
	... 28 more


In addition to this 'extractContentAsDocument()' was not expanding the content to DOM so the returned document had most of the content missing, the fix and test case also addresses this.


  was:
Caused by: java.lang.ClassCastException: org.jboss.ws.core.soap.TextImpl
	at org.jboss.ws.core.soap.SOAPBodyImpl.extractContentAsDocument(SOAPBodyImpl.java:243)
	at org.jboss.test.ws.jaxws.jbws2319.SOAPHandler.handleInbound(SOAPHandler.java:63)
	at org.jboss.wsf.common.handler.GenericHandler.handleMessage(GenericHandler.java:53)
	at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:293)
	at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:138)
	... 28 more




> ClassCastException in SOAPBody.extractContentAsDocument();
> ----------------------------------------------------------
>
>                 Key: JBWS-2319
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2319
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>    Affects Versions:  jbossws-native-3.0.3
>            Reporter: Darran Lofthouse
>            Assignee: Darran Lofthouse
>             Fix For: jbossws-native-3.0.4
>
>
> Caused by: java.lang.ClassCastException: org.jboss.ws.core.soap.TextImpl
> 	at org.jboss.ws.core.soap.SOAPBodyImpl.extractContentAsDocument(SOAPBodyImpl.java:243)
> 	at org.jboss.test.ws.jaxws.jbws2319.SOAPHandler.handleInbound(SOAPHandler.java:63)
> 	at org.jboss.wsf.common.handler.GenericHandler.handleMessage(GenericHandler.java:53)
> 	at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:293)
> 	at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:138)
> 	... 28 more
> In addition to this 'extractContentAsDocument()' was not expanding the content to DOM so the returned document had most of the content missing, the fix and test case also addresses this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list