// Service consumer or Reference binding
OutboundHandler soapProxyOutbound1 = new OutboundHandler(config);
soapProxyOutbound1.start();
_domain.registerService(_proxyConsumerService1.getServiceName(), new HelloWebServiceInterface(), soapProxyOutbound1);
ProxyModel proxy = new V1ProxyModel(SOAPNamespace.DEFAULT.uri());
proxy.setHost(host);
proxy.setPort("" + PROXYPORT);
config.setProxyConfig(proxy);
config.setEndpointAddress(serviceURL.toExternalForm());
config.setServiceName(_proxyConsumerService2.getServiceName());
// Service consumer or Reference binding
OutboundHandler soapProxyOutbound2 = new OutboundHandler(config);
soapProxyOutbound2.start();
_domain.registerService(_proxyConsumerService2.getServiceName(), new HelloWebServiceInterface(), soapProxyOutbound2);
proxy.setUser(PROXY_USER);
proxy.setPassword(PROXY_PWD);
config.setProxyConfig(proxy);
config.setServiceName(_proxyConsumerService3.getServiceName());
// Service consumer or Reference binding
OutboundHandler soapProxyOutbound3 = new OutboundHandler(config);