On 12/19/2010 09:36 PM, Burn Lewis wrote:
To see what typesystem is returned by your service you can turn up the
logging when invoking runRemoteAsyncAE.
and you'll see the service's typesystem as part of the metadata returned to
the client.

Ok, we do obtain an XML with <analysisEngineMetaData> that contains the full type system. It also shows up correctly in the CVD.

However, when trying to get the type system from a Java client, we only get the default UIMA type system, not the one from the AS service.

We initialize a UimaAsynchronousEngine and then call .getCAS() on it to obtain an empty CAS and .getTypeSystem() on that CAS. Getting all types via .getTypeIterator() shows only the base UIMA types. Our understanding was that the CAS obtained from the UimaAsynchronousEngine would have the AS service's type system.

Thanks,
Jens (and David - we work together in case you were getting confused with the names)

Reply via email to