Sun GlassFish Web Space Server 10.0 Administration Guide

Creating WSRP Producers and Consumers Without Registration

The consumer is not required to type any details while adding a configured producer, if the producer does not require registration.

ProcedureTo Create a Producer Without Registration

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

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

  3. Click the Add Producer button.

    Specify a name for the producer. Select Not Required for Registration.

    Figure 7–4 Creating a Producer Without Registration

    Creating a Producer Without Registration

  4. Click Save.

    The producer is created, but is disabled by default. Enable the Producer.

  5. To enable the WSRP Producer:

    1. Click the link for a selected producer.

      In this example, click the NewProducer link. The producer is displayed.

    2. Move some portlets from the Unpublished list to the Published list.

    3. Click Save.

      The producer is saved.

    4. Click the Disabled link.

      The producer is displayed again.

    5. Select Enabled from the Status list and click Save.

      The producer is enabled.


    Note –

    By default, the newly created WSRP producer exports both WSRP version 1.0 and WSRP version 2.0 services in the exported WSDL. On checking the WSDL URL, you should see both version 1.0 and version 2.0 services.


ProcedureTo Create a Consumer Without Registration

  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 WSDL URL of a producer without registration and click Next.

  5. The next screen prompts you to choose the WSRP version.

  6. Select Version 2.0 and click Next.

  7. Type a name for the Consumer and click Save.

    Figure 7–5 Creating a Consumer Without Registration

    Creating a Consumer Without Registration