XmlElement soapBody = body.element(XmlConstants.S_BODY);
WsdlPortTypeOperation wsdlPortTypeOperation;
try {
wsdlPortTypeOperation = WSDLUtil.getFirstOperation(this.modifiedWorkflow.getWorkflowWSDL());
} catch (UtilsException e) {
throw new MonitorException(e);
}
XmlElement part = soapBody.element(wsdlPortTypeOperation.getName());
XmlElement parameter = part.element(nodeID);
// TODO support complex type.
String value = parameter.requiredText();
return value;
}
// TODO
String message = "Couldn't find a notification of about the input with nodeID, " + nodeID;
throw new MonitorException(message);
}