Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Services (http://www.velocityreviews.com/forums/f64-asp-net-web-services.html)
-   -   Web Service Architecture question (http://www.velocityreviews.com/forums/t782786-web-service-architecture-question.html)

hk2004 02-28-2004 03:11 PM

Web Service Architecture question
 
Hello

I have several clients, mobile, web and desktop. I would like to depoly common functionality for these clients in Web Servvices. Also, I am developing business server processes (EXEs) as windows services. These server processes will encapsulate all the business logic on the server side including DB access

Questions:
1. How can my webservice communicate with these server processes? I dont want to duplicate the server process code like ADO.NET etc in my web seervice
2. In my server process project, can I add the webservice as an interface to the EXE

Thanks


Michael Pearson 03-02-2004 12:00 AM

Re: Web Service Architecture question
 
I've used TCP to send a message to the Windows Service.
I've got a thread that listens on a port in the Windows Service, and the
webservice connects to the Windows Service and sends across a text message
or XML to tell that Windows Serice what to do. The advantage of this is
that I cna have my webservices and windows services running on different
boxes.

Another technique is to have the websevice write a record in a database that
tells the Windows service what do to. The service then polls this database
to see what it should do.

Michael

"hk2004" <anonymous@discussions.microsoft.com> wrote in message
news:3B2749CD-A1D2-40C9-8BB3-3D916A2836E1@microsoft.com...
> Hello,
>
> I have several clients, mobile, web and desktop. I would like to depoly

common functionality for these clients in Web Servvices. Also, I am
developing business server processes (EXEs) as windows services. These
server processes will encapsulate all the business logic on the server side
including DB access.
>
> Questions:
> 1. How can my webservice communicate with these server processes? I dont

want to duplicate the server process code like ADO.NET etc in my web
seervice.
> 2. In my server process project, can I add the webservice as an interface

to the EXE ?
>
> Thanks!
>





All times are GMT. The time now is 05:20 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57