Gabriel Aizcorbe wrote:
> 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,
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
--
http://www.grimes.demon.co.uk/workshops/fusionWS.htm
http://www.grimes.demon.co.uk/workshops/securityWS.htm