Hi,

For a webservice project i'm using the axis2 framework (1.4.1) with a
pojo service. That service takes a complex object as input and should
return a other complex object after some calculations.

The input object looks like this.

Order (Serializable)
  ArrayList<Placement> placements

Placement (Serializable)
  Date publishdate

But when i send this object and try to loop through the array list i get
an ClassCast exception:
Exception in thread "main" org.apache.axis2.AxisFault:
org.apache.axiom.om.impl.llom.OMElementImpl cannot be cast to
mypackage.model.Placement

I realy have no idea how this can occur as i am using generics
everywhere. Any hints for me??

Regards,
  Arjan

Reply via email to