Implementing Server Sent Events (SSE) in the IS

What product/components do you use and which version/fix level?

webMethods 10.3

Are you using a free trial or a product with a customer license?

Product with a customer license

What are trying to achieve? Please describe in detail.

The final goal is implementing a SSE PoC using a browser as the client and the IS as the server.

The client-side is almost done (reference: What is Server-Sent Events (SSE) and how to implement it? | by Gökhan Ayrancıoğlu | Delivery Hero Tech Hub | Medium)

The issue is currently regarding the server side. The question is similar to How to respond to http client without completing the flow service., but there is a catch:

  • in the meantime the connection is open, HTTP responses output should be sent out right away - i.e. before the service finishes.

Based on the previous attempts, the pub.flow:setResponse and pub.flow:setResponse2 (services), or using the $httpResponse, they all “flush” the response buffer only after the service finishes.

Do you get any error messages? Please provide a full error message

Not applicable.

Hi @Feng_Sian5
IS doesn’t support SSE specification but can you see if WebSocket support in IS can be explored to achieve the requirements.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.