Configure Web Services for Remote Portlets (WSRP)

As i mentioned in the Web Services for Remote Portlet post, the WSRP architecture has two parts first you will have configure provider producer portlet and then consume it on the Target portal. Please follow these steps

Providing Producer Portlet

Please follow these steps to provider a portlet as WSRP service

  • Login into the producer portal and Go to Portal Administration console

  • Go to Portlet Management -> Portlet page. Now In the Manage Portlets portlet, select the portlet that you want to provide as WSRP service and click on the provide button of that portlet. Once you do that your portlet will be available as WSRP service from other portals

Consuming WSRP portlet

On the consumer portal server you will have to do two things first connect to the WSRP service of the producer and then create the proxy portlet for the portlet that you want to consume. Follow these steps to do that

  • Login into the consumer portal server and go to the portal administration console

  • Inside the Portal Admin Console go to Portlet Management -> Web Services. You will see Web Services Configuration Portlet like this click on the New Producer button

  • On the next screen it will ask you to configure a Producer, producer is nothing but URL pointing to services.wsdl file on the target portal server. I am pointing to same portal so i am using http://localhost:8080/wps/wsd/services.wsdl URL

  • Click next on next 2 screen to finish configuration and adding new producer

  • Once the connection is established its time to create actual proxy portlet. In the Portal Admin Console go to Portlet Management -> Web Modules screen. Now click on consume button

  • On the next screen it will list out all the producers that you have configured. In my case i had only one "Local Portla Server" producer. So click on that link

  • On the next screen it will display all the portlets that are published on Local server. In my case i have only one DijitTestPortlet so i selected it and said ok. This will create a local proxy to Dijit Portlet on my portal.

Once the proxy portlet is created you can use it as any other portlet on the consumer

Important Note You can use XMLAccess script to configure producer portal and create proxy portlets. It is useful in a situation when your producer portlet is down. The xmlaccess can still create local producer to it where as Admin portlet will check if the producer portlet is available on that URL if not it wont allow you to create producer for it. No matter how you configure it you need producer portal and portlet to be up and running in order to get WSRP working.


manu said...

VEry nice explanation dear

srjwebsolutions said...

We are leading responsive website designing and development company in Noida.
We are offering mobile friendly responsive website designing, website development, e-commerce website, seo service and sem services in Noida.

Responsive Website Designing Company in Noida
Website Designing Company in Noida
SEO Services in Noida
SMO Services in Noida

Vikas Chaudhary said...

Battery Mantra is Authorized exide car battery dealer in Noida and Greater Noida. We are providing our service in Indirapuram, Delhi, Ashok Nagar.

Exide Battery Dealer in Noida
Battery Dealer in Noida
Authorized Battery Dealer in Noida
Car Battery Dealer in Noida
Car Battery Dealer
Exide Battery Dealer

EG MEDI said... is online medical store pharmacy in laxmi nagar Delhi. You can Order prescription/OTC medicines online.
Cash on Delivery available. Free Home Delivery

Online Pharmacy in Delhi
Buy Online medicine in Delhi
Online Pharmacy in laxmi nagar
Buy Online medicine in laxmi nagar
Onine Medical Store in Delhi
Online Medical store in laxmi nagar
Online medicine store in delhi
online medicine store in laxmi nagar
Purchase Medicine Online
Online Pharmacy India
Online Medical Store