Designer 10.7 | webMethods Service Development Help | Working with WebSocket Endpoints | Creating a WebSocket Server Endpoints
 
Creating a WebSocket Server Endpoints
WebSocket server endpoint captures the properties required for callback services for the life cycle of a WebSocket identified by a path which indicates the location of the endpoint within a server. When you create a WebSocket server endpoint, Integration Server registers the WebSocket endpoint with identifier being the URI and then expose the WebSocket application in the server.
*To create a WebSocket server endpoint
1. In the Service Development perspective of Designer, select File > New > WebSocket Endpoint.
2. In the Create a WebSocket Endpoint Descriptor dialog box, select the folder in which you want to save the server endpoint.
3. In the Element name field, type a name for the WebSocket server endpoint using any combination of letters, numbers, and the underscore character. For more information about restricted characters, see Guidelines for Naming Elements.
4. On the Select the Endpoint Type panel, select Server. Then specify the network address that a client uses to communicate with a server endpoint.
5. Click Finish.
Designer creates the WebSocket server endpoint and saves it to the specified folder. Designer also creates associated callback services and place them in the same folder .
Following events are established on the WebSocket server side:
*A WebSocket server endpoint is created using a relative URL path.
*A WebSocket port is created that listens to incoming connections from clients.
*A client connection request is received and the request is acknowledged.