I’m trying to use the Java code sample provided at https://docs.openmicroscopy.org/omero/5.4.0/_downloads/JSONClient.java (thanks, Dominik).
I can get the version, service URLs, and the CSRF token from our server just fine. I can log on and get a session ID back.
But I can’t get any other information. The generated URLs work in a browser. I’ve tried to get the list of images given a dataset id (no data returned) and a particular image given an image id (I get back a message like “Cannot download archived file because Images not found (ids: [‘21871’])”). Although the URLs work in a browser.
I noticed that the sessionID returned on the log in does not match the sessionID in the HttpClient object’s cookie. Also, the csrftoken cookie in the HttpClient object does not match token I got back from the call to server. Does this matter?
Did I miss an obvious step here? It almost seems like the server I logged into OK is not the same server I’m querying for image data.
Any help would be appreciated, of course.