>
> 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
>
>
>
>