473,320 Members | 2,164 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,320 software developers and data experts.

WHy Web Services ?

I've learnt that there are 3 types of web services...........one that
provide information, once that provide a transaction, ones are an
integration of webservices.

WHy bother have a web service that simply provides information when
you can just have a web application (eg ASP)that does that?

Also, can a html web page generate SOAP, or do i need a web
application (eg ASP) inorder to have a webpage that interacts with a
web service?
Thanks

Liza
Jul 20 '05 #1
2 1797
Andy Dingley <di*****@codesmiths.com> wrote in message news:<t9********************************@4ax.com>. ..
On 13 Aug 2003 05:30:57 -0700, li*******@yahoo.co.uk (Liza) wrote:
I've learnt that there are 3 types of web services


I thought the colleges would all be out on holiday at the moment ?
8-)
..........one that
provide information, once that provide a transaction, ones are an
integration of webservices.


This is the sort of silly over-categoriastion that characterises poor
textbooks. Web services "do stuff", where we haven't even invented
half of "stuff" yet. This taxonomy is a vague support to learning,
not a definition,.
WHy bother have a web service that simply provides information when
you can just have a web application (eg ASP)that does that?


Because web services return it differently. Getting the same
information as HTML is a pain - it's full of decorative stuff that's
not interesting to the client, and its likely to be changed more often
to re-design the page.

You _could_ do it. When the information was only published in HTML,
we regularly did (and thought how lucky we were). But you wouldn't
choose to do it again that way.

A couple of years ago I had a job to screen-scrape the Amazon top 100
list, and some special offer lists from other sites. Being the early
days of XML, I had to do this by readign the HTML and
slicing-and-dicing it. Hateful job, and every time they changed the
page layout, my code broke.

Also, can a html web page generate SOAP, or do i need a web
application (eg ASP)


Which side ? Server or client ?

(Server)

HTML is static, not a programming language. You can't "do" anything in
it. You need a server-side coding platform, which could be anything
from CGI Perl to ASP. If you;re lucky, you'll have a middleware
product like WebLogic. This understands SOAP already, so you never
need to write a SOAP protocol handler itself - you

ASP is a lousy platform for web services, because it has no
integration to code components from SOAP, and it's hard to make one
(There are few WebSpheres for ASP). You're much easier in Java, where
code integration between a web service and a pluggable code component
is much cleaner. Or in .Net, which fixes some of the issues that made
this tricky in ASP. Not surprisingly, most of the world's
interesting web service work is happeing in Java.

(Client)

You can't do this in pure HTML. You need a scripting language, and
you need a scripting languge that can talk to a protocol like HTTP. I
told you this last week.

There's also a Flash product that does it.


what i'd really like to know is........if i have a web page and a
webservice written in java, how do i get my web page to call the web
service?

will i need to code the web page in ASP and then get the server side
ASP to do interaction with the web service? or what?
Liza
Jul 20 '05 #2
On 14 Aug 2003 08:30:39 -0700, li*******@yahoo.co.uk (Liza) wrote:
what i'd really like to know is........if i have a web page and a
webservice written in java, how do i get my web page to call the web
service?
Client or server ?

Assuming client, then code the page in a combination of HTML,
Javascript and the MSXML control's XMLHTTP object. Like I said
before, try to find Aaron Skonnard's example in MSDN.
http://www.microsoft.com/mind/0100/soap/soap.asp

will i need to code the web page in ASP and then get the server side
ASP to do interaction with the web service?


You could do this too. If you needed "pure" HTML on the client, then
you might do. If you wanted a web page that was more complex than
just the web service results, then you might too.
Jul 20 '05 #3

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

Similar topics

4
by: rbt | last post by:
How does one associate a "Description" with a Windows service written in Python? I've just started experimenting with Python services. Here's my code... copied straight from Mr. Hammond's "Python...
6
by: cs | last post by:
I noticed there is some .net services on my winxp. One or two mention the CLR. Does that mean that my .net apps/services wont run before those services start? I need to run my service as early on...
0
by: Diego F. | last post by:
I've been days with that. I'm trying to work with web services sending and returning objects, and the web service must store some objects. - My first try (the most obvious in my opinion) was to use...
26
by: Mr Newbie | last post by:
What do I need to run a web service on my PC ? I know I need the .NET Framework, but do I need IIS Running ?
3
by: Matt D | last post by:
I've got two web services that use the same data types and that clients will have to consume. I read the msdn article on sharing types...
7
by: Stu | last post by:
Hi, I have a web service which returns a record set and works well integrated with an asp dot net page. However if I decided to develop a unix app will i be able to read the dataset as it is...
3
by: Olivier BESSON | last post by:
Hello, I have a web service of my own on a server (vb.net). I must declare it with SoapRpcMethod to be used with JAVA. This is a simple exemple method of my vb source : ...
2
by: sdstraub | last post by:
I have created 5 services in my project, in the 1st service I set servicestorun = array of all 5 services, I have a project installer with 5 service installers, one for each service. I have code...
0
by: krishnaraju | last post by:
HI to all, please help me.its urgent requirement. my question is this is the wsdl file i got from our client.please see at bottom. when iam trying to access that webmethods iam getting...
1
by: Data Entry Outsourcing | last post by:
Data Entry plays vital role in every business area. Data Entry is one such aspects of any business that needs to be handled properly for expanding your business. Data Entry is one of the leading...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.