ep0.setEndpoint("consumer");
ep0.setTargetService(new QName("http://servicemix.apache.org/samples/wsdl-first", "EchoService"));
ep0.setTargetEndpoint("service");
ep0.setLocationURI("http://localhost:8192/PersonService/");
HttpSoapProviderEndpoint ep1 = new HttpSoapProviderEndpoint();
ep1.setService(new QName("http://servicemix.apache.org/samples/wsdl-first", "PersonService"));
ep1.setEndpoint("soap");
ep1.setWsdl(new ClassPathResource("person.wsdl"));
ep1.setValidateWsdl(false); // TODO: Soap 1.2 not handled yet
ep1.setUseJbiWrapper(true);
ep1.setSoapAction("http://servicemix.apache.org/samples/wsdl-first/PersonService/GetPerson");
http.setEndpoints(new HttpEndpointType[] {ep0, ep1 });
container.activateComponent(http, "http");
container.start();