Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Tibor Blénessy
WSRP API
March 30, 2011 5:54 AM
Answer

Tibor Blénessy

Rank: New Member

Posts: 5

Join Date: December 24, 2010

Recent Posts

Hi,

I am using Liferay 6. I would like to use WSRP functionality, but I need to be able to deploy portlets throught wsrp programatically - for example to deploy portlet and make it available as remote portlet from ant task or from java code.

Is it possible? Is there any api I can use? Thanks.
Manish Kumar Gupta
RE: WSRP API
March 30, 2011 8:24 AM
Answer

Manish Kumar Gupta

LIFERAY STAFF

Rank: Liferay Master

Posts: 535

Join Date: May 15, 2008

Recent Posts

I think, you need to break it 2 parts -

1. Write a portlet with upload functionality which will copy the WAR file in the deploy directory of the server.

2. You will need to have a listner on deployer to publish the portlet for remote consumption. I think, 2nd part will be tough but it should be doable.