Webservice for serial port devices
Posted
by camx
on Stack Overflow
See other posts from Stack Overflow
or by camx
Published on 2010-04-12T07:39:04Z
Indexed on
2010/04/12
7:43 UTC
Read the original article
Hit count: 201
Hi
I want to create a remote webservice for an application that is now avaliable only localy. This application controlls three devices (each is controlled separately) connected on serial port. The problem is that I don't know how to take care of passing back information that a device return requested data. For example - I send move command to the motion device (which is very slow and can take a minute or more). Can I just set a big timeout on the client side (and server side) and return for example a true/false if operation is completed or is this a bad idea? Is SOAP with big timeouts ok? And the other question is if Mono on Linux (Ubuntu 9.10, Mono 2.4) is stable enought for making a web service or should I chose Java or some other language?
I'm open for recommendations.
Thanks for your help!
© Stack Overflow or respective owner