You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Darren Rowley <Da...@orderware.net> on 2002/12/06 04:53:11 UTC

class cast exception with SOAPBody.getChildElements (name)

Has anyone tried using the method:

        SOAPBody.getChildElements (name) 

to enumerate child elements? I recieve a class cast exception, I took a 
look at the source code and it looks to me like a blatant bug (casting to 
a SOAPHeaderElement  instead of a body), it's so obvious, I'm suprised no 
one has found or fixed this already that I assuming I must be doing 
something completely stupid (very likely) here so I thought I'd post here 
to the user list for clarification? 

thanks,
darren
-------------------------------------------------
Darren Rowley
Software Architect
OrderWare® Solutions Limited
darrenr@orderware.net
www.orderware.net
PH: +64 9 573 3316
FX:  +64 9 573 3301
-------------------------------------------------