![]()
Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows
Work with Producer definitions
To make that Web service Producer known to the portal, you create a Producer definition for a WSRP Producer in your Consumer portal. You can also configure a Producer definition.
When you create a Producer definition, you use the information that you obtained from the Producer to configure the WSRP service connection to the Producer. If required, you also register with the Producer.
There are different scenarios for creating a Producer definition:
- You can use either the Web Service Configuration portlet or the XML configuration interface to create the Producer definition, depending on whether you work online or offline:
- If you work online when creating the Producer definition, you can connect to the Producer portal. In this case you can use either the Web Service Configuration portlet or the XML configuration interface to create the Producer definition. For example, this can be the case if you want to consume WSRP services in your current portal.
- If you work offline, that is you cannot connect to the Producer portal, you can only use the XML configuration interface to create the Producer definition. For example, this can be the case if you prepare your Consumer portal in a staging environment and do not connect to the Producer portal to consume WSRP services until you transfer the portal to the next stage.
- The information that you need to provide with the Producer definition depends on the type of Producer:
All three types of Producers can be created either by using the Web Service Configuration portlet or the XML configuration interface, either online or offline.
- The Producer does not require registration. In this case you specify the information that you obtained from the Producer.
- The Producer requires registration and is enabled for WSRP registration. In this case the Producer provides a registration port. In this case you can to specify additional registration properties when creating the Producer definition in your Consumer portal.
- The Producer requires registration and is not enabled for WSRP registration. In this case you need to provide a registration handle that you obtained from the Producer.
Notes:
- The current implementation of the WSRP Producer in WebSphere Portal Express does not support the WSRP registration interface. However, the WSRP Consumer in the portal can handle Producers that support WSRP registration interfaces.
- When you specify user attributes make sure to avoid any of the following:
- Send security relevant attributes, such as passwords, over unsecured network connections
- Pass sensitive data about your users to the Producer.
- Different types of Producers
The information that you need to provide with the Producer definition depends on the type of Producer.- Using the Web Service Configuration portlet to work with Producer definitions online
If you work online, you can use the Web Service Configuration portlet to create a Producer definition.- Using the XML configuration interface to work with Producer definitions
You can use the XML configuration interface to work with WSRP Producer definitions in different ways.
Parent topic:
Using the portal as a WSRP Consumer
Previous topic
Preparing security for a WSRP Consumer portal
Next topic
Consuming WSRP services in a Consumer portal