WSRP in Liferay

Liferay includes a WSRP consumer able to consume WSRP as produced by Sakai 2.1.0.

Consuming WSRP from Sakai 2.1.0 002 in Liferay 3.6.1 Professional

As a sanity check of Sakai's WSRP production, I've demonstrated it being consumed by Liferay 3.6.1.

Modified liferay's portlet.xml to hack the WSRP consumer to point at my Sakai 2.1.0 002 instance (instead of the Oracle example instance it defaults to):

Hacked Liferay portlet.xml
<portlet>
  <portlet-name>68</portlet-name>
  <display-name>WSRP Proxy</display-name>
  <portlet-class>com.liferay.portlet.wsrp.WSRPProxyPortlet</portlet-class>
  <init-param>
    <name>edit-action</name>
    <value>/wsrp/edit</value>
  </init-param>
  <expiration-cache>0</expiration-cache>
  <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>edit</portlet-mode>
    <portlet-mode>help</portlet-mode>
  </supports>
  <resource-bundle>com.liferay.portlet.StrutsResourceBundle</resource-bundle>
  <portlet-preferences>
    <!-- Sakai Producer -->
    <preference>
      <name>wsrp-service-url</name>
      <value>http://localhost:8080/sakai-wsrp-producer/wsrp4j/</value>
    </preference>
    <preference>
       <name>markup-endpoint</name>
       <value>WSRPBaseService</value>
    </preference>
    <preference>
      <name>service-description-endpoint</name>
      <value>WSRPServiceDescriptionService</value>
    </preference>
    <preference>
      <name>registration-endpoint</name>
      <value>WSRPRegistrationService</value>
    </preference>
    <preference>
      <name>portlet-management-endpoint</name>
      <value>WSRPPortletManagementService</value>
    </preference>
    <preference>
      <name>portlet-handle</name>
      <value>sakai.announcements</value>
    </preference>

  </portlet-preferences>
</portlet>

After configuring the WSRP consumer portlet in this way, adding a WSRP Proxy instance to the layout ENTR:renders the announcements tool.