axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Shand <>
Subject SOAPBody.addDocument() problems
Date Mon, 31 May 2004 15:25:44 GMT

I'm having problems with SOAPBody.addDocument(). I've tried out the 
latest code in CVS and the problem is there also.

I'm getting a ClassCastException in SOAPBody when I try to add a 
w3cDocument using the addDocument method. Having a look at the source, 
the problem appears to be in the importBodyElement() method. The cce is 
happening when we start to iterate over the children of the element we 
pass in. The attempted cast is org.apache.xerces.dom.ElementNSImpl to 

I'm not sure if I'm doing something stupid, but the Javadocs seem 
pretty clear about what should happen here.

Should I should be posting this to the users list or the developers 


View raw message