java.lang.Object | ||
↳ | org.springframework.remoting.jaxws.AbstractJaxWsServiceExporter | |
↳ | org.springframework.remoting.jaxws.SimpleJaxWsServiceExporter |
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 inclued in Sun's JDK 1.6 but not with the standalone JAX-WS 2.1 RI.
For explicit configuration of JAX-WS endpoints with Sun's JDK 1.6
HTTP server, consider using SimpleHttpServerJaxWsServiceExporter
!
publish(String)
SimpleHttpServerJaxWsServiceExporter
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | DEFAULT_BASE_ADDRESS |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set the base address for exported services.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Calculate the full endpoint address for the given endpoint.
| |||||||||||
Actually publish the given provider endpoint.
| |||||||||||
Actually publish the given endpoint.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Set the base address for exported services. Default is "http://localhost:8080/".
For each actual publication address, the service name will be appended to this base address. E.g. service name "OrderService" -> "http://localhost:8080/OrderService".
publish(String)
Calculate the full endpoint address for the given endpoint.
endpoint | the JAX-WS Provider Endpoint object |
---|---|
serviceName | the given service name |
Actually publish the given provider endpoint. To be implemented by subclasses.
endpoint | the JAX-WS Provider Endpoint object |
---|---|
annotation | the service bean's WebServiceProvider annotation |
Actually publish the given endpoint. To be implemented by subclasses.
endpoint | the JAX-WS Endpoint object |
---|---|
annotation | the service bean's WebService annotation |