App <-> Windows Service

  • Thread starter Thread starter Gabriel Aizcorbe
  • Start date Start date
G

Gabriel Aizcorbe

My name is Gabriel

I was reading a lot about windows services. I have a little problem and I
need one of those incredible advices. I'm developing a windows service with
a "System.Timer" to check MessageQueues and do some work I need it to do, is
a kind of monitor. I would like to expose some methods from this service to
make them available through Web Services. I was reading lot of your
solutions but I can't have a complete idea yet, I read some advices to use
Remoting is that ok ? can you tell me how ? or what solution is the best ?

To have an idea how this architecture looks ...

_____ _______________
| WS | <-------> | Windows Service |
--------- --------------------------

Where windows service checks some Message Queues and get all the messages
and "exposes some methods" to do some stuff and I want to use this methods
from some web services.
Thank you in advance,

Gabriel Aizcorbe
 
Gabriel said:
My name is Gabriel

I was reading a lot about windows services. I have a little problem
and I need one of those incredible advices. I'm developing a windows
service with a "System.Timer" to check MessageQueues and do some work
I need it to do, is a kind of monitor. I would like to expose some
methods from this service to make them available through Web
Services. I was reading lot of your solutions but I can't have a
complete idea yet, I read some advices to use Remoting is that ok ?
can you tell me how ? or what solution is the best ?
To have an idea how this architecture looks ...

_____ _______________
--------- --------------------------

Where windows service checks some Message Queues and get all the
messages and "exposes some methods" to do some stuff and I want to
use this methods from some web services.
Thank you in advance,

Hi,

You need to make the service data made available to the web service. The
web service will be a different object, but since the web service is
ASP.NET based it means that it will be in a different process. So see my
reply to the question "Communication via IPC"

Richard
 
Thank you Richard, but I figured out while I was waiting the answer... I've
used Remoting...

Thank you
Regards,
Gabriel Aizcorbe
 
Back
Top