The Handler interface requires that you implement handleRequest and handleResponse, plus a few others, but you can leave the implementation blank on either if not desired.
HTH, iksrazal --- Johan Walters <[EMAIL PROTECTED]> wrote: > About these programmatically created handlers -- do > they appear in > both the request and response flow? Would it also be > possible to add a > handler to just the request or reponse flow? > > Johan > > 2005/10/18, trebor iksrazal <[EMAIL PROTECTED]>: > > Don't At least one other way is via the > > HandlerRegistry, like so: > > > > //add ClientHandler to chain of events > > java.util.List list = > > svc.getHandlerRegistry().getHandlerChain(portQN); > > list.add(new > > > javax.xml.rpc.handler.HandlerInfo(ClientHandler.class,this.handlerConfig,null)); > > > > ClientHandler in this case simply implements > Handler . > > On the client side no wsdd necessary. > > > > HTH, > > iksrazal > > > > --- "Flores, Raul" <[EMAIL PROTECTED]> wrote: > > > > > > > > I found the following in this article: > > > > > > http://www.fawcette.com/javapro/2003_04/online/wsdl_kjones_04_29_03/defa > > > ult_pf.aspx > > > > > > > > > From above article: > > > > > > To create an Axis client that uses simple > sessions, > > > you need to > > > configure the Axis client-side framework to use > the > > > handler. The > > > procedure is similar to that for the server, but > > > instead of deploying to > > > the server, the config file is created locally. > You > > > do this by running > > > the org.apache.axis.utils.Admin application. You > run > > > the code like this: > > > > > > org.apache.axis.utils.Admin client deploy.wsdd > > > > > > > > > > > > > > > Once you have a client-config.wsdd, you can > > > configure the handler > > > section same as for the server side. > > > > > > Raul > > > > > > > > > -----Original Message----- > > > From: Coyne, Jimmy > [mailto:[EMAIL PROTECTED] > > > > > > Sent: Tuesday, October 18, 2005 11:45 AM > > > To: '[email protected]' > > > Subject: Axis 1.2 handlers > > > > > > Hi all, > > > Could any body show me some information on how > to > > > configure handlers on > > > the axis client side ? > > > Did a search on google , but came up with > nothing . > > > Thanks > > > Jimmy > > > > > > > > > "None are more hopelessly enslaved than those who > falsely believe they are free. -- Goethe" > > > > > > > > __________________________________ > > Start your day with Yahoo! - Make it your home > page! > > http://www.yahoo.com/r/hs > > > "None are more hopelessly enslaved than those who falsely believe they are free. -- Goethe" __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/
