addKeysToDataCas(aCasList[instanceCount], dataFrame);
} else {
// We will call vinciCasDataConverter to convert response frame to a new
// CasData. BUT, we also need to preserve the document text from the request,
// since it may not be echoed by the service.
CasData newCasData = new CasDataImpl();
FeatureStructure casDataFs = this.getDocTextFeatureStructure(aCasList[instanceCount]);
if (casDataFs != null) {
newCasData.addFeatureStructure(casDataFs);
}
vinciCasDataConverter.appendVinciFrameToCasData(dataFrame.fgetAFrame("KEYS"),
newCasData);
aCasList[instanceCount] = newCasData;
}