This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have been trying to get an test app using Axis2 working and thought I was there until I came across this issue!
I have a 'Parent' bean which contains an ArrayList of 'Child' beans.
Even though the results are coming back as expected and I can read the value of 'Parent' bean; as soon as I try to get a value from the 'Child' bean(s), I get this error:
"org.apache.axiom.om.impl.llom.OMElementImpl cannot be cast to com.axis2.client.beans.ChildBean"
It seems that even though the ArrayList has been populated, then 'Child' beans have become 'OMElementImpl' object and can not be turned into 'Child' beans
How do I get around this???
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: HELP! org.apache.axiom.om.impl.llom.OMElementImpl cannot be cast to com.axis2.client.beans.ChildBean