Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3699

Add WebServiceFeature for creating JAXWS Service in a new CXF Bus


    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • jbossws-cxf-4.2.1
    • None
    • jbossws-cxf
    • None

      The issue at https://issues.jboss.org/browse/JBWS-3692 made it clear that there are scenarios in which even a plain JAXWS user might not want a client to be created in the current thread bus (which is the default behavior). In JBWS-3692 the reason was related to the WSDLManager cache in the bus, but we could possibly have other reasons.
      So, leveraging JAXWS 2.2 option for setting WebServiceFeature at JAXWS Service creation, we could provide a feature for requesting a new bus to created and used to build the Service, without requiring the user to manually deal with Apache CXF Bus / BusFactory instances.

            rhn-support-asoldano Alessio Soldano
            rhn-support-asoldano Alessio Soldano
            0 Vote for this issue
            1 Start watching this issue