PC Review


Reply
Thread Tools Rate Thread

App <-> Windows Service

 
 
Gabriel Aizcorbe
Guest
Posts: n/a
 
      8th Nov 2005
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


 
Reply With Quote
 
 
 
 
Richard Grimes
Guest
Posts: n/a
 
      9th Nov 2005
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


 
Reply With Quote
 
Gabriel Aizcorbe
Guest
Posts: n/a
 
      14th Nov 2005
Thank you Richard, but I figured out while I was waiting the answer... I've
used Remoting...

Thank you
Regards,
Gabriel Aizcorbe

"Richard Grimes" <(E-Mail Removed)> escribió en el mensaje
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Windows Mail supporting Hotmail as a free service or is it a paid service Ishwar Prasad Windows Vista Mail 2 29th May 2009 11:17 PM
Windows The Windows Media Connect Service service failed to start due to the following error: Donald Bock Windows XP Help 1 5th Oct 2007 12:28 AM
How to get username, password from .NET Windows service installation to actual service code ? jimmy Microsoft C# .NET 0 31st Jan 2007 10:02 PM
Windows Service as Network Service-log4net Event Logging issues =?Utf-8?B?U3dhbWk=?= Microsoft Dot NET Framework 0 2nd Jul 2005 01:51 AM
Windows Service - Windows application - Start/Stop Service Murali Microsoft C# .NET 1 22nd Apr 2005 12:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:04 PM.