SQLite, XML and web

Hello!
I have written a MATLAB software which is generating some XML messages (alarms). The alarms are generated according to some datas read from an SQLite database. This software is now actually running on a server. What I would like to do now is to make in such a way that my app can communicate with another one running on another PC somewhere else on the network (i.e. through the www or a VPN connection). Basically my application should listen for a request, and once the request comes if a new XML message was generated, this should be sent to the remote PC. At the moment i save each message inside a folder on the local host, wher my software is running. How can I build up the requested behavior?
Greetings, Giovanni.

Answers (1)

Fernando
Fernando on 17 Feb 2012

0 votes

What would the remote PC do with the alarms?
My first option would be to use Web Services, Matlab can use a web service to post the messages to the remote PC. For that the other computer needs to have a web server with some language.
The language can be .NET, Python, C++, php, etc etc.
Let me know if that helps you. Best

1 Comment

Giovanni
Giovanni on 21 Feb 2012
Hi, I was reading the documentation you have posted to me. From what I see, if I decide to use a web service I would need to locate a web service already offering me the possibility to send XML messages on the net, or I could do it using the SOAP API offered from matlab.
In the first case, how can I find the right web service for my purpose?
In the second case I should be able to find which is the destination for my response message so basically the web server which is destination of my warnings. (is that right?)
How could I procede, client side? I mean, making in such a way that my Matlab application could be able to just send messages on request?
Is the first time I´m approaching to this and I need to understand some more things before going on.
Best.

Sign in to comment.

Asked:

on 16 Feb 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!