Sun GlassFish Web Space Server 10.0 Administration Guide

ProcedureTo Create and Enable a WSRP Producer

  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.

  4. Type a name for the Producer.

    For example, you can create a Producer called NewProducer. This screen also provides option to export a version of WSRP service (choose both 1.0 and 2.0) for exporting both version 1.0 and version 2.0 service.


    Note –

    The name of the producer or a consumer must not contain empty spaces or any special characters.


    Figure 7–1 Creating a New WSRP Producer

    Creating a New WSRP Producer

  5. Click Save.

    The Producer is created, but is disabled by default.

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