ServiceContract contract = new JavaServiceContract();
contract.setInterfaceClass(String.class);
List l = new ArrayList();
l.add(new DataType(null, null));
DataType in = new DataType(null, l);
Operation operation = new Operation(null, in, null, null);
try {
ref.createTargetInvoker(contract, operation);
} catch (Exception e) {
// expected
}