Hello,

I am using XFire's dynamic client to hook into a webservice.   The
webservice call goes just fine.  It actually returns the real objects that
are expected.   However, the attributes within these objects are not real
objects at all, they are proxies!   And these proxies cannot be cast to the
type that they are really supposed to be.

For instance, if I have a service that returns an array of Foo[] objects,
and inside a Foo object I have a single String attribute called name, when
the XFire web service returns me an array of Foo[] objects, the attribute
called name is not of String type, it is of proxy type.   At which point I
get an "Caused by: java.lang.ClassCastException: $Proxy2" exception.

Any one know what I could be doing incorrectly?

Help is GREATLY appreciated,
Mark
-- 
View this message in context: 
http://www.nabble.com/XFire-dynamic-client-via-Spring-returns-Proxy-objects-instead-of-real-ones--tp16463073p16463073.html
Sent from the XFire - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to