Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3723

clientCreated() of ClientLifeCycleListener can't be invoked on Spring created clients

    XMLWordPrintableJSON

Details

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

      Attachments

        1. testlifecycle_bundle.zip
          5 kB
          Xilai Dai
        2. testlifecycle.zip
          6 kB
          Xilai Dai

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              xldai Xilai Dai
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: