+

Search Tips   |   Advanced Search


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:

  1. 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:

    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 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.

    2. 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.

  2. There are three types of Producers. The type of Producer that you create determines which information 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 your 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 provide a registration handle that you obtained from the Producer. You can create this type of Producer definition in online or offline mode.

    You can create all three types of Producers by using either the Web Service Configuration portlet or the XML configuration interface.


Table 1. Scenarios for creating a Producer definition

Type of Producer Creating the Producer definition online by using . . . Creating 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 the XML configuration interface.

. . . by using the XML configuration interface.
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 Web Service Configuration portlet

or the XML configuration interface.

. . . is not a valid scenario.
The Producer requires registration and is not enabled for WSRP registration. In this case provide a registration handle that you obtained from the Producer. . . . the Web Service Configuration portlet

or the XML configuration interface.

. . . by using the XML configuration interface.

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 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.


Parent topic:

Use the portal as a WSRP Consumer


Previous topic:

Prepare security for a WSRP Consumer portal


Next topic:

Consuming WSRP services in a Consumer portal