Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5
-
Unknown
Description
when create client with spring bean like this:
<jaxws:client id="test_client"
address="http://localhost:8080/testlifecycle/services/GreeterService"
serviceClass="org.talend.esb.examples.sam.lifecycle.Greeter">
</jaxws:client>
clientCreated() of ClientLifeCycleListener can't be invoked;
if using java codes:
JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.setServiceClass(org.talend.esb.examples.sam.lifecycle.Greeter.class);
factory.setAddress("http://localhost:8080/testlifecycle/services/GreeterService");
client = (Greeter)factory.create();
...
clientCreated() of ClientLifeCycleListener has been invokded successful!