TestTransformHandler serviceHandler = new TestTransformHandler();
ServiceReference service = _domain.createInOnlyService(serviceName, serviceHandler);
// Create the exchange and invoke the service
MockHandler invokerHandler = new MockHandler();
Exchange exchange = service.createExchange(invokerHandler);
// Set the from and to message names. NOTE: setting to the to message
// name will not be necessary once the service definition is available
// at runtime
Message msg = exchange.createMessage().setContent(input);