JScript .NET, Part VI: Creating IE Web Services: A Final Word - Doc JavaScript
JScript .NET, Part VI: Creating IE Web Services
A Final Word
In this column, we connected back to our previous series on Web services. We showed you how to create Web services and how to use them. We taught you two ways to interact with Web services. You can simply browse Web services and test them from the browser. You can also consume Web services from within JavaScript code. We showed you how to create a GUI for consuming both Web services: add
and IsPrime
, and how to script the consuming capability into the page.
In this column you have learned:
- How to create a Web service
- How to interact with the
add
Web service - How to interact with the
IsPrime
Web service - How to write a page that consumes the
add
andIsPrime
Web services - How to script a page that consumes the
add
andIsPrime
Web services from IE
The following files were zipped for you: checkIsPrime.asmx
(the IsPrime
Web service), simpleCalc.asmx
(the add
Web service), add.html
(a consumer of the add
Web service), isprime.html
(a consumer of the IsPrime
Web service), example.html
(a consumer of both services), and webservice.htc
(the DHTML behavior).
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: June 17, 2002
Revised: June 17, 2002
URL: https://www.webreference.com/js/column112/7.html