Run the JBoss server by running the command:
On
UNIX
bin/run.sh
On Windows
bin\run.bat
By
default JBoss only binds to localhost. You can have it bind to any
IP address by running bin/run.sh -b 0.0.0.0 on
UNIX or bin\run.bat -b 0.0.0.0 on Windows.
Launch the JBoss portal server. By default, JBoss binds to
port 8080, so launch the server using the URL: http://localhost:8080/portal/.
Log in to the portal by clicking the login link in the upper-right
corner. The default credentials are admin/admin.
Click the Admin option in the upper-right corner.
Click the WSRP tab.
Specify the WSRP consumer name, such as wsrp-test in
the Create a Consumer Named box.
Click Create Consumer.
On the next page, specify the WSDL URL of the WSRP producer:
http://<WSRPProducer_IP>:<port>/<context_root>/WSRPProducer?wsdl
Click Refresh & Save. If successful, the following message
appears
“Refresh was successful.”
Note: You can try a demo
WSRP consumer hosted by BEA, by entering the WSDL URL: http://wsrp.bea.com:7001/producer/producer?WSDL.
After clicking Refresh & Save, the system prompts you to provide
the consumerRole registration property. Use the string “public”
and click Update Properties. If the BEA WSRP Producer does not get
configured, the problem could be with the JBoss Portal Server, rather
than the WSRP Producer. Make sure that you are using Java 1.5 JVM.
Click the Portlet Definitions tab.
Select wsrp-test from the View portlets provided by
the portlet provider named drop-down list.
From the Select the WSRP Portlet You Created box, select
the WSRP portlet.
Click View Portlets.
From Actions column, select Create Instance.
Specify the instance name and click Create instance.
Optionally, specify the instance display name and other details.
Go back to Portal Objects and select default. Alternatively,
you can create your own portal object.
From the Actions column, select Page Layout.
From the Portal Instance Associated to this Window list,
select the WSRP portlet instance you created earlier.
From the Page Layout section, add the instance to the required
region by clicking Add.
Go back to the Portal Objects > Portal page.
Click Make Default to make the portal which contains the
WSRP portlet as default.
Click the Portal link on the upper-right corner to view the
portal page.