Return-Path: Delivered-To: apmail-xml-axis-user-archive@xml.apache.org Received: (qmail 33719 invoked by uid 500); 6 Dec 2002 03:50:09 -0000 Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 33710 invoked from network); 6 Dec 2002 03:50:08 -0000 To: axis-user@xml.apache.org Subject: class cast exception with SOAPBody.getChildElements (name) MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.9 November 16, 2001 Message-ID: From: "Darren Rowley" Date: Fri, 6 Dec 2002 16:53:11 +1300 X-MIMETrack: Serialize by Router on vincent/akl/nz/geniesystems(Release 5.0.9 |November 16, 2001) at 06/12/2002 16:53:55, Serialize complete at 06/12/2002 16:53:55 Content-Type: multipart/alternative; boundary="=_alternative 00155912CC256C87_=" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a multipart message in MIME format. --=_alternative 00155912CC256C87_= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Has anyone tried using the method: SOAPBody.getChildElements (name)=20 to enumerate child elements? I recieve a class cast exception, I took a=20 look at the source code and it looks to me like a blatant bug (casting to=20 a SOAPHeaderElement instead of a body), it's so obvious, I'm suprised no=20 one has found or fixed this already that I assuming I must be doing=20 something completely stupid (very likely) here so I thought I'd post here=20 to the user list for clarification?=20 thanks, darren ------------------------------------------------- Darren Rowley Software Architect OrderWare=AE Solutions Limited darrenr@orderware.net www.orderware.net PH: +64 9 573 3316 FX: +64 9 573 3301 ------------------------------------------------- --=_alternative 00155912CC256C87_= Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Has anyone tried using the method:

        SOAPBody= .getChildElements (name)

to enumerate child elements? I recie= ve 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 b= ody), 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) h= ere so I thought I'd post here to the user list for clarification?

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