public WorkflowComponent(WsdlDefinitions wsdl, QName portTypeQName, String operationName) throws ComponentException {
super(wsdl, portTypeQName, operationName);
try {
// Get template ID from WSDL
WsdlPortType portType = this.wsdl.getPortType(portTypeQName.getLocalPart());
XmlElement templateIDElement = portType.xml().element(GPEL_NAMESPACE, WORKFLOW_TEMPLATE_ID_TAG);
String templateIDString = templateIDElement.requiredText();
this.templateID = new URI(templateIDString);
} catch (URISyntaxException e) {
throw new ComponentException(e);
}