ep.setWsdl(new ClassPathResource("HelloWorld-DOC.wsdl"));
ep.setTargetService(new QName("urn:test", "target"));
comp.setEndpoints(new CxfBcEndpointType[] {ep});
jbi.activateComponent(comp, "servicemix-cxfbc");
MockServiceComponent echo = new MockServiceComponent();
echo.setService(new QName("urn:test", "target"));
echo.setEndpoint("endpoint");
echo.setResponseXml("<jbi:message xmlns:jbi='http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper'><jbi:part>"
+ "<ns2:HelloResponse xmlns:ns2='uri:HelloWorld'><text>helloffang</text></ns2:HelloResponse></jbi:part></jbi:message>");
jbi.activateComponent(echo, "echo");
URL wsdl = getClass().getResource("/HelloWorld-DOC.wsdl");
assertNotNull(wsdl);
GetMethod getMethod = new GetMethod("http://localhost:8080");