Groups > Asp .Net > ASP.NET XML Web Services > Re: Web Services..




Web Services..

Web Services..
Wed, 2 Apr 2008 11:06:24 +0000
Please excuse me for this trivial question, but I am very new to Web Services
and asp.net..

 I know that webservice is a middle appliaction which communicates with the web
server and client and hides all the low level plumbing..

But where does this webservice run?

On the client side?? Or on the server??
Post Reply
Re: Web Services..
Wed, 2 Apr 2008 14:46:55 +0000
The code runs on the server. What runs on the client is a proxy class. If you
want to find out more about how to build a web service in C# or VB check out the
webcast: Link
Post Reply
Re: Web Services..
Wed, 2 Apr 2008 14:48:07 +0000
The webservice would run on a computer that has direct access to the database. 
That would be on the server side, as you would not want to give client machines
direct access to the database. :)
Post Reply
Re: Web Services..
Wed, 2 Apr 2008 19:06:08 +0000
david wendelken:

 

The webservice would run on a computer that has direct access to the database. 
That would be on the server side, as you would not want to give client machines
direct access to the database. :)

Ok, got it..

But my next question is we add a web reference and create a proxy class and then
call the webmethod from the client..

How does the web service maintain communication with the web server??

Do we have to pass the url of the web server to the web service to
communicate??

Or any other method??
Post Reply
Re: Web Services..
Wed, 2 Apr 2008 23:03:27 +0000
a web service is a web api that can be accesed over a network or the internet
and executed on a remote system. 

here is a presentation about web services.
http://www.microsoft.com/net/basics/webservices_flash/launch.html

the only thing you need to tell the web service is what data to return to the
application calling it.
Post Reply
about | contact