assertEquals(HttpServletResponse.SC_BAD_REQUEST, state);
FileUtil.copyInputStream(method.getResponseBodyAsStream(), System.out);
}
public void testSoap() throws Exception {
EchoComponent echo = new EchoComponent();
echo.setService(new QName("urn:test", "echo"));
echo.setEndpoint("echo");
container.activateComponent(echo, "echo");
HttpSpringComponent http = new HttpSpringComponent();
HttpEndpoint ep1 = new HttpEndpoint();