Hi,
I am facing a problem while calling an EJB method from BPEL process. EJB method takes complex type as input and return a complex type.
Employee persistEmployee(Employee employee)
It says “Binding Component failed to invoke method persistEmployeeSDO”
From the logs, I see ClassCastException has occured
Caused by: java.lang.ClassCastException: org.eclipse.persistence.sdo.helper.ListWrapper cannot be cast to org.eclipse.persistence.sdo.SDODataObject
at org.eclipse.persistence.sdo.SDOResolvable.readExternal(SDOResolvable.java:258)
at commonj.sdo.impl.ExternalizableDelegator.readExternal(ExternalizableDelegator.java:83)
at org.eclipse.persistence.sdo.SDOExternalizableDelegator.readExternal(SDOExternalizableDelegator.java:60)
But, I am able make a call EJB method having simple type as input
Employee getEmployee(Long empId).
Any inputs on this.
Thanks in Advance,
Vidya