I am trying to create a web app using Node.js. I want to use socket.io to stream data that I pull from a soap service. I am having trouble finding any information about this. what would be the best option for this situation.
right now:
- I am using PHP to call a soap service and retrieve data.
- my client side java script makes interval calls using AJAX to the PHP function containing the SOAP call.(this is inefficient which is why I would like to switch to socket.io setup).
What I would like to do:
- Node.js app with express possibly
- SOAP call using PHP or Node.js if possible.
- stream data from SOAP to client side to be viewed using socket.io
I am not sure if this setup is possible and I have not found and good documentation on this. would this be possible ? if so, what would be the best method or is there a tutorial for this?