Convenience base class for JAX-RPC servlet endpoint implementations.
Provides a reference to the current Spring application context,
e.g. for bean lookup or resource loading.
The Web Service servlet needs to run in the same web application
as the Spring context to allow for access to Spring's facilities.
In case of Axis, copy the AxisServlet definition into your web.xml,
and set up the endpoint in "server-config.wsdd" (or use the deploy tool).
This class does not extend WebApplicationContextSupport to not expose
any public setters. For some reason, Axis tries to resolve public setters
in a special way...
JAX-RPC service endpoints are usually required to implement an
RMI port interface. However, many JAX-RPC implementations accept plain
service endpoint classes too, avoiding the need to maintain an RMI port
interface in addition to an existing non-RMI business interface.
Therefore, implementing the business interface will usually be sufficient.
author: Juergen Hoeller since: 16.12.2003 See Also: ServletEndpointSupport.init See Also: ServletEndpointSupport.getWebApplicationContext See Also: org.springframework.web.context.support.WebApplicationObjectSupport |