Windows Sevices and Web Services

F

Fredo

Windows Services are nothing new. They've been around since the first
version of Windows NT. They're simply system services that generally run at
startup in the System process space.

WebServices are a form of RPC (Remote Procedure Call) that uses HTTP and
SOAP as the method of encoding calls and returns.

The big thing about WebServices is, since they're HTTP based, you can call
through firewalls and proxies without any special setup, whereas RPC over
other ports and/or protocols would likely require firewall or proxy
configuration changes to allow the calls.

A web service is really just a DLL that's remotely callable. You could, for
example, create a WebService with a single method that calculates the square
root of a number. You could then call that method, very much like it was a
method locally on the machine (obviously, some initial setup is required to
specify where the web service is located, but otherwise not much different).

Hope that helps.

Pete
 
A

Ann Marinas

Hi, All!

I would like to ask about Windows Services and Web Services.... I was kinda
intrigued about what these two technologies do, and would like to know the
difference of each.

Thank you so much and God Bless!

A
 
J

Jason Guarracino

That is only one perspective of a web service. Web Services can be
document centric using XML Schema to define a "form" to request a
service. This is called Document Literal (RPC Literal is described
below).

Both use SOAP over HTTP but the encoding rules are different. RPC
Literal uses what is commonly known as "Section 5" encoding (Soap
spec).
 

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