473,406 Members | 2,956 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Big Picture General Question about XML SOAP and WSDL Web Services

jm
I understand how an XML formatted SOAP message is used to request
items from a web service and how the XML formatted SOAP response is
used. I am still missing the big picture, however.

When is this used?

For example, let's say that I have three systems.

An Oracle system, SQL Server 2000 system and a DB2 legacy system.

Why would web services be better than simply using an scripting page
over HTTP to bring back the data? So, I could use ASP.NET to hit all
three databases and and bring them back on a single page, seamless to
the end user. For that matter, an individual page could be used for
each system (if the data were unrelated for example).

What am I missing here? How would Web Services help me? I know it
would; I just can't picture it.

Thanks for your help.
Jul 20 '05 #1
4 1741
On 5 Jan 2004 07:30:10 -0800, jo*************@yahoo.com (jm) wrote:
Why would web services be better than simply using an scripting page
over HTTP to bring back the data?
A "scripting page over HTTP"_is_ a web service

As to why it's better than a SOAP web service, then that depends on
robustness and maintainability.

One in-house SOAP service is no better than an in-house web service
built from wet string and Perl. A family of such services, or a
service that connects to an external source, soon becomes
unmaintainable if it's not built to a single industry-wide standard.
You need a stable standard to code against, not an ad hoc one that
varies for every service and is not guaranteed to be stable in the
future.

There's also WSDL (which is particularly visible with .NET). By
formalising the deescription of a service, your client-building tools
can be automated. You could do this with an ad hoc service too, except
that no-one does (too much trouble for a one-off) and you certainly
won't see 3rd party support for it from an independent tools vendor.
So, I could use ASP.NET to hit all three databases and and bring them back on a single page,


This is aggregation, rather than web services. You could use three
random number generators and feed them onto one page. The "advantages
of web services", whatever they might be, are to do with the cost of
implementing each back-end link, not the benefits of combining the
three onto one presentation page.
--
Smert' spamionam
Jul 20 '05 #2
In the last exciting episode, jo*************@yahoo.com (jm) wrote:
I understand how an XML formatted SOAP message is used to request
items from a web service and how the XML formatted SOAP response is
used. I am still missing the big picture, however.

When is this used?

For example, let's say that I have three systems.

An Oracle system, SQL Server 2000 system and a DB2 legacy system.

Why would web services be better than simply using an scripting page
over HTTP to bring back the data? So, I could use ASP.NET to hit all
three databases and and bring them back on a single page, seamless to
the end user. For that matter, an individual page could be used for
each system (if the data were unrelated for example).

What am I missing here? How would Web Services help me? I know it
would; I just can't picture it.


Web Services is NOT about "web pages;" it is much more analagous to a
(dumbed-down) version of CORBA.

If you have interfaces to Oracle/SQL Server/DB/2 that you're happy
with, then SOAP may not provide anything of value to you. It's sure
to be less efficient than the "native" DB interfaces.

Web Services would be valuable if you wanted to be able to publish a
single seemingly-seamless API for _other_ people to use to access the
data. If that "unification" isn't so valuable that you can live with
the loss of efficiency involved in a heavyweight protocol like SOAP,
then it may not really be a help to you.
--
output = ("cbbrowne" "@" "ntlug.org")
http://www3.sympatico.ca/cbbrowne/soap.html
Inclusion of very old messages from others makes for an impressive show.
-- from the Symbolics Guidelines for Sending Mail
Jul 20 '05 #3
jm
Christopher Browne <cb******@acm.org> wrote in message news:<bt************@ID-125932.news.uni-berlin.de>...
In the last exciting episode, jo*************@yahoo.com (jm) wrote:
I understand how an XML formatted SOAP message is used to request
items from a web service and how the XML formatted SOAP response is
used. I am still missing the big picture, however.

When is this used?

For example, let's say that I have three systems.

An Oracle system, SQL Server 2000 system and a DB2 legacy system.

Why would web services be better than simply using an scripting page
over HTTP to bring back the data? So, I could use ASP.NET to hit all
three databases and and bring them back on a single page, seamless to
the end user. For that matter, an individual page could be used for
each system (if the data were unrelated for example).

What am I missing here? How would Web Services help me? I know it
would; I just can't picture it.


Web Services is NOT about "web pages;" it is much more analagous to a
(dumbed-down) version of CORBA.

If you have interfaces to Oracle/SQL Server/DB/2 that you're happy
with, then SOAP may not provide anything of value to you. It's sure
to be less efficient than the "native" DB interfaces.

Web Services would be valuable if you wanted to be able to publish a
single seemingly-seamless API for _other_ people to use to access the
data. If that "unification" isn't so valuable that you can live with
the loss of efficiency involved in a heavyweight protocol like SOAP,
then it may not really be a help to you.

Are web services using XML and SOAP a passing thing or is there
something else I should be looking to. I spoke to some Java guys who
didn't like it, but I think they just may not have like Microsoft (who
has an interest in SOAP?).

Thanks for comments.
Jul 20 '05 #4
WebServices are here to stay. Peruse around here ...

http://dev2dev.bea.com/technologies/...s/articles.jsp
Jul 20 '05 #5

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

Similar topics

7
by: Brian P | last post by:
I am working on a new program that uses a SOAP interface. I have written a few of these before, but this time it is giving me trouble. I suspect there is a problem with on the SOAP handler side,...
4
by: Jit Prasad | last post by:
I have been consuming a IBM Websphere (Java) web service using .Net 1.0 front end writen in VB.NET. The proxy class submits a soap request and gets a soap response. When I migrated the front-end...
4
by: Christian Wilhelm | last post by:
Hi! I have a Problem understanding the deserialisation of SOAP-Responses. The "normal" way, calling a XML WebService is to use WSDL 1) Send Request 2) Get SOAP-Response 3) With Informations...
0
by: jennifer.perkins | last post by:
I've seen a couple posts by people having similar problems, but the suggested solutions I've tried so far haven't worked. I'm using a SOAP client in VB.Net (constructed by wsdl.exe) and the...
3
by: Siva | last post by:
Hi all, I want to Convert a WSDL to a SOAP message. Is there any way to do this. I am using .NET 2.0 Thanks in Advance Siva
1
by: Florian Grousset | last post by:
Hi, I'm trying to code a simple C# SOAP client wich query an Axis2 Java SOAP Server. Server side code has been generated from a WSDL file. SOAP requests and responses must both contain a simple...
0
by: elgemcdlf | last post by:
I have a small db built with Lotus Approach that polls servers and catalogs the responses. I have now run into one that uses a Web Service for the data I desire. Below is the WSDL file along with the...
7
by: beachdog | last post by:
I'm using Visual Studio 2005/C# to build a web client. The web server is something I've written in a different framework, which does not support generating wsdl, so I have hand-built a wsdl file,...
0
by: santycalde | last post by:
Hi!! I am executing a call to a webservice with SOAP and the following mistake takes place: The XML of the wsdl is: <?xml version="1.0" encoding="UTF-8" ?> - <wsdl:definitions...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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
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...
0
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
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
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,...

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.