Enabling existing portlets for cooperation

You can enable your existing portlets for cooperation. Rational Developer makes it easier to develop the various parts of the run-time artifact to enable Click-to-Action portlets. The tooling provides support in the following areas:

  1. Declaring a portlet to be either a source portlet or a target portlet

  2. Inserting and defining data to be published in the source portlet's JSP page (<c2a:encodeProperty>)

  3. Generating the data model and operations specification document (WSDL file)

  4. Consuming the data in the target portlet

  5. Binding portal actions to the operations

To enable cooperation for existing portlets:

Note: WS-I compliance warning messages will be displayed in the Problems view for Click-to-Action-enabled portlets. You can ignore them in the Click-to-Action WSDL resources. Alternatively, to prevent these warning messages from being displayed, you can change the compliance level on the WS-I compliance preferences:

  1. Select Window > Preferences > Workbench > Capabilities.

  2. Expand Web Service Developer, and ensure that Web Services Development is selected.

  3. Click Apply and then OK.

  4. Select Window > Preferences > Web Services > WS-I Compliance.

  5. Set the compliance levels to Ignore compliance, and then click Apply and OK.

 

Related concepts

Developing cooperative portlets