 |
OpenPortal? WSRP User Guide
Here is the OpenPortal? WSRP User Guide. This is just a basic information, certain OpenPortal? WSRP milestone will have some features previews. Please refer to the download page for more details on specific feature preview guides.
Step 1: Creating WSRP Producer
The WSRP Producer Admin portlet provides the necessary GUI for creating and managing WSRP Producers. There exists a default producer called "SampleProducer" which is disabled.
- To enable this producer. Edit the producer by clicking on the link.
- Publish some portlets i.e move the portlets from "Unpublished Portlets" list to "Published Portlets" list.
- Enable the producer.
- Click save to save the changes.
Note : By default the above created WSRP exports both WSRP version 1.0 and WSRP version 2.0 service in the exported WSDL. Check the WSDL URL, it'll have both v1 and v2 service exported.
Step 2 : Creating WSRP Consumer
You can create a WSRP Consumer by using the WSRP Consumer Admin Portlet. To create a consumer you'd need to have a producer URL. You can choose to use the "SampleProducer" which we created in the above step. To create a consumer
- Click "New" on the WSRP Consumer Portlet
- Provide the WSRP Producer WSDL URL and click "Get info"
- The WSRP Consumer automatically recognizes version 1.0, 2.0 or combined(1.0 and 2.0) WSDL and provides the user an option to choose a version.
- Choose version 2.0/v2 to create a WSRP version 2.0 Consumer.
- If the producer requires registration, provide the details
- Click finish to complete the Consumer creation.
Step 3: Creating Remote/WSRP Portlets.
The WSRP Consumer Admin portlets provides a "Create" link in each of the available Consumers
- Click the "Create" to create a channel
- Choose a name for the portlet
- Choose the remote portlet handle which you want to consumer
- Click finish.
Step 4: Viewing Remote/WSRP Portlets
Click the WSRP tab on the portlet container driver to view the remote portlet that we just created.
Related documents:
- Understanding WSRP - work in progress
- WSRP installation on Tomcat
- WSRP installation on Glassfish
- Sample Portlets from OpenPortal Portlet Repository
-- Main.t_rajesh - 06 Mar 2008
|