axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal jayasinghe <deep...@gmail.com>
Subject Re: How to access incoming SOAP Message from outgoing SOAP message
Date Thu, 11 Oct 2007 06:18:37 GMT
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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message