Click the Portlets subtab. In the Remote Providers portlet, click Register a Provider to display the Register

6-28 Oracle Fusion Middleware Developers Guide for Oracle Portal Figure 6–19 Define Connection Page

13. Click Next to display the Portal Registration Property Values page

Figure 6–20 . 14. Provide any registration properties required by the provider. If there are none, you can proceed to the next step. Figure 6–20 Provider Registration Property Values Page

15. Click Finish. You should see a Registration Confirmation page similar to the one

in Figure 6–21 . Note: A WSRP producer can contain portlets that work within the WLDL v1 or v2 framework. WLDL v1 portlets work in pre-11gR1 Oracle Portal releases. WSDL v2 portlets work in Oracle Portal 11gR1. When a WSRP producer containing v2 portlets is registered with its v1 URL, the portlet repository displays the v1 registration name and only the v1 portlets. So, when a WSRP producer containing only v2 portlets is registered with its v1 URL, the portlet repository displays only the registration name; it does not display any portlet. Creating Java Portlets 6-29 Figure 6–21 Registration Confirmation Page 16. Your portlet should now be available for adding to pages just as any other portlet in the Portlet Repository. To add your portlet to a page, follow the instructions in the Oracle Fusion Middleware Users Guide for Oracle Portal.

6.3.5 Registering WSRP Producers in Enterprise Configurations

When you register a WSRP producer in an Enterprise configuration, you must create a Web Seringyvices Definition Language WSDL document manually, then register the WSRP producer using that WSDL. This is because the dynamically generated WSDL creates URLs using the HTTPS protocol and the HTTPS port while WSRP producers use HTTP. To create a WSDL document manually, perform the following tasks: 1. View the dynamically generated WSDL through your browser preferably Internet Explorer. To view the WSDL for our WSRP samples, go to: http:host:external http portportletappportlets?WSDL 2. Save the file from the browser to any externally available location. For our WSRP Samples, save the file from the browser into the following directory: ORACLE_HOMEj2eehomeapplicationsportletappwsrp-samples Save the file as wsrpsamples.wsdl. 3. Edit the file, replacing https with http and correcting the ports to be the external http ports. 4. View the file through a browser. For example, for our WSRP Samples use the following URL: http:host:external http portportletappwsrpsamples.wsdl 5. Use the URL to your .wsdl file such as the URL under Step 4 when you register the WSRP producer. For more information about Enterprise configurations, see the Oracle Fusion Middleware Enterprise Architecture and Deployment Guide. Note: A producer for WSRP portlets is analogous to a provider for PDK-Java portlets.