spring-framework / org.springframework.remoting.jaxws / LocalJaxWsServiceFactory

LocalJaxWsServiceFactory

open class LocalJaxWsServiceFactory

Factory for locally defined JAX-WS javax.xml.ws.Service references. Uses the JAX-WS javax.xml.ws.Service#create factory API underneath.

Serves as base class for LocalJaxWsServiceFactoryBean as well as JaxWsPortClientInterceptor and JaxWsPortProxyFactoryBean.

Author
Juergen Hoeller

Since
2.5

See Also
javax.xml.ws.ServiceLocalJaxWsServiceFactoryBeanJaxWsPortClientInterceptorJaxWsPortProxyFactoryBean

Constructors

<init>

LocalJaxWsServiceFactory()

Factory for locally defined JAX-WS javax.xml.ws.Service references. Uses the JAX-WS javax.xml.ws.Service#create factory API underneath.

Serves as base class for LocalJaxWsServiceFactoryBean as well as JaxWsPortClientInterceptor and JaxWsPortProxyFactoryBean.

Functions

createJaxWsService

open fun createJaxWsService(): Service

Create a JAX-WS Service according to the parameters of this factory.

getNamespaceUri

open fun getNamespaceUri(): String

Return the namespace URI of the service.

getServiceName

open fun getServiceName(): String

Return the name of the service.

getWsdlDocumentUrl

open fun getWsdlDocumentUrl(): URL

Return the URL of the WSDL document that describes the service.

setExecutor

open fun setExecutor(executor: Executor): Unit

Set the JDK concurrent executor to use for asynchronous executions that require callbacks.

setHandlerResolver

open fun setHandlerResolver(handlerResolver: HandlerResolver): Unit

Set the JAX-WS HandlerResolver to use for all proxies and dispatchers created through this factory.

setNamespaceUri

open fun setNamespaceUri(namespaceUri: String): Unit

Set the namespace URI of the service. Corresponds to the WSDL "targetNamespace".

setServiceFeatures

open fun setServiceFeatures(vararg serviceFeatures: WebServiceFeature): Unit

Specify WebServiceFeature objects (e.g. as inner bean definitions) to apply to JAX-WS service creation.

setServiceName

open fun setServiceName(serviceName: String): Unit

Set the name of the service to look up. Corresponds to the "wsdl:service" name.

setWsdlDocumentResource

open fun setWsdlDocumentResource(wsdlDocumentResource: Resource): Unit

Set the WSDL document URL as a Resource.

setWsdlDocumentUrl

open fun setWsdlDocumentUrl(wsdlDocumentUrl: URL): Unit

Set the URL of the WSDL document that describes the service.

Inheritors

LocalJaxWsServiceFactoryBean

open class LocalJaxWsServiceFactoryBean : LocalJaxWsServiceFactory, FactoryBean<Service>, InitializingBean

org.springframework.beans.factory.FactoryBean for locally defined JAX-WS Service references. Uses LocalJaxWsServiceFactory's facilities underneath.

Alternatively, JAX-WS Service references can be looked up in the JNDI environment of the Java EE container.