@Test
public void testExtractActionFromContentType() throws Exception {

	String soapAction = "http://springframework.org/spring-ws/Action";
	String contentType = "application/soap+xml; action=" + soapAction;
	String result = SoapUtils.extractActionFromContentType(contentType);
	Assert.assertEquals("Invalid SOAP action", soapAction, result);
	contentType = "application/soap+xml; action	  = " + soapAction;
	result = SoapUtils.extractActionFromContentType(contentType);
	Assert.assertEquals("Invalid SOAP action", soapAction, result);
	contentType = "application/soap+xml; action=" + soapAction + " ; charset=UTF-8";
	result = SoapUtils.extractActionFromContentType(contentType);
	Assert.assertEquals("Invalid SOAP action", soapAction, result);
	contentType = "application/soap+xml; charset=UTF-8; action=" + soapAction;
	result = SoapUtils.extractActionFromContentType(contentType);
	Assert.assertEquals("Invalid SOAP action", soapAction, result);
}