Re: How to access incoming SOAP Message from outgoing SOAP message

2007-10-10 Thread Deepal jayasinghe
Gia Hieu Dinh wrote:
> Hi, 
> I have encountered a difficult situation. I have written a simple AXIS2
> service that returns an image and another AXIS2 handler to resize the
> outgoing image. 
Why cant you do the resizing inside the service ? any particular reason
for not doing that?
> However, when I attach the resolution of the image to
> incoming SOAP message, I don't know how to access it from the outgoing SOAP
> message (i.e. using messageContext or any other thing).

>  I suppose the
> original service does not need to understand, acknowledge about the
> resolution. The resize is done using the handler. 
http://wso2.org/library/2084
> Is there anyway to pass
> the information from the Incoming Message to the Outgoing Message without
> invoking the Service itself? 
>   
Hmm , yes . You can do that by writing your own message receiver  ,
which will not invoke the service but will invoke the out flow
(engine.send())
> Thank you so much.
> Harry
>   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to access incoming SOAP Message from outgoing SOAP message

2007-10-09 Thread Gia Hieu Dinh

Hi, 
I have encountered a difficult situation. I have written a simple AXIS2
service that returns an image and another AXIS2 handler to resize the
outgoing image. However, when I attach the resolution of the image to
incoming SOAP message, I don't know how to access it from the outgoing SOAP
message (i.e. using messageContext or any other thing). I suppose the
original service does not need to understand, acknowledge about the
resolution. The resize is done using the handler. Is there anyway to pass
the information from the Incoming Message to the Outgoing Message without
invoking the Service itself? 
Thank you so much.
Harry
-- 
View this message in context: 
http://www.nabble.com/How-to-access-incoming-SOAP-Message-from-outgoing-SOAP-message-tf4598836.html#a13130152
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]