• REST Service for Notes/Expeditor

    By Ralf Ludwig 1 decade ago

    The REST Service opens great possibilities to the XPages. But what, if the users want to use the XPages application offline and locally? In that case the REST Services can't be used for the XPages development at the moment.

    Please make the REST Service available to the Lotus Notes Client too. If shouldn't be a complex task, because below the Notes Client the Expeditor is running with a web-container, as it is in the Domino 8.5.3 now. As far as I have understood, the REST Service is an OSGI servlet that is running in that web-container.

    • Please be more specific about the use case ...

      By Dave Delay 1 decade ago

      Are you using the Domino data service or the REST services control?

      The Domino data service is accessible through a URL like this:

      http://{host}/{database}/api/data/collections

      It can be accessed from an XPage, but the data service was primarily designed to be used by other clients including Dojo/jQuery apps, native mobile apps, and server-side scripts (PHP, Ruby, etc.).  It's a way to access the Domino server remotely from any platform that can make an HTTP request.

      The REST services control is designed to be used from an XPage.  For example, you can add a REST services control to an XPage and then bind it to a Dojo grid.  You can configure the control to host different types of services (view service, document service, etc.).  Many of the XPage services use the same JSON representation as the Domino data service.

      It's true that you cannot take the Domino data service offline, but the REST services control is part of XPages itself.  You should be able to take any XPage application offline including one that uses the REST services control.  Have you tried this?

      Thanks.
       

      -- Dave