.wsdlDefinitions5ToWsdlDefintions3(streamEngine));
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_"
+ workflowname + "?wsdl";
System.out.println(endpoint);
String t = "5";
inputMessage.setObjectPart("endpoint", endpoint);
inputMessage.setObjectPart("startTime", t);
inputMessage.setObjectPart("endTime", t);
inputMessage.setObjectPart("epl", "select * from java.lang.String.win:length_batch(1)");
// inputMessage.setObjectPart("secs", t);
inputMessage.setObjectPart("topic", this.topicTextField.getText());
boolean res = operation.executeRequestResponseOperation(inputMessage,
outputMessage, faultMessage);
if (res) {
System.out.println(outputMessage.getObjectPart("return"));
} else {
System.out