Thanks to you, Deepal, for your response. Anyways, do you think that I could, manually, try to "handle" somehow the Axis2 response message to remove this "type" attribute in the "return" type, before it is delivered to the Client? Maybe in one of the phases?
Regards,
Luis Bobo
To
[email protected]
cc
Deepal Jayasinghe
<[EMAIL PROTECTED]> Subject
Re: Why Axis2 Engine sends "type"
2008-06-12 07:03 AM in the "return" tag of SOAP
Response Messages?
Please respond to
[email protected]
> Hello,
>
> Please, if someone can help me, I would like to know why Axis2 Engine
> includes an attribute "/type/" in the "/return/" tag of a SOAP
> /myMethodResponse/ message, when the returning type of this method is
> a complex, custom-defined, object.
>
Actually that is something in my list for immediate fix. The idea of
type is something like xsi:type. But we are not handling that correctly.
So with this you can have interface which returns interfaces , but at
the run time you can return any implementation class of that interface.
So putting the type attribute help other side to figure out the type of
the object in the message.
Thank you!
Deepal
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<<inline: graycol.gif>>
<<inline: pic07129.gif>>
<<inline: ecblank.gif>>
