![]() ![]() ![]() ![]() ![]() ![]() |
Web Services for Remote Portlets (WSRP) is a mechanism used to generate markup fragments on a remote system for display in a local portal application. This mechanism is gaining popularity in recent years. This chapter describes how AquaLogic Service Bus can be used to provide Service Level Agreement (SLA) monitoring in applications that use WSRP.
This section discusses the following topics:
WSRP involves two integral components:
This section describes basic WSRP architecture and shows how this architecture can be enhanced by adding AquaLogic Service Bus.
Figure 1-1 shows the basic WSRP SOAP request and response flow between a producer application and a consumer application.
Because a WSRP producer implements SOAP Web Services, an enterprise service bus (such as AquaLogic Service Bus) can be used as an intermediary between the producer and consumer to provide Service Level Agreement (SLA) monitoring, as shown in Figure 1-2.
In this architecture, the WSRP SOAP request/response flow occurs in the following sequence:
The remainder of this section provides instructions for configuring the AquaLogic Service Bus to proxy service requests for WSRP services. It describes services that a producer provides, along with other attributes of WSRP that must be used to properly configure AquaLogic Service Bus. This section also discusses different possible strategies that can be used to monitor producers with increasing degrees of detail. Finally, it discusses load balancing and failover with WSRP.
This section describes the following WSRP design concepts:
Table 1-1 describes various kinds of services offered by producers.
Each producer implements a minimum of two services (Service Description and Markup). A simple producer offers just these two services. A complex producer, however, provides two additional services (Registration and Management). WebLogic Portal producers also implement an extension service (Markup Extension) that replaces the standard Markup service.
These services are described using a standard WSDL format. The producer supplies a single URL for retrieving its WSDL, which describes all the services that are available from that producer. The end points for each service indicate whether the consumer should use transport-level security (HTTP(s)) or not to communicate with the producer.
WSRP uses SOAP over HTTP for all messages sent between producers and consumers. In addition to using standard message formats in the SOAP Body, WSRP requires that consumers must set at least a SOAPAction
header, cookie headers, and the usual HTTP headers (such as Content-Type
). Producers will return a session cookie, plus any application-specific cookies, in the HTTP transport header of the response message. The consumer must return the session cookie in subsequent request messages.
![]() ![]() ![]() |