• No Output from Domino Data Serviced URL

    By David B Welch 3 years ago

    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:////api/data

    http:////api/data/collections

    http:////api/data/collections/name/

    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 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.

     

    • HTTP 403 means the request is Forbidden ...

      By Dave Delay 3 years ago

      You said:

       

      "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)."

       

      If you are not using an Internet Site document, you must enable the data service in the server document.  Please try this:

       

      1) Open the server document.

      2) Select the Internet Protocols tab.

      3) Select the Domino Web Engine sub-tab.

      4) Look for "Domino Access Services" at the bottom of the form.

      5) Add "Data" to the list of "Enabled services"

       

      After making the above change you will need to refresh the HTTP task (tell http refresh).  I hope this helps.

       

      -- Dave