App <-> Windows Service

  • Thread starter Gabriel Aizcorbe
  • 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
 
R

Richard Grimes

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
 
G

Gabriel Aizcorbe

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

Thank you
Regards,
Gabriel Aizcorbe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top