Connection of Web Applications via WebSocket
The WebSocket network protocol, in accordance with specification RFC6455, allows a high-performance, network-resource-efficient communication between a WebSocket server and a Web application configured as a WebSocket client.
Against this backdrop, PCo can be set up as a WebSocket server and, in particular, support notification scenarios for which the events provided by the source system are displayed directly on modern user interfaces.
Example
For example, you can use SAP MII
's Self Service Composition Environment
as a user interface. The Self Service Composition Environment
is a Web-based collaborative environment that you can use to configure and display content provided by PCo, for example. For more information, see the SAP MII Documentation
under SAP MII Self Service Composition Environment
.
The WebSocket has an exceptional position among the various PCo destination system types because the query and notification scenarios are technically combined. On the PCo side, a specific port is envisaged through which the bi-directional communication between PCo and the Web application takes place.
You make the connection settings for the WebSocket in the agent instance on the Query Ports
tab. You also create the destination system here. On the Destinations
tab for the notification, you need to select this destination system and make the variable assignment.