// Provide a switchyard service
CompositeModel composite = _puller.pull("/HelloSwitchYard.xml", getClass());
CompositeServiceModel compositeService = composite.getServices().get(0);
_config = (RESTEasyBindingModel)compositeService.getBindings().get(0);
_domain.registerService(_config.getServiceName(), new HelloRESTEasyInterface(), new MockHandler().forwardInToOut());
_domain.registerServiceReference(_config.getServiceName(), new HelloRESTEasyInterface());
// Service exposed as WS
_resteasyInbound = new InboundHandler(_config, _domain);
_resteasyInbound.start();