Hi there
I've registered a ClientLifeCycleListener but it is not called when the
application makes a web service call.
I see the the listener is registered at runtime but the basic log messages to
the console are not logged from the listener.
ClientLifeCycleManager clm = bus.getExtension(ClientLifeCycleManager.class);
if (null != clm) {
clm.registerListener(new MonitoringClientListener());
System.out.println("*********** MonitoringListener registered");
}
and an implementation snippet of the listener:
public void clientCreated(Client client) {
System.out.println("*********************************************
clientCreated");
System.out.println(client.getEndpoint().getEndpointInfo().getName().toString());
}
Are there any special circumstances where the listener is not called? Maybe
depending on how the client/proxy is instantiated?
Thanks
Oli