Hi John,

John Wright wrote:

Is there a way to force XFire to return an instance of a subclass from a method defined as returning the superclass?

I've seen a few posts on this topic, but couldn't seem to find any definite workarounds or a patch. Unfortunately, I have no control over the server end and the client I'm writing *must* pass an instance of the subclass. I'm using version 1.2.4.


Which XML binding are you using?
Aegis: http://xfire.codehaus.org/Aegis+Inheritance
JAXB 2.0: http://xfire.codehaus.org/JAXB+2.0 (scroll down to "JAXB 2 and inheritance")

-Øyvind

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

   http://xircles.codehaus.org/manage_email

Reply via email to