Sun GlassFish Web Space Server 10.0 Administration Guide

Creating a WSRP Consumer

To communicate with the portlets offered by the producer, a consumer needs to add a configured producer.

ProcedureTo Create a WSRP Consumer

To create a consumer, a producer WSDL URL is required. You can copy the WSDL URL from the NewProducer created in the above step.

  1. Log in to Web Space Server as the admin user.

  2. Navigate to Control Panel -> Server -> WSRP Consumer from the Welcome menu.

  3. Click the Connect to Producer button.

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

    Figure 7–2 Providing the WSRP Producer URL for Creating a WSRP Consumer.

    Providing the WSRP Producer URL for Creating a WSRP Consumer.

    The next screen prompts you to choose the WSRP version.

  5. Choose Version 2.0 and click Next.

    The next screen prompts you to select a registration type.

  6. Select Inband and Outband.

    For more information about these registration types, see Inband and Outband Registration

  7. (Optional) Specify a Name and Lifetime for the consumer.

    Figure 7–3 Version, Registration Type, Lifetime and Other Details for the WSRP Consumer

    Version, Registration Type, Lifetime and Other Details
for the WSRP Consumer

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