Class JaxWsDynamicClientFactory


  • public class JaxWsDynamicClientFactory
    extends org.apache.cxf.endpoint.dynamic.DynamicClientFactory
    This class reads a WSDL and creates a dynamic client from it with JAX-WS functionality. This provides support for attachments and other useful things that come with JAX-WS. Use newInstance(org.apache.cxf.Bus) to obtain an instance, and then DynamicClientFactory.createClient(String) (or other overloads) to create a client. This factory uses the JAXB data binding.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.cxf.endpoint.dynamic.DynamicClientFactory

        org.apache.cxf.endpoint.dynamic.DynamicClientFactory.LocationFilterReader
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected JaxWsDynamicClientFactory​(org.apache.cxf.Bus bus)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean allowWrapperOps()  
      protected org.apache.cxf.endpoint.EndpointImplFactory getEndpointImplFactory()  
      static JaxWsDynamicClientFactory newInstance()
      Create a new instance using a default Bus.
      static JaxWsDynamicClientFactory newInstance​(org.apache.cxf.Bus b)
      Create a new instance using a specific Bus.
      • Methods inherited from class org.apache.cxf.endpoint.dynamic.DynamicClientFactory

        applySchemaCompilerOptions, cloneNode, compileJavaSrc, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createSchemaCompiler, getJaxbContextProperties, isSimpleBindingEnabled, setAllowElementReferences, setJaxbContextProperties, setSchemaCompilerOptions, setSimpleBindingEnabled, setTemporaryDirectory
    • Constructor Detail

      • JaxWsDynamicClientFactory

        protected JaxWsDynamicClientFactory​(org.apache.cxf.Bus bus)
    • Method Detail

      • getEndpointImplFactory

        protected org.apache.cxf.endpoint.EndpointImplFactory getEndpointImplFactory()
        Overrides:
        getEndpointImplFactory in class org.apache.cxf.endpoint.dynamic.DynamicClientFactory
      • allowWrapperOps

        protected boolean allowWrapperOps()
        Overrides:
        allowWrapperOps in class org.apache.cxf.endpoint.dynamic.DynamicClientFactory
      • newInstance

        public static JaxWsDynamicClientFactory newInstance​(org.apache.cxf.Bus b)
        Create a new instance using a specific Bus.
        Parameters:
        b - the Bus to use in subsequent operations with the instance
        Returns:
        the new instance
      • newInstance

        public static JaxWsDynamicClientFactory newInstance()
        Create a new instance using a default Bus.
        Returns:
        the new instance
        See Also:
        BusFactory.getDefaultBus()