ibm-connectionsibm-sbt

SBT SDK Blogs and Activities API error


I setup the Social Business Toolkit against our development system. All APIs are working correct, except for the Blog and Activities API. For both i recieve within the Java APIs the following error:

org.apache.http.conn.EofSensorInputStream cannot be cast to org.w3c.dom.Document

The blog request url from the sbt is:

http://example.com/service/proxy/connections/blogs/homepage/feed/blogs/atom?ps=5&dojo.preventCache=13

But correct would be:

http://example.com/service/proxy/connections/blogs/atom?ps=5&dojo.preventCache=13

Any idea why that happens?


Solution

  • The blog path is customizable per each IBM Connection installation: to support different blogs homepages, there is a parameter exposed on the BlogService API.

    To change the default, try:

    BlogService svc = ...
    svc.defaultHomepageHandle = "";