Hi Richard
I am strongly belive that doing so ..... changing the execution flow
by the handlers is against axis semantics.
what u need to do is sounds like caching......(the context of the
caching is "n this case, only when the reply message is not ready, the
service will be called. If the reply is already there, the request
handler will put the reply into the reply message directly and return it
client." your words :) )
if caching is what u reqired and it's usage can be justifiable, I belive
what you should do is handle it at TOMCAT(sever level).
hope this helps.
Srinath
On Sun, 2003-09-21 at 23:01, Richard Zhu wrote:
> Hi,
>
> I am new to Axis and would like to ask for your help.
>
> Is there a way I can let the Axis Server Engine bypass
> the invocation of the service after its request
> handlers have been executed, but I don't want to reply
> with fault message, instead, the reply message is
> pre-generated beforehand and retrieved by the last
> request handler. In this case, only when the reply
> message is not ready, the service will be called. If
> the reply is already there, the request handler will
> put the reply into the reply message directly and
> return it client.
>
> Another related question is that is there a way for a
> server request handler to change the endpoint
> (service) based on certain conditions. If it can be
> done, I may create a dummy service to solve the above
> problem.
>
> Any suggestions are appreciated.
>
> Thanks,
> Richard
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>