This chapter provides information required for consuming Content Portlet Suite (CPS) portlets. It covers the following topics:
Important:
User IDs on the content server must correspond with user IDs on your portal server.This section provides information on consuming CPS portlets in WebCenter Spaces:
These servers and components are required for the installation:
Oracle WebCenter Spaces 11g Release 1 (as consumer)
Oracle WebCenter Content Server 11g Release 1, Oracle Content Server 11g Release 1, or Oracle Content Server 10g Release 3
These WSRP producers are supported with WebCenter Spaces as consumer:
Oracle WebCenter Portal 11g Release 1. See Section 3.1, "Oracle WebCenter Portal as Producer" for more information.
This section describes how to consume CPS portlets on Oracle WebCenter Spaces.
Login to WebCenter Spaces at:
http://Host_Name:Port/webcenter/spaces/
Create a new page. Select Page Actions, then Edit Page, and then click Add Content.
A new dialog displays. Click on Portlets and then select the WSRP Producer that you registered.
Select the portlets you want to include.
This section provides information for consuming CPS portlets on Oracle WebCenter Interaction 10g Release 3.
These servers and components are required for the installation:
Oracle WebCenter Interaction 10g Release 3 (as consumer)
WSRP Consumer component
The WebCenter Interaction WSRP Consumer component must be installed to configure WebCenter Interaction as a WSRP consumer. Refer to your WebCenter Interaction installation guide for information on installing this component.
JSR 168 Container
Refer to the WebCenter Interaction Installation Guide for information on installing this component.
Oracle WebCenter Content Server 11g Release 1, Oracle Content Server 11g Release 1, or Oracle Content Server 10g Release 3
These WSRP producers are supported with Oracle WebCenter Interaction as consumer:
Oracle WebLogic Portal 10g Release 3. See Section 3.2, "Oracle WebLogic Portal as Producer" for more information.
This section describes how to consume CPS portlets on Oracle WebCenter Interaction.
Start WebCenter Interaction and log in to the portal as an administrator.
Click Administration.
Click on the folder where you want to store the remote portlets.
From the Create Object drop-down list, select Portlet.
In the Choose Template or WebService dialog, enable the WSRP consumer option.
The WSRP Consumer component must be installed for this option to display. See Section 4.2.1, "Installation Requirements" for more information.
Click OK.
In the Create Portlet dialog, enable the Suppress Portlet Title Bar option.
In the Configure this Portlet section, click Edit.
Enter the WSDL link of the WSRP-enabled CPS producer.
Click Next.
Choose the CPS remote portlet and click Finish.
In the Create Portlet dialog, click Finish.
In the Save Object dialog, provide a name and description and then save the portlet object to the desired folder.
Repeat these steps to add the other CPS remote portlets.
This section provides information for consuming CPS portlets on Oracle WebLogic Portal 10g Release 3.
These servers and components are required for the installation:
Oracle WebLogic Portal 10g Release 3 (as consumer)
Oracle WebCenter Content Server 11g Release 1, Oracle Content Server 11g Release 1, or Oracle Content Server 10g Release 3
These WSRP producers are supported with WebLogic Portal as consumer:
Oracle WebLogic Portal 10g Release 3. See Section 3.2, "Oracle WebLogic Portal as Producer" for more information.
This section describes how to consume CPS portlets on WebLogic Portal.
Launch Workshop for WebLogic.
Select File, then New, and then Project.
In the New Project dialog, expand the WebLogic Portal node.
Click Next.
The New Portal Web Project wizard displays.
In the Create a New Oracle WebLogic Portal Web Project step, enter a project name (for example, CPS Consumer).
Click Finish.
If the Open Associated Perspective dialog displays, click Yes.
In Workshop for WebLogic, select File, then New, and then Project.
In the New Project dialog, expand the WebLogic Portal node.
Click Next.
The New Portal EAR Project wizard displays.
In the Create a New Oracle WebLogic Portal EAR Project step, enter a project name (for example, CPS Consumer-EAR).
Click Next.
In the Project Facets step, select WebLogic Portal EAR Project Facets from the drop-down list.
Click Next.
In the J2EE Modules to Add to the EAR step, select the portal web project you created (for example, CPS Consumer).
Click Finish.
If the Open Associated Perspective dialog displays, click Yes.
Import the CPS Remote Portlets
Select Project Explorer view and expand the new Portal Web Project node (for example, CPS Consumer).
Right-click the WebContent node, select New, and then Portlet.
Select the directory where you want the portlet to be available and provide a name for the portlet.
Click Next.
The Portlet wizard displays.
In the Select Portlet Type step, enable the Remote Portlets option.
Click Next.
In the Producer step, enable the Find Producer option.
Click Retrieve.
Click Register to register the producer.
In the registration dialog, provide a Producer Handle name and enable the Store registration properties in local registry option.
Click OK.
Click Next.
Select the CPS remote portlet from the list of available portlets and click Next.
Provide proxy portlet details and click Create. A new remote (proxy) portlet is created.
From the File menu select Save All to save the remote portlet.
Repeat these steps to add the other CPS remote portlets. If you enabled the option to store registration properties in the local registry you can add the WSDL link (step 8) by clicking Producer and selecting it from the Registered Producer drop-down list.
Follow these additional steps to deploy the CPS portlets to your existing portal instance:
Select your Portal EAR project and open the Portal Administration Console by selecting Run and then Open Portal Administration Console.
Log in using your administration credentials.
In the left navigation pane, click Portal Management.
Within the resource tree, select Portals
Select the CPS remote portlets and add them to your existing portal.
This section provides information for consuming CPS portlets on IBM WebSphere Portal.
These servers and components are required for the installation:
IBM WebSphere Portal Version 6.1 (as consumer)
Oracle WebCenter Content Server 11g Release 1, Oracle Content Server 11g Release 1, or Oracle Content Server 10g Release 3
These WSRP producers are supported with WebSphere Portal as consumer:
IBM WebSphere Portal Version 6.1. See Section 3.3, "IBM WebSphere Portal as Producer" for more information.
This section describes how to consume CPS portlets on WebSphere Portal:
Launch WebSphere Portal and click Administration from the main menu.
In the Portlet Management section, click Web Modules.
Click Consume.
From the list of Web Service Producers, select the producer created to provide CPS portlets.
See Section 3.3, "IBM WebSphere Portal as Producer" and Section 3.3.3, "Create the Producer" more information.
Select the CPS portlets you want to consume in your portal. Select all if you want to consume all the portlets.
Click OK.
Locate the CPS Remote Portlets
In the Portlet Management section, click Portlets.
Search for the CPS remote portlets in the list of available portlets.
Remote portlets are distinguished from local portlets by the title of the Web Service Producer that appears under the 'Remote Portlet' column for that portlet.
For each of the CPS remote portlets perform the following steps:
Click the Assign Access to Portlet icon.
The Resource Permissions page displays.
In the Roles column, click the Edit Role icon for the User role.
Click Add.
Enable the Anonymous Portal User option.
Click OK.
In the Add section, click the portlet name.
Repeat the steps above for the Privileged User role: click the Edit Role icon, click Add, enable the Anonymous Portal User option, and click OK.
When you have completed these steps for each of the CPS remote portlets, click Done.
In the Portal User Interface section, click Manage Pages.
In the Title column, click Content Root and then Home.
Click New Page.
The Page Properties page displays.
Provide a title and unique name.
Click OK.
Click the Home link at the top left of the page and then click the tab with your newly created page.
Hover your cursor over the title, click the displayed icon, and select Edit Page Layout.
Click Add Portlets.
Select each of the CPS remote portlets from the list of available portlets and click OK.
When you have completed these steps for each of the CPS remote portlets, click Done.
Note:
If users are using Internet Explorer 8, it is recommended that they view the portlet pages in compatibility mode. If they do not, the portlet icon menu options do not render correctly and are not available.