axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: [Axis2][Fwd: Mtom reply to client]
Date Tue, 11 Jul 2006 08:59:40 GMT
Sahan Gamage wrote:

>Forwareded with correct prefix
>Irfan Habib wrote:
>
>  
>
>>Hi,
>>
>>I'm building a client which sends a mtom message with
>>two attachements, now, the server itself replies with
>>another mtom attachment.
>>In the client side, how do I convert the response
>>message to an axiom_node, most examples I've seen go
>>like, converting the response to text:
>>
>>AXIS2_OM_NODE_SERIALIZE (ret_node, &env, om_output);
>>        buffer =
>>(axis2_char_t*)AXIS2_XML_WRITER_GET_XML(writer, &env);
>>    
>>

Please have a look at the server side code of the mtom sample.
If you implement the same logic on client side, then you can extract the 
attachment from the client side.

Samisa...

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message