I'm looking for the ability to pass an object of runtime type Car when the declared parameter or return type is the superclass Vehicle. For this to happen, the serializer must pass runtime type information in our document-literal SOAP (an xsi:type attribute in the root element) saying that the serialized object is a Car.

In .NET, you do this with
http://www.topxml.com/xmlserializer/xmlincludeattribute.asp

This article mentions how to do it with WebSphere tools http://www-128.ibm.com/developerworks/websphere/techjournal/0401_brown/brown.html
but this seems non-standard.

There must be some standard way of doing it in Axis.

Thanks,


Joshua

Reply via email to