+

Search Tips   |   Advanced Search

Create a Producer definition and consuming a portlet by a single XML script

We can use a single XML script to create a Producer definition and then consume portlets from that same Producer.

If you consume the portlet in an XML script that has already created the Producer in a previous step, we must specify the following items in the XML script:

  1. A locate action on the Producer.

  2. A locate action on the web-app tag with the u attribute.

  3. The servlet subtag with the remotehandle and wsrp-producerref attributes.

  4. A locate action on the portlet-app subtag with the u attribute.

  5. The portlet subtag with the servletref attribute.

The following XML sample shows how we use the XML configuration interface to integrate a remote portlet:

Parent topic: Use the XML configuration interface to work with Producer definitions

References: