This API Caches the service document or the meta data document depending on the DocumentType and against specified URLKey.
public void storeDocument ( Object Document, int documentType, String URLKey ) throws CacheException
Try{
ILogger logger = new Logger();
ICache cache =new Cache(getApplicationContext(),logger);
cache.storeDocument(serviceDocumentObject, documentType.ServiceDocument, serviceDocUrl);
}
Catch(CacheException e){
}