I'm trying to establish a connection to a SAP Mobile Documents Server (Cloud Trial Instance) via an native android app. I'm using OpenCMIS for handling the connection. I'm trying basic stuff like the following to just get the available repositories:
SessionFactory sessionFactory = SessionFactoryImpl.newInstance();
Map parameters = new HashMap();
List<Repository> repositories = sessionFactory.getRepositories(parameters);
When this code is run, I'm promted a CmisConnectionException:
CmisConnectionException: Cannot access "https://mdocstrial-foobar.hana.ondemand.com/mcm/json": null
As far as I know there is no proxy involved. Is there anything I'm missing out?
I just found out, that when the exact same code is executed in an AsyncTask, another exception instead of the first one is thrown:
CmisConnectionException: Parsing exception!
Any ideas on that?