Tuesday, May 15, 2012

Webcenter Portlet Producer Example

I have created an html portlet application and registered in webcenter spaces. Please find the steps given below.

HTML Portlet Development.   


1. Create a Portlet producer application in JDeveloper.




2.    Create a Standard based Java Portlet.

3.        Edit view.jsp, and add the required code


4.    Run the application(Right click view.jsp and select run) and get the webservice path from the application url.




 http://127.0.0.1:7101/PortletApp-Portlets-context-root/


 http://127.0.0.1:7101/PortletApp-Portlets-context-root/portlets/wsrp1?WSDL


 5.      Login into webcenter spaces portal with admin user and click on Administration/Admin link. Go to configuration tab and select portlet producer.
Register the portlet application using above wsdl url as a wsrp portlet. After registering the portlet, the portlet will be available in resource catalog.
Edit the spaces page and click on Add contents, navigate to the portlets repository folder and add the portlet in to page.


No comments:

Post a Comment