필터 지우기
필터 지우기

SQLite, XML and web

조회 수: 1 (최근 30일)
Giovanni
Giovanni 2012년 2월 16일
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.

답변 (1개)

Fernando
Fernando 2012년 2월 17일
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
Giovanni
Giovanni 2012년 2월 21일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Application Deployment에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by