Thursday, September 16, 2004
WSRP-HOWTO.TXT
WSRP How To
In order to get a quick understanding on how WSRP works from the Admin Portal, follow the steps below:
1. Launch the Portal samples domain and login to the Administration Portal under: http://localhost:7001/portalAppAdmin .
2. Under the Portals tab, click on the Library which is on the left hand side.
3. After the tree expands, click on the Portlet Producers icon.
4. Once the Producer Resources panel shows up on the right side, click on the "Browse/Add Producers" tab.
5. Under the "Enter Producer to Browse" box, enter: http://localhost:7001/tutorial/producer?wsdl . Click "OK".
6. At this point you should see a list of Producer's properties including available portlets. Click "Add Producer" and fill in the registration fields.
7. After registering, you will be at the "Available Producers" window. From the "Available Producers" box, click the "Register" button. On the dialog box, click "Save".
8. Click the Producer that you registered and pick a portlet such as the "Process Form" portlet.
At this point you can click on "All Portlets" in the library tree and you should see the remote portlet you just added. There is also a convenient portlet category, "All Remote Portlets," created under the "Category" drop-down menu in the "Available Portlets" box. Now you can add the remote portlet to a page and make them available to users.
From the WebLogic Workshop, you can also bring in remote portlets by following the steps below:
1. Launch the Portal samples domain. Open the Sampleportal project underbea\weblogic81\samples\portal\portalApp
2. Create a new directory under the Sampleportal project called "RemotePortlets" .
3. Right click on the new directory you just created and select " New" and then the option to create a new portlet.
4. When the Portlet Wizard comes up, select the "Remote Portlet" option and click " Next".
5. Paste the Producer URL "http://localhost:7001/tutorial/producer?wsdl" and click "Retrieve".
6. Next click "Register" and fill in the blanks for the registration. At this point you should see the "Producer Details".
7. Click "Next" and add a portlet, like the "wizard - process form" portlet (last in the list).
8. Click "Next" again and review the details of the Proxy Portlet Details and click "Finish".
At this point a .portlet file will be created that represents the remote portlet you developed . You can then use the portlet in your project.
For documentation on WSRP, please visit:
http://dev2dev.bea.com
Portal Team
In order to get a quick understanding on how WSRP works from the Admin Portal, follow the steps below:
1. Launch the Portal samples domain and login to the Administration Portal under: http://localhost:7001/portalAppAdmin .
2. Under the Portals tab, click on the Library which is on the left hand side.
3. After the tree expands, click on the Portlet Producers icon.
4. Once the Producer Resources panel shows up on the right side, click on the "Browse/Add Producers" tab.
5. Under the "Enter Producer to Browse" box, enter: http://localhost:7001/tutorial/producer?wsdl . Click "OK".
6. At this point you should see a list of Producer's properties including available portlets. Click "Add Producer" and fill in the registration fields.
7. After registering, you will be at the "Available Producers" window. From the "Available Producers" box, click the "Register" button. On the dialog box, click "Save".
8. Click the Producer that you registered and pick a portlet such as the "Process Form" portlet.
At this point you can click on "All Portlets" in the library tree and you should see the remote portlet you just added. There is also a convenient portlet category, "All Remote Portlets," created under the "Category" drop-down menu in the "Available Portlets" box. Now you can add the remote portlet to a page and make them available to users.
From the WebLogic Workshop, you can also bring in remote portlets by following the steps below:
1. Launch the Portal samples domain. Open the Sampleportal project under
2. Create a new directory under the Sampleportal project called "RemotePortlets" .
3. Right click on the new directory you just created and select " New" and then the option to create a new portlet.
4. When the Portlet Wizard comes up, select the "Remote Portlet" option and click " Next".
5. Paste the Producer URL "http://localhost:7001/tutorial/producer?wsdl" and click "Retrieve".
6. Next click "Register" and fill in the blanks for the registration. At this point you should see the "Producer Details".
7. Click "Next" and add a portlet, like the "wizard - process form" portlet (last in the list).
8. Click "Next" again and review the details of the Proxy Portlet Details and click "Finish".
At this point a .portlet file will be created that represents the remote portlet you developed . You can then use the portlet in your project.
For documentation on WSRP, please visit:
http://dev2dev.bea.com
Portal Team