Hi, Consider the case when the response message is lost due to transport failure, so the client resend the request, but the service can not just re-execute the transaction. So if the previous response message is persisted, then Axis can send back client with the right response message without re-invoke the service. Sometime you may want to re-execute the server response flow before return to client, so to handle at TOMCAT level may not be a good choice.
Thanks, Richard --- Srinath Perera <[EMAIL PROTECTED]> wrote: > 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 > > > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
