addError("No 'id' defined for connector.", serviceTaskElement);
}
// parse mapping. TODO: Make this non-optional?
IoMapping ioMapping = parseInputOutput(connectorDefinition);
activity.setActivityBehavior(new ServiceTaskConnectorActivityBehavior(connectorId, ioMapping));
} else if (className != null && className.trim().length() > 0) {
if (resultVariableName != null) {
addError("'resultVariableName' not supported for " + elementName + " elements using 'class'", serviceTaskElement);
}