Re: Why Axis2 Engine sends "type" in the "return" tag of SOAP Response Messages?

2009-02-05 Thread ChandraR

Hi Deepal,

I'm also facing the same problem. Is this fixed? 

Regards,
Chandra R



Deepal Jayasinghe wrote:
> 
> 
>> 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: axis-user-unsubscr...@ws.apache.org
> For additional commands, e-mail: axis-user-h...@ws.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Why-Axis2-Engine-sends-%22type%22-in-the-%22return%22-tag-of-SOAP-Response-Messages--tp17781129p21857991.html
Sent from the Axis - User mailing list archive at Nabble.com.



Re: Why Axis2 Engine sends "type" in the "return" tag of SOAP Response Messages?

2008-06-12 Thread Luis Bobo_Alten

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
   axis-user@ws.apache.org 
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 
  axis-user@ws.apache.org  
   
   
   





> 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]

<><><>

Re: Why Axis2 Engine sends "type" in the "return" tag of SOAP Response Messages?

2008-06-11 Thread Deepal Jayasinghe



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]