Can you send the Target exception stacktrace? It sounds as if something is getting swallowed.

Jim


On Aug 30, 2006, at 2:37 PM, Chris Wall wrote:

Hi.  After a successful invocation of a web service, a TargetException
occurs ("Cannot evaulate $Proxy35.toString()") after body is returned from
JDKOutboundInvocationHandler.  This eventually leads to a
ClassCastException:

java.lang.ClassCastException:
org.apache.tuscany.sdo.impl.DynamicDataObjectImpl
   at $Proxy35.getPatient(Unknown Source)
   at
com.bea.proto.webservice.client.MedRecWebServicesServiceComponent.getP atient
(MedRecWebServicesServiceComponent.java:26)

Unfortunately I couldn't figure out how to get the full stacktrace from
TargetException.

Admittedly, this one has me confused. My first question is why is this happening? My second question is when, if ever, does the SDO layer convert the DynamicDataObjectImpl back to the intended return object (in this case a
Patient object).

Thanks.

-Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to