spring-framework / org.springframework.remoting.jaxws

Package org.springframework.remoting.jaxws

Types

AbstractJaxWsServiceExporter

abstract class AbstractJaxWsServiceExporter : BeanFactoryAware, InitializingBean, DisposableBean

Abstract exporter for JAX-WS services, autodetecting annotated service beans (through the JAX-WS javax.jws.WebService annotation).

Subclasses need to implement the #publishEndpoint template methods for actual endpoint exposure.

JaxWsPortProxyFactoryBean

open class JaxWsPortProxyFactoryBean : JaxWsPortClientInterceptor, FactoryBean<Any>

org.springframework.beans.factory.FactoryBean for a specific port of a JAX-WS service. Exposes a proxy for the port, to be used for bean references. Inherits configuration properties from JaxWsPortClientInterceptor.

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.

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.

SimpleHttpServerJaxWsServiceExporter

open class SimpleHttpServerJaxWsServiceExporter : AbstractJaxWsServiceExporter

Simple exporter for JAX-WS services, autodetecting annotated service beans (through the JAX-WS javax.jws.WebService annotation) and exporting them through the HTTP server included in Sun's JDK 1.6. The full address for each service will consist of the server's base address with the service name appended (e.g. "http://localhost:8080/OrderService").

Note that this exporter will only work on Sun's JDK 1.6 or higher, as well as on JDKs that ship Sun's entire class library as included in the Sun JDK. For a portable JAX-WS exporter, have a look at SimpleJaxWsServiceExporter.

SimpleJaxWsServiceExporter

open class SimpleJaxWsServiceExporter : AbstractJaxWsServiceExporter

Simple exporter for JAX-WS services, autodetecting annotated service beans (through the JAX-WS javax.jws.WebService annotation) and exporting them with a configured base address (by default "http://localhost:8080/") using the JAX-WS provider's built-in publication support. The full address for each service will consist of the base address with the service name appended (e.g. "http://localhost:8080/OrderService").

Note that this exporter will only work if the JAX-WS runtime actually supports publishing with an address argument, i.e. if the JAX-WS runtime ships an internal HTTP server. This is the case with the JAX-WS runtime that's included in Sun's JDK 6 but not with the standalone JAX-WS 2.1 RI.

For explicit configuration of JAX-WS endpoints with Sun's JDK 6 HTTP server, consider using SimpleHttpServerJaxWsServiceExporter!

Exceptions

JaxWsSoapFaultException

open class JaxWsSoapFaultException : SoapFaultException

Spring SoapFaultException adapter for the JAX-WS javax.xml.ws.soap.SOAPFaultException class.