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.JaxWsServiceFactoryBeanA 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.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
-
-
Constructor Summary
Constructors Constructor Description WSDLServiceFactoryBean()WSDLServiceFactoryBean(Class<?> serviceClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbuildServiceFromWSDL(String url)protected voidcheckServiceClassAnnotations(Class<?> sc)org.apache.cxf.endpoint.EndpointcreateEndpoint(org.apache.cxf.service.model.EndpointInfo ei)protected org.apache.cxf.service.invoker.InvokercreateInvoker()protected javax.wsdl.DefinitiongetDefinition(String url)protected voidinitializeWSDLOperations()voidsetServiceClass(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
-
-
-
-
Constructor Detail
-
WSDLServiceFactoryBean
public WSDLServiceFactoryBean()
-
WSDLServiceFactoryBean
public WSDLServiceFactoryBean(Class<?> serviceClass)
-
-
Method Detail
-
setServiceClass
public void setServiceClass(Class<?> serviceClass)
- Overrides:
setServiceClassin classorg.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
-
getDefinition
protected javax.wsdl.Definition getDefinition(String url)
-
buildServiceFromWSDL
protected void buildServiceFromWSDL(String url)
- Overrides:
buildServiceFromWSDLin classorg.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:
createEndpointin classorg.apache.cxf.jaxws.support.JaxWsServiceFactoryBean- Throws:
org.apache.cxf.endpoint.EndpointException
-
initializeWSDLOperations
protected void initializeWSDLOperations()
- Overrides:
initializeWSDLOperationsin classorg.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
-
checkServiceClassAnnotations
protected void checkServiceClassAnnotations(Class<?> sc)
- Overrides:
checkServiceClassAnnotationsin classorg.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
-
createInvoker
protected org.apache.cxf.service.invoker.Invoker createInvoker()
- Overrides:
createInvokerin classorg.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
-
-