Exchanging the required information between Producer and Consumer portals | HCL Digital Experience
The WSRP standard defines the interfaces and the protocol for communication between the Producer portal and the Consumer portal. The Producer portals provide WSRP services that can be called to invoke provided portlets. The Consumer portals request WSRP services to call the remote portlets.
Currently, there are two versions of the WSRP standard, WSRP 1.0 and WSRP 2.0. HCL Portal supports both versions of the WSRP standard.
WSRP builds upon existing web service technology and web service standards. The WSRP implementation of HCL Portal Version 8.5 is built on the JAX-WS based web service stack of IBM® WebSphere® Application Server. The WSRP implementation in earlier versions of HCL Portal was based on the web service stack that is based on the JAX-RPC standard. WSRP in HCL Portal Version 8.5 can interoperate with WSRP counterparts that are built on other web service stacks, such as JAX-RPC. In particular, WSRP in HCL Portal Version 8.5 can communicate and interoperate with WSRP counterparts in HCL Portal Version 8.0 and earlier versions.
Web service interface | Supported by HCL Portal WSRP Producer | Supported by HCL Portal WSRP Consumer |
---|---|---|
Service Description | Yes | Yes |
Markup | Yes | Yes |
Registration (optional) | No | Yes |
Portlet Management (optional) | Yes | Yes |
- The WSDL (Web Services Description Language) service description
document, which provides the following information:
- Descriptions of the WSRP interfaces and WSRP services that the Producer provides.
- Technical information, such as the service endpoint addresses.
- Information about the quality of service and security configuration of the WSRP services on the Producer portal.
Depending on the overall WSRP setup, the Consumer might in turn provide information to the Producer. For example, if the Producer portal has security configured, the Consumer can send user IDs of Consumer portal users to the Producer. The Producer can then give these users access to the provided portlets. The Consumer portal users can then work with the portlets that the Consumer portal consumes from the Producer.
The information that follows here describes details of the WSRP Producer and the WSRP Consumer. These details are relevant for the administrators of their respective portals. For example, an administrator of the WSRP Producer must know which service providers the WSRP Producer supports. An administrator of the WSRP Consumer normally does not need to know about the implementation details of a WSRP Producer.
Service providers of the WSRP Producer
Web service interface | WSRP 1.0 service provider | WSRP 2.0 service provider | WSRP 2.0 service provider for portal-internal WSRP communication |
---|---|---|---|
Service Description | WSRPServiceDescriptionService |
WSRPServiceDescriptionService_v2 |
WSRPServiceDescriptionService_v2_internal |
Markup | WSRPBaseService |
WSRPBaseService_v2 |
WSRPBaseService_v2_internal |
Portlet Management | WSRPPortletManagementService |
WSRPPortletManagementService_v2 |
WSRPPortletManagementService_v2_internal |
Service clients and references of the WSRP Consumer
The WSRP Consumer of HCL Portal provides a set of service clients and default service references. The set includes two service clients, one each to support WSRP 1.0 and WSRP 2.0 and the respective port types or web service interfaces. There is one default service reference per service client. You can configure and administer the service clients and service references by using the WebSphere® Integrated Solutions Console. For example, you can use the WebSphere® Integrated Solutions Console to configure WSRP service providers and WSRP service clients by attaching policy sets. You can configure each service client and service reference separately.
WSRP 1.0 | WSRP 2.0 | |
---|---|---|
Service client | WSRPService |
WSRPService_v2 |
Service reference | service/wsrp/WSRPService | service/wsrp/WSRPService_v2 |