You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Manish Kumar <ma...@cisco.com> on 2001/10/09 04:49:50 UTC

Question on Run time polymorphism

Hello ,
	I am currently facing a problem with Runtime polymorphism while passing 
parameters, if I pass an instance of derived class and if method signature 
happens to take base class as an argument, then it throws exception and the 
server side object never gets called.
Same problem occurs incase of returning derived object and if client is 
expecting base class as return type.

So question is :
1. Does axis support runtime polymorphism?
2. Does equivalent object representation contains object graph, so by 
looking at xml doc one can figure out whole hierarchy?

Thank you very much for your help.

Regards
Manish Kumar