ep0.setEndpoint("consumer");
ep0.setTargetService(new QName("http://servicemix.apache.org/samples/wsdl-first", "PersonService"));
ep0.setTargetEndpoint("service");
ep0.setLocationURI("http://localhost:8192/person/");
HttpProviderEndpoint ep1 = new HttpProviderEndpoint();
ep1.setService(new QName("http://servicemix.apache.org/samples/wsdl-first", "PersonService"));
ep1.setEndpoint("provider");
ep1.setLocationURI("http://localhost:8192/person/");
http.setEndpoints(new HttpEndpointType[] {ep0, ep1 });
container.activateComponent(http, "http");
container.start();