Class WSDLServiceFactoryBean

java.lang.Object
org.apache.cxf.service.factory.AbstractServiceFactoryBean
org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
org.apache.camel.component.cxf.jaxws.WSDLServiceFactoryBean

public class WSDLServiceFactoryBean extends org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
A service factory bean class that create a service factory without requiring a service class (SEI). It will pick the first one service name and first one port/endpoint name in the WSDL, if there is service name or port/endpoint name setted.
  • Field Summary

    Fields inherited from class org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean

    WS_FEATURES

    Fields inherited from class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean

    ELEMENT_NAME, ENDPOINT_CLASS, EXTRA_CLASS, FORCE_TYPES, GENERIC_TYPE, HEADER, HOLDER, METHOD, METHOD_ANNOTATIONS, METHOD_PARAM_ANNOTATIONS, MODE_INOUT, MODE_OUT, PARAM_ANNOTATION, parameterizedTypes, RAW_CLASS, schemaLocationMapping, serviceClass, serviceType, WRAPPERGEN_NEEDED, wsdlURL

    Fields inherited from class org.apache.cxf.service.factory.AbstractServiceFactoryBean

    dataBindingSet, schemaLocations
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    WSDLServiceFactoryBean(Class<?> serviceClass)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     
    org.apache.cxf.endpoint.Endpoint
    createEndpoint(org.apache.cxf.service.model.EndpointInfo ei)
     
    protected org.apache.cxf.service.invoker.Invoker
     
    protected javax.wsdl.Definition
     
    protected void
     
    void
    setServiceClass(Class<?> serviceClass)
     

    Methods inherited from class org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean

    bindOperation, buildServiceFromClass, create, createOperation, getBeanClass, getExtraClass, getJaxWsImplementorInfo, getProviderParameterType, getWsFeatures, initConfiguration, initializeFaultInterceptors, initializeParameter, initializeWSDLOperation, initializeWSDLOperationsForProvider, reset, setJaxWsConfiguration, setJaxWsImplementorInfo, setWsFeatures

    Methods inherited from class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean

    addFault, checkForElement, createBareMessage, createDefaultDataBinding, createEndpoints, createFaultForException, createInputWrappedMessageParts, createInterface, createMessageParts, createOutputMessageName, createOutputWrappedMessageParts, createServiceInfo, createWrappedSchema, getAction, getAnonymousWrapperTypes, getConfigurations, getEndpointInfo, getEndpointName, getEndpointName, getExecutor, getFaultName, getFeatures, getHolderType, getIgnoredClasses, getIgnoredMethods, getInParameterName, getInPartName, getInputMessageName, getInterfaceInfo, getInterfaceName, getInvoker, getMethodDispatcher, getOperationName, getOutParameterName, getOutPartName, getProperties, getQualifyWrapperSchema, getRequestWrapper, getRequestWrapperClassName, getResponseWrapper, getResponseWrapperClassName, getServiceClass, getServiceConfigurations, getServiceName, getServiceNamespace, getServiceQName, getServiceQName, getStyle, getWrapped, getWrapperPartMaxOccurs, getWrapperPartMinOccurs, getWsdlURL, hasOutMessage, hasWrappedMethods, initializeClassInfo, initializeDefaultInterceptors, initializeFaults, initializeServiceConfigurations, initializeServiceModel, initializeWrappedSchema, isAnonymousWrapperTypes, isAsync, isFromWsdl, isHeader, isHolder, isInOutParam, isInParam, isMatchOperation, isOutParam, isPopulateFromClass, isQualifyWrapperSchema, isRPC, isValidMethod, isWrapped, isWrapped, isWrapperPartNillable, isWrapperPartQualified, processTypes, setAnonymousWrapperTypes, setConfigurations, setEndpointName, setExecutor, setFeatures, setIgnoredClasses, setIgnoredMethods, setInvoker, setMethodDispatcher, setPopulateFromClass, setProperties, setQualifyWrapperSchema, setSchemaLocations, setServiceConfigurations, setServiceName, setServiceProperties, setServiceType, setValidate, setWrapped, setWsdlURL, setWsdlURL, updateBindingOperation, validateServiceModel

    Methods inherited from class org.apache.cxf.service.factory.AbstractServiceFactoryBean

    getBus, getDataBinding, getDataBinding, getService, getSessionState, initializeDataBindings, sendEvent, setBus, setDataBinding, setService

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WSDLServiceFactoryBean

      public WSDLServiceFactoryBean()
    • WSDLServiceFactoryBean

      public WSDLServiceFactoryBean(Class<?> serviceClass)
  • Method Details

    • setServiceClass

      public void setServiceClass(Class<?> serviceClass)
      Overrides:
      setServiceClass in class org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
    • getDefinition

      protected javax.wsdl.Definition getDefinition(String url)
    • buildServiceFromWSDL

      protected void buildServiceFromWSDL(String url)
      Overrides:
      buildServiceFromWSDL in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
    • createEndpoint

      public org.apache.cxf.endpoint.Endpoint createEndpoint(org.apache.cxf.service.model.EndpointInfo ei) throws org.apache.cxf.endpoint.EndpointException
      Overrides:
      createEndpoint in class org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
      Throws:
      org.apache.cxf.endpoint.EndpointException
    • initializeWSDLOperations

      protected void initializeWSDLOperations()
      Overrides:
      initializeWSDLOperations in class org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
    • checkServiceClassAnnotations

      protected void checkServiceClassAnnotations(Class<?> sc)
      Overrides:
      checkServiceClassAnnotations in class org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
    • createInvoker

      protected org.apache.cxf.service.invoker.Invoker createInvoker()
      Overrides:
      createInvoker in class org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean