You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/14 09:21:52 UTC
[jira] Commented: (AXIS-1507) ClassCastException in SOAPBody outputImpl() and getFirstBody() methods
The following comment has been added to this issue:
Author: Ashutosh Shahi
Created: Thu, 14 Oct 2004 12:21 AM
Body:
I don't see the case where one of the childs of SOAPBody, in a valid SOAP message, is a text node. Child of a SOAPBody can only be a SOAPBodyElement, so can't think of a case where the mentioned methods can throw ClassCastException. Can anyone else throw some more light on this bug?
Ashutosh
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/AXIS-1507?page=comments#action_54031
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXIS-1507
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1507
Summary: ClassCastException in SOAPBody outputImpl() and getFirstBody() methods
Type: Bug
Status: Unassigned
Priority: Major
Project: Axis
Components:
Serialization/Deserialization
Versions:
current (nightly)
Assignee:
Reporter: Yoon Kyung Koo
Created: Thu, 12 Aug 2004 2:08 AM
Updated: Thu, 14 Oct 2004 12:21 AM
Environment: Windows XP, JDK 1.4.2_04, Axis nightly build (20040812..)
Description:
ClassCastException occurs in org.apache.axis.message.SOAPBody.outputImpl(SerializationContext) method (138th line)
The result List object of getChildren() method call can contain org.apache.axis.message.Text objects which are not a SOAPBodyElement.
Due to the same reason, the ClassCastException happens in getFirstBody() methods.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira