• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HELP! org.apache.axiom.om.impl.llom.OMElementImpl cannot be cast to com.axis2.client.beans.ChildBean

 
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi;

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???

KS
reply
    Bookmark Topic Watch Topic
  • New Topic