IDataProcessor dataProcessorProxy = (IDataProcessor) remoteService
.getProxy();
System.out.println("Calling remote service with input data="
+ inputData);
// And then call it
String result = dataProcessorProxy.processData(inputData);
// And print out results
System.out.println("\tremote service result=" + result);
} catch (ECFException e) {
e.printStackTrace();
}