Are you using Axis on the client side and not Axis2? Thanks, Keith.
On Tue, Feb 10, 2009 at 5:51 PM, Nihita Goel <nihita.g...@gmail.com> wrote: > Hi: >> >> I am trying to intercept the Client side SOAP messages. I have done the >> following for the same: >> >> 1. extended class BasicHandler and implemented the invoke method. At >> present it just contains a simple Syste.out.println method. >> >> 2. Since Client does not have a deployment file. Am doing the following in >> my client code. >> >> >> IRomanserviceLocator service = >> *new* IRomanserviceLocator(); >> >> IRoman port = service.getIRomanPort(); >> >> QName portName = service.getServiceName(); >> >> *HandlerRegistry registry = service.getHandlerRegistry();* >> >> *List handlerList = * >> *new** ArrayList(); * >> >> *handlerList.add( * >> *new HandlerInfo( MyHandler.class, null, null** ) );* >> >> *registry.setHandlerChain( portName, handlerList );* >> >> System. >> *out*.println( port.intToRoman(551) ); >> >> However it does not work. >> >> I tried implementing the Myhandler class by implementing the handler class >> also. >> >> Could anyone help ? >> >> Thanks >> >> >> >> > > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org