WsdlPortType firstPortType;
WsdlPortTypeOperation wsdlPortTypeOperation;
try {
wsdlPortTypeOperation = WSDLUtil.getFirstOperation(this.modifiedWorkflow.getWorkflowWSDL());
} catch (ComponentException 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);
}