Project WebSynergy Milestone 3 Administration Guide

Creating a WSRP Consumer

To communicate with the portlets offered by the producer, a consumer needs to add a configured producer. The WSRP Consumer Admin portlet could be used for creating and managing WSRP Consumers. To create a consumer a producer WSDL URL is required. You can choose the WSDL URL from the "SampleProducer" created in the above step.

ProcedureTo create a WSRP Consumer

  1. Click on the 'Connect to Producer' button from the 'Producers' tab in the 'WSRP Consumer Admin' portlet.

  2. Provide the WSRP Producer WSDL URL and click Next.

    Figure 5–5 To create a WSRP Consumer

    To create a WSRP Consumer

    The next screen prompts to choose the WSRP version. Choose Version 2.0 and click Next.

    Figure 5–6 To create a WSRP Consumer

    To create a WSRP Consumer

    The next screen prompts you to select a registration type. Inband and Outband are the two registration types. It is optional to specify Name and Lifetime for the consumer.

    Figure 5–7 To create a WSRP Consumer

    To create a WSRP Consumer

    In case of Outband registration, you have to specify a registration handle. Select Inband registration and click Save. The consumer is created.