WSIFClient client = WSIFRuntime.getDefault()
.newClientFor(service, null);
WSIFPort port = client.getPort();
String operationName = "registerQuery";
WSIFOperation operation = port.createOperation(operationName);
WSIFMessage inputMessage = operation.createInputMessage();
WSIFMessage outputMessage = operation.createOutputMessage();
WSIFMessage faultMessage = operation.createFaultMessage();
// Somethign special for the control workflow
String endpoint = "http://pagodatree.cs.indiana.edu:17080/ode/processes/Control_"