Gerald Nunn's Blog
« Best Practices for Links in WebLogic Portal | Main | Setting up an HTPC with MythTV »Good introductory WLP and WSRP article
Monday, June 02, 2008
The developer.com site has a nice introductory article on WebLogic Portal and WSRP by Scott Nelson. If you are new to WebLogic Portal and WSRP it provides a great overview of the topic and is well worth reading. One nibble though is the author states the following on page 2:
Remote portlets are consumed in the producer with a proxy portlet, and WLP provides two ways to create a proxy portlet. One method is through the WebLogic Workshop IDE at design time. Defining a proxy portlet at design time requires providing an address to the producer in a .portlet file; this cannot be changed at runtime. Due to this drawback, this approach is not recommended in this article. If you want to see how it works in detail, you can follow the tutorial included in the WLP documentation.
This is not actually correct, the .portlet file saves a handle to the producer and not the producer WSDL URL containing the producer IP address. The IP address is stored in the producer WSDL in the WEB-INF/wsrp-producer-registry.xml file and this can be modified at runtime in the Portal Administration Tool (PAT). To do this, go to Portal Management in the PAT and open the 'Remote Producers' node under the 'Library' node. Click on the producer you want to modify and then scoll down to where the WSDL is shown in 'Producer Properties'. Click the edit button and modify the WSDL as needed.
Posted by Gerald Nunn at 2:44 PM | Categories: WebLogic | Permalink
