I have a method which is returning an array of type BaseClass. Inside are objects of different SubClasses. The SOAP message generated by Axis 1.3 treats the objects in the array as if they were all of type BaseClass, but I need the attributes from the SubClasses, which are really inside the array. Is there a way to do this somehow, either with Axis 1.3, another version, or another Web Services Library? If this is not implemented yet, is it possible to fix the Axis code? In this case, where could this be done?
Thanks in advance for your help.
Author and all-around good cowpoke
posted 8 years ago
I think you are trying to push SOAP well beyond what it is designed for. You should try to come up with a way to transfer the information using standard SOAP concepts.
For example can you reduce the specialized class attributes to a Map?