Work with Producer definitions

To make that Web service Producer known to the portal, you create a Producer definition for a WSRP Producer in 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:

  1. You can use either the Web Service Configuration portlet or xmlaccess.sh to create the Producer definition, depending on whether you work online or offline:

    1. 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 xmlaccess.sh to create the Producer definition. For example, this can be the case if you want to consume WSRP services in current portal.

    2. If you work offline, that is you cannot connect to the Producer portal, you can only use xmlaccess.sh to create the Producer definition. For example, this can be the case if you prepare 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.

  2. There are three types of Producers. The type of Producer that you create determines which information you need to provide with the Producer definition and whether you can create the Producer definition online or offline:

    1. The Producer does not require registration. In this case you specify the information that you obtained from the Producer. You can create this type of Producer definition in online or offline mode.

    2. 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 Consumer portal. You can create this type of Producers only in online mode.

    3. 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. You can create this type of Producer definition in online or offline mode.

Table 1. Scenarios for creating a Producer definition

Type of Producer Create the Producer definition online by using . . . Create the Producer definition offline . . .
The Producer does not require registration. In this case you specify the information that you obtained from the Producer. . . . the Web Service Configuration portlet or xmlaccess.sh. . . . by using xmlaccess.sh.
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 Consumer portal. . . . the Web Service Configuration portlet or xmlaccess.sh. . . . is not a valid scenario.
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. . . . the Web Service Configuration portlet or xmlaccess.sh. . . . by using xmlaccess.sh.


Notes:

  1. The current implementation of the WSRP Producer in the portal does not support the WSRP registration interface. However, the WSRP Consumer in the portal can handle Producers that support WSRP registration interfaces.

  2. 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 users to the Producer.


Parent

Use the portal as a WSRP Consumer


Previous

Prepare security for a WSRP Consumer portal


Next topic

Consuming WSRP services in a Consumer portal

 


+

Search Tips   |   Advanced Search