InboundWire inboundWire = new InboundWireImpl();
inboundWire.setServiceContract(contract);
inboundWire.setContainer(reference);
for (Operation<?> operation : contract.getOperations().values()) {
InboundInvocationChain chain = createInboundChain(operation);
inboundWire.addInvocationChain(operation, chain);
}
OutboundWire outboundWire = new OutboundWireImpl();
// [rfeng] Check if the Reference has the binding contract
ServiceContract<?> bindingContract = reference.getBindingServiceContract();