class SoapMessageDispatcher extends MessageDispatcher {

	@Override
	protected boolean handleRequest(EndpointInvocationChain mappedEndpoint, MessageContext messageContext) {
		if (messageContext.getRequest() instanceof SoapMessage) {
			String[] actorsOrRoles = null;
			boolean isUltimateReceiver = true;
			if (mappedEndpoint instanceof SoapEndpointInvocationChain) {
				SoapEndpointInvocationChain soapChain = (SoapEndpointInvocationChain) mappedEndpoint;
				actorsOrRoles = soapChain.getActorsOrRoles();
				isUltimateReceiver = soapChain.isUltimateReceiver();
			}
			return handleHeaders(mappedEndpoint, messageContext, actorsOrRoles, isUltimateReceiver);
		}
		return true;
	}

}