473,503 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

hHow do i recognise a web service ??

hi guys,

call me dumb but

how do i recognise a webservice ?? if i go to a web site and the
information i put into some fields are sent to a database? is that
database itself a webservice?

what are webservices clients.........websites? or other webservices?
or both?

can a stand alone application such as microsoft word be a webservice
client or does a webservice client have to be built specialy as a
webservise client?

if i want to build a website that can collect information from
interested clients and save them to a database..........how will i
access my databse as the owner of the service, do i need to build a
special client application that only i would have access to ? how
would i retrieve the stored information?
thanks a lot guys
Liza
Jul 20 '05 #1
1 1917
On 3 Jul 2003 13:31:35 -0700, li*******@yahoo.co.uk (Liza) wrote:
how do i recognise a webservice ??
It's a service you get at over the web.

But to be useful, it must also be "a webservice built out of
commonplace protocols", so that it's easy for other groups to build
clients for it. It's not essential to be open in all cases, but it is
for many and it's useful for all of them.

Web services (broadly) have been around since the early '90s, but
weren't any use. You took protocols like CORBA, DCOM or RPC and ran
them over lashed-up session layers built on IP. Every site did it
their own way, and nothing would inter-communicate.

The gimmick now is that there are a handful of common protocols (SOAP
- also .NET, XML-RPC and some older ones based on HTTP). These
protocols are easily understood by all competent developers, because
they're a simple addition to a well-known pre-existing protocol, like
TCP/IP, UDP, HTTP etc.
If you ask, "What is a web service ?", then it would have to be a
paper definiton of a protocol for people to write them.

if i go to a web site and the
information i put into some fields are sent to a database? is that
database itself a webservice?
A database should never be a web service. Build your web service as a
service that's _application_ oriented, offering some useful service to
your customers, at a level of description and abstraction that they
can understand. Sell them "Store your birthday reminders list on our
site and have your PDA sync automatically", not "create a table in our
database and query it".

A web service that exposes the raw database has two faults; it's not
robust against switching to a new database to run the old service on,
and it's also not secure again the all-too-common database attacks (go
to The Register and search for "SQL Injection Attack")

can a stand alone application such as microsoft word be a webservice
client
Could be - but Word is a little unusual, because it contains a
powerful programming language and the ability to conect to ActiveX
controls. With the XMLHTTP object of the MSXML control (M$oft's XML
control for everything) then you can write SOAP clients in JScript or
VBScript..

This isn't a good approach though - too complex. And when programmers
have to do complex things, they get it wrong.

A better approach is to use a SOAP control (I've no idea if such a
thing exists). This would build the SOAP layer into the control and
give a higher-level interface (thus simpler to use) to the JScript /
Word coder.

In the world of Java middleware (WebSphere, WebLogic etc.) it;s even
easier. You find a web service that offers an automatic description
via WSDL, and it build your code for you. Or else you show it the code
for your service, and it builds the WSDL for you.
if i want to build a website that can collect information from
interested clients and save them to a database..........how will i
access my databse as the owner of the service,
However you damn well please. This simply doesn't matter - your
clients will use another route.
how would i retrieve the stored information?


Simplest explanation article I saw on this (on SOAP) was a demo client
written in IE 5 JScript by Aaron Skonnard a few years back. It was
absolutely minimal, but it showed what just a DHTML page in a browser
could achieve or could connect to.

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1822
by: tramoman | last post by:
Hi! I would like to make an algorith that recognise a Forced line break in HTML or a normal text. For instance, I would like to store in one array different lines of a string. Here my attempt:...
9
6978
by: Hardy Wang | last post by:
Hi all: I read an article from http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp about how to install a windows service programmatically. Based ont the code...
0
895
by: Jan Kester | last post by:
Hello I try to run the .net wsdl.exe on a axis generated wsdl file. The axis file uses a www.w3.org namespace of 2003/05 that the wsdl.exe does not accept. Could this be a version issue? The...
7
712
by: Mike | last post by:
I want to create a windows service that will monitor another window service. what i need for the service to do is, if a service is stopped I need it to start the service back up example: ...
9
7229
by: SP | last post by:
Hi All, I wrote a windows service which is supposed to stop after specified amount of time. I am calling OnStop() after specified time. OnStop() methods executed but I dont see the service...
3
56921
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
4
2589
by: keri | last post by:
Hello again, While I try and solve the calender issue I also have another problem. I have a form & table (appointments) where the user records appointments in the future. The fields include...
2
2052
by: Anne150585 | last post by:
I have an occasionally connected app, i need to recognise when there is any type of connection to the internal networks, be wired or wireless, however currently if connected wirelessly the app...
7
1441
by: Rob | last post by:
I've trying to import a CSV file exported from another application but it uses some encoding scheme I've not seen before: 19/02/2007,106478,Bob Elder,Sinking Ship,Macclesfield,Cheshire,8,"Mike\'s...
0
7198
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7072
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7271
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7319
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6979
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1498
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.