>
> In the handler (logical one) I can see only
> public boolean handleMessage(LogicalMessageContext messageContext)
>
> How can I stop the exection at this point and to "reply" to the "caller"
> of certain ws method ?
You can replace the contents of the current message with a valid
response message and return false from the handle() method. This will
terminate handler processing and reverse the direction of the message
back to the client. (...unless it's a one-way message, in which case you
wouldn't be asking this question since there would be no return value to
cache.)
It may be easier, if possible, to cache the information in your own code
and only make the web service call occasionally, rather than
intercepting the web service call. Just a suggestion -- I know there are
cases where adding the handler is actually simpler.
Cheers,
Bobby