SWS and WSP: Web Services Simplified
You might have seen some blog posts in the past few months on the Streaming Web Service (SWS), which we’ve introduced as an improvement on the Web Services Provider (WSP). To quickly summarize, while both are gateways providing HTTP-based access to smart data streaming, the Streaming Web Service provides higher performance and greater scalability than the Web Services Provider. The Streaming Web Service also lets you connect Streaming Lite to smart data streaming.
However, SWS only supports REST and WebSocket connections, while WSP supports REST, WebSockets, and SOAP. As well, the REST requests and message formats that WSP uses are not compatible with SWS.
There are a couple of other key differences, which you can read about in this blog post.
Whether you’re a SWS user or a WSP user – or both – we’ve recently introduced some improvements that will make using these services much easier.
Configuring SWS and WSP through the SAP HANA Cockpit
If you’ve set up either SWS or WSP before, you’ve had to manually edit their configuration properties in the xml file, which you had to find, edit, sift through to find anything relevant, then finally save and redeploy.
Well, in SP 11, we added the ability to configure the Streaming Web Service through the SAP HANA cockpit, and in a recent update (SP 10 revision 102.4 and SP 11 revision 111), we also extended that functionality to the Web Services Provider.
Once you log in to the SAP HANA cockpit, you can access these configuration pages through the Streaming Cluster Configuration tile.
Note: Remember to enter your cluster password before making any changes, otherwise you won’t be able to save them.
Starting and Stopping SWS and WSP through the SAP HANA Cockpit
Once you’ve configured everything, you’ll want to start the service(s). You can also do this directly through the cockpit, through the Streaming Nodes tile. Once you’re there, select your provider, and click start or stop in the bottom right corner of the screen.
So what now?
Once you’ve configured and started either SWS or WSP (or both), you can head over and look at these blogs for information on what to do next:
- Streaming Web Service Configuration and Testing (for SAP HANA Smart Data Streaming SP10)
- Learning how to use Streaming Lite with HANA Smart Data Streaming
- Publishing Event Data to Streaming Projects using REST
- Publishing Event Data to Streaming Projects using Websockets
Or, if you want a breakdown of all the properties and what they do, check out the documentation:
To take advantage of these features, head over to the SAP Service Marketplace and grab the latest SAP HANA smart data streaming SP 10 or SP 11 revision.