you know how to create a webservice.
your legacy app is already working, I suppose.
it sounds to me, that what you need to do is build an interface between
them.
There are lots of ways to do this, among them.
shared memory
local sockets communication
message queues (like MSMQ)
shared database
local filesystem (a shared file)
webservices
You did n't say what the legacy system looks like, or how it is deployed, or
what existing interfaces it exposes. You said it reads a serial port. What
does it do then? what else does it read or write? How does it make its
results known to the world?
Is there a network interface to it today? does it "listen" on a queue, a
local file, a socket - for incoming requests or commands? Maybe it exposes
a WMI interface for administrative control. If there is an existing
interface, the next question is, can the new webservice code utilize it, or
could the new code utilize maybe an extended version of that existing
interface?
example: Does the legacy system, today, read and write to a database? If
so the webservice could connect to the same db. What about a message queue?
Likewise. etc etc
You could even use a webservice call from the webservice to the legacy
system. Supposing the legacy system is implemented in C++, there are
webservice toolkits for C++, you could extend the legacy app to expose this
new interface. Likewise for other languages.
-D
"joe bloggs" <joe
bl****@discussions.microsoft.com> wrote in message
news:C9**********************************@microsof t.com...
I am writing a mobile application to interface with a legacy system and I
am
planning to use web services to communicate with this system. The legacy
system receives data through a serial port. What I would like to do is
make
the serial port accessible via a web service.
The web service and the legacy application would be running on the same
machine. The mobile application would access the web service via a
network
connection. It would then use the web service to upload data to the
legacy
system. This would require that the web service send the data to the
serial
port that the legacy system is listening on.
Is this possible?
Any suggestions on where I could investigate this further would be greatly
appreciated.
Cheers,
joe