org.jibx.ws.http.servlet
Class WsSpringServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.springframework.web.servlet.HttpServletBean
org.springframework.web.servlet.FrameworkServlet
org.jibx.ws.http.servlet.WsSpringServlet
- All Implemented Interfaces:
- Serializable, EventListener, Servlet, ServletConfig, ApplicationListener
public class WsSpringServlet
- extends FrameworkServlet
JiBX/WS web service request handler servlet that is configured using the Spring Framework.
This servlet expects a ServiceMapper
object to be available with the bean name defined by
DEFAULT_SERVICE_MAPPER_BEAN_NAME
. This bean name can be overridden using the method
setServiceMapperBeanName(String)
. The ServiceMapper
class maps the servlet request to a
Service
object.
As a special case, the request parameter "?WSDL" is recognized as a request for the WSDL service description.
- See Also:
- Serialized Form
Methods inherited from class org.springframework.web.servlet.FrameworkServlet |
destroy, getContextAttribute, getContextClass, getContextConfigLocation, getNamespace, getServletContextAttributeName, getWebApplicationContext, onApplicationEvent, refresh, setContextAttribute, setContextClass, setContextConfigLocation, setDispatchOptionsRequest, setDispatchTraceRequest, setNamespace, setPublishContext, setPublishEvents |
DEFAULT_SERVICE_MAPPER_BEAN_NAME
public static final String DEFAULT_SERVICE_MAPPER_BEAN_NAME
- Well-known name for the
ServiceMapper
bean in the bean factory for this namespace.
- See Also:
- Constant Field Values
WsSpringServlet
public WsSpringServlet()
getServiceMapperBeanName
public String getServiceMapperBeanName()
- Returns the bean name used to lookup a
ServiceMapper
.
- Returns:
- bean name
setServiceMapperBeanName
public void setServiceMapperBeanName(String serviceMapperBeanName)
- Sets the bean name used to lookup a
ServiceMapper
. Defaults to DEFAULT_SERVICE_MAPPER_BEAN_NAME
.
- Parameters:
serviceMapperBeanName
- the new name for the service mapper bean