You use the WSRP producer to create and manage WSRP Producers.
A WSRP producer offers locally deployed portlets for remote deployment. A remotely deployed WSRP consumer can connect to the producer, and can use the portlets offered by the producer.
A portal can host multiple producers. The consumer can import remote portlets offered by a producer. You can create one or more producers. A producer can optionally require registration. If a producer supports registration, then consumers must register to work with the producer.
Registration is used to build a technical or business relationship between the consumer and the producer. While creating a producer, you can define any one of the following registration mechanisms: Inband registration or Outband registration.
If the producer requires registration and enabled for Inband registration, the consumer can provide the details through WSRP interface and register with the producer. The consumer also has an option to provide the registration handle obtained through Outband communication.
If the producer requires registration and is enabled for Outband registration, the consumer should obtain the registration handle through Outband communication and provide the registration handle during registration. Outband registration happens with manual intervention such as phone calls, email, and so on. For a producer that supports Outband registration, the producer gets the details about the consumer through Outband communication, and it creates a registration handle for the consumer. The registration handle is communicated to the consumer through Outband communication.
For a producer that does not require registration, the consumer is not required to type any information or get any information through Outband communication. In this case, the consumer cannot customize or edit the portlets offered by the producer. The producer that does not support registration provides read-only portals to the consumers.
Log in to Web Space Server as the admin user.
Navigate to Control Panel -> Server -> WSRP Producer from the Welcome menu.
Click the Add Producer button.
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.
The name of the producer or a consumer must not contain empty spaces or any special characters.
The Producer is created, but is disabled by default.
To enable the WSRP Producer:
Click the link for a selected producer.
In this example, click the NewProducer link. The producer is displayed.
Move some portlets from the Unpublished list to the Published list.
The producer is saved.
Click the Disabled link.
The producer is displayed again.
Select Enabled from the Status list and click Save.
The producer is enabled.
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.