![]()
Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows
Create a Producer definition
A Producer is a portal that provides WSRP services. Consumers portals can then consume these WSRP services as remote portlets. To enable this, you create and configure a Producer definition.
Perform the following steps to create a new Producer definition from whom you want to consume remote portlets as Web services:
You have created the new Producer in the portal, and you can now consume Web services from that Producer. Use the Manage Web Modules portlet to consume Web services.
- Click New Producer. Web Service Configuration displays the Create New Producer panel. Work with the fields and options as described in the following steps.
- Type a title for the new Producer. This field is mandatory.
- Type a description for the new Producer. This field is optional.
- Type the URL under which the WSDL service definitions of the new Producer can be accessed. This field is mandatory. You get this information from the Producer. For example, if the WSRP service Producer is an IBM WebSphere Portal, you can access the WSDL document of the Producer at the following URL: http://producer_portal_host:producer_port/wp_contextRoot/wsdl/wsrp_service.wsdl. Note that the host and port and the wp_contextRoot directory must match those of the Producer portal installation.
- Type the registration handle. This field is optional. You have to enter the registration handle if the Producer requires it. You get the registration handle from the Producer. Only Consumers to whom the Producer gave a registration handle can consume the Web services of that Producer.
- Click on the required Advanced Options and configure them. Under the Advanced options you can perform the following tasks:
- Enter registration properties for the Producer. These are properties which are passed on to the Producer during the registration.
- Specify user attributes that you want to be passed on to the Producer when the portal users use the Producer's Web service.
- Click OK to save your data, or click Cancel if you do not want to save them. The portlet returns to the main panel.
- Setting registration properties for Web service Producers
You can set registration properties for a Web service Producer. These properties are passed on to the Producer during the registration. For example, they can provide information about your geographical location. The Producer can then adapt the Web service to your location. If you live near the mountains, a travel agent Producer might then provide information or offers for hiking or ski vacation.- Setting user attributes to be passed to a Web service Producer
You can set user attributes that you want to be passed on to the Web service Producer. The values for the selected attributes are passed on to the Producer when the portal users use the Producer's Web service. For example, if you select the attribute for user name, the user's name is passed on to the Producer. As a result, the Producer's Web service can address the portal users by their name.
Parent topic:
Using the Web Service Configuration portlet to work with Producer definitions online