OpenNTF.org - XPages Extension Library
XPages Extension LibraryOpenDocument&Start=1&Count=300&Collapse=1[/Projects/pmt.nsf/ProjectView?ReadForm&Query=]

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: XPages Extension Library (Managed by Philippe Riand, Niklas Heidloff, Dave Delay, Akihiro Kosugi, Maire Kehoe, Tony McGuckin, John Piermarini, Martin Donnelly, James Quill, Darin Egan, Padraic Edwards, Andrejus Chaliapinas, Lorcan McDonald, Simon McLoughlin, Paul Hannan)
Actions:


Subject
 No Output from Domino Data Serviced URL
Categories
 
Posted by
 David B Welch on 11/03/2011 at 12:50 PM
Details

I have the lastest Ext Lib installed on 8.5.3 and am trying the Domino Data Service GET operation as described in the doc using these formats:

http://<server:port>/<databasename>/api/data

http://<server:port>/<databasename>/api/data/collections

http://<server:port>/<databasename>/api/data/collections/name/<viewname>

but, the GET request (using a browser) always returns an http 403, and no output.  The server logs show: "There are no custom JAX-RS providers defined in the application".

I am using the same server for other Ext Lib development, so, the libs seem to be installed correctly.  The view I'm using in the <viewname> url above is visible thru http.

The full log output pasted below.

The database has "Allows Domino Data Service" set to "Views and Documents", and the view has "Allow Domino Data Service Operations" checked.  There is not a Web Site document defined for the server (where the "Enabled Services" configuration is set)...but, not sure if this is required).

Shouldn't these URL's at least log/return some data?

Thanks,

David 

 

11/03/2011 01:29:28 PM HTTP JVM: 16 [Thread-6] INFO org.apache.wink.server.internal.servlet.RestServlet - The system is using the properties file located at /WEB-INF/das.properties named in the propertiesLocation init-param initialization parameter.
11/03/2011 01:29:28 PM HTTP JVM: 47 [Thread-6] INFO org.apache.wink.server.internal.servlet.RestServlet - The system is using the /WEB-INF/application JAX-RS application class named in the applicationConfigLocation init-param initialization parameter.
11/03/2011 01:29:28 PM HTTP JVM: 203 [Thread-6] INFO org.apache.wink.server.internal.application.ApplicationProcessor - The following JAX-RS application has been processed: org.apache.wink.server.internal.application.ServletWinkApplication
11/03/2011 01:29:28 PM HTTP JVM: 203 [Thread-6] INFO org.apache.wink.server.internal.log.Resources - The server has registered the JAX-RS resource class com.ibm.domino.das.resources.ViewDesignResource with @Path(data/collections/{key}/{value}/design).
11/03/2011 01:29:28 PM HTTP JVM: 203 [Thread-6] INFO org.apache.wink.server.internal.log.Resources - The server has registered the JAX-RS resource class com.ibm.domino.das.resources.ViewEntryResource with @Path(data/collections/{key}/{value}/unid/{docunid}).
11/03/2011 01:29:28 PM HTTP JVM: 203 [Thread-6] INFO org.apache.wink.server.internal.log.Resources - The server has registered the JAX-RS resource class com.ibm.domino.das.resources.DocumentResource with @Path(data/documents/unid/{unid}).
11/03/2011 01:29:28 PM HTTP JVM: 203 [Thread-6] INFO org.apache.wink.server.internal.log.Resources - The server has registered the JAX-RS resource class com.ibm.domino.das.resources.ViewEntryCollectionResource with @Path(data/collections/{key}/{value}).
11/03/2011 01:29:28 PM HTTP JVM: 203 [Thread-6] INFO org.apache.wink.server.internal.log.Resources - The server has registered the JAX-RS resource class com.ibm.domino.das.resources.ViewCollectionResource with @Path(data/collections).
11/03/2011 01:29:28 PM HTTP JVM: 203 [Thread-6] INFO org.apache.wink.server.internal.log.Resources - The server has registered the JAX-RS resource class com.ibm.domino.das.resources.DocumentCollectionResource with @Path(data/documents).
11/03/2011 01:29:28 PM HTTP JVM: 203 [Thread-6] INFO org.apache.wink.server.internal.log.Resources - The server has registered the JAX-RS resource class com.ibm.domino.das.resources.DbCollectionResource with @Path(data).
11/03/2011 01:29:28 PM HTTP JVM: 203 [Thread-6] INFO org.apache.wink.server.internal.log.Providers - There are no custom JAX-RS providers defined in the application.

 

Modification history
Entered 03-Nov-2011 12:50 by David B Welch. Last Modified <none> by Niklas Heidloff.
Feedback

Show details for  (David B Welch on 11/03/2011 12:50:37 PM ) (David B Welch on 11/03/2011 12:50:37 PM )
Check out other projects


Anonymous