I have been trying to apply handlers to the client side. I did not create any client-side stubs, just used jboss-ws4ee-client.jar, axis-ws4ee.jar, etc. Everything seems ok, like the WS publication and simple client calls. Then I tried to register a data hanlder at the client side in the followng way:
ServiceFactory factory = ServiceFactory.newInstance();
Service service = factory.createService(wsdlUrl, qname);
HandlerRegistry hr = service.getHandlerRegistry();
but failed due to this exception:
Exception in thread "main" java.lang.UnsupportedOperationException: Components should not use the getHandlerRegistry() method.
Is this a known problem?
Any help is appreciated!