I have been trying for over a week to display a list in an XPage of blog entries from IBM Connections. The XPages server and the Connections server are in the same domain (for example the XPages are accessed through intranet.mycompany.com
and the Connections pages are accessed through connections.mycompany.com
). If I log into one in a web browser I am able to access the other without logging in again. The admins tell me this is because they have configured both to use the same ltpa tokens. The XPages server runs Domino 8.5.3 with the Extension Library installed (version 853.20121217-1354) and the Connections server runs version 4 with all the latest patches. Both have certificates for using HTTPS.
I can successfully get an XML list of blog entries in my web browser by using the following URL:
https://connections.mycompany.com/blogs/d33250c2-a80a-401c-b20d-d12d651b749c/feed/entries/atom?lang=en_gb&since=2013-03-02T08:30:00.000Z
My XPage has a Data View with the following code fragment:
<xe:dataView rows="10" id="dataView1"
value="connectionsAtom1" columnTitles="true" var="entry"
collapsibleDetail="true" detailsOnClient="true">
<xe:this.data>
<xe:connectionsData var="connectionsAtom1"
maxBlockCount="3" endpoint="connectionsLtpa">
<xe:this.serviceUrl>/blogs/d33250c2-a80a-401c-b20d-d12d651b749c/feed/entries/atom</xe:this.serviceUrl>
<xe:this.urlParameters>
<xe:urlParameter name="lang"
value="en_gb">
</xe:urlParameter>
<xe:urlParameter name="since"
value="2013-03-02T08:30:00.000Z">
</xe:urlParameter>
</xe:this.urlParameters>
</xe:connectionsData>
</xe:this.data>
(Note: I've hard coded serviceUrl
and the urlParameter
s here but they are actually computed in the real version.)
When I open this XPage in a web browser (yes, I am logged in) I get this error:
com.ibm.xsp.FacesExceptionEx: Error while reading the Connections entries
My questions are: am I wasting my time trying to use the connectionsLtpa
endpoint? If not then what am I doing wrong?