.create("http://host/2005/11/09/workflowinstace"));
leadContext.setNodeId("decoder1");
leadContext.setTimeStep("5");
leadContext.setServiceId("decoder-instance-10");
WSIFClient wclient = WSIFRuntime.newClient(wsdlLoc).addHandler(
new StickySoapHeaderHandler("use-lead-header", leadContext))
.useAsyncMessaging(correlator).setAsyncResponseTimeoutInMs(
33000L); // to simplify testing set to just few
// seconds
WSIFPort port = wclient.getPort();
WSIFOperation operation = port.createOperation("approve");
WSIFMessage inputMessage = operation.createInputMessage();
WSIFMessage outputMessage = operation.createOutputMessage();
WSIFMessage faultMessage = operation.createFaultMessage();