I have figured it out.
I have run the docker instance of signal r and brought up the server.
In integration server side created a websocket client connection
ws://localhost:5000/echo
Written a service
pub.client:websocket(This service is used for connecting client to server).
pub.websocket:send(This service is used to send intial message )
hardcode the value in message as
{“protocol”:“Json”,“version”:“1”} make sure to have the control character copied from chrome.
Navigate to developer tools -->Network>ws and reload to get the above string.
In the OnText flow service you can write your own logic in my case I have called pub.flow:debugLog
From Signal R sever type the message and click on send
Then in the logger I could see message from signalR is displayed
#webMethods#Integration-Server-and-ESB#websocket