473,748 Members | 8,367 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 1939
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
1836
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: <?php
9
7024
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 sample, it provides the feature to install service under LocalSystem account. What I need is to install service under some other certian account. By further studying the code, and MSDN...
0
909
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 .net is use is . Is there a newer version that does recognise the namespace? Regards, Jan.
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: service 1 - my service watches service 2 - windows service service 2 is stopped - service 1 starts service 2
9
7272
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 stopping. Please advise how to stop the service. Thanks, SP
3
56998
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 want to test this service on a Windows Server 2003 box that doesn't have the Visual Studio Command prompt. How do I go about installing the service on the Windows Server 2003 box? Thanks!
4
2613
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 date, time and duration. I would like a pop up box to appear when registering an appointment if the time / days clash with another appointment. Somehow I need to create a table or query that blocks out sections of
2
2066
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 recognises this as offline which is incorrect. This is the code for the ConnectionManager piece I currently have: public bool IsNetworkConnected() { bool connected = SystemInformation.Network; if...
7
1451
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 \Rude Awakening\""""" The \' sequence is a single quote but that \Rude Awakening\"""" is a little strange. I think it means take Rude Awakening and prefix it by the next character after the final "\" but that's a guess.
0
8984
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8823
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9363
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9312
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9238
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8237
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6073
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3300
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 we have to send another system

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.