How to make a portlet WSRP enabled?

718 Views Asked by At

I have a liferay java portlet, I want to make it WSRP enabled. Is there any specific configuration files that I have to include apart from the tag true in liferay-portlet.xml

Any pointers would be helpful.

Thanks,Lokn

1

There are 1 best solutions below

2
On

Adding the tag to liferay-portlet.xml is only part of the solution. For everything to work correctly so your own portlet will be available remotely via WSRP you need to follow these instructions: WSRP guide.

This basically comes down to:

  • Install the WSRP plugin
  • Add producers
  • Enable WSRP for custom portlets that you want to configure as a producer