Home arrow Delphi-Kylix arrow Page 3 - Web Services Made Easy With Delphi
DELPHI-KYLIX

Web Services Made Easy With Delphi


Web services are being used more and more on the Internet, thanks to (among other advantages) their cross-platform compatibility. In this article, the first of three parts, we will cover what a web service is and how it works, and look at some examples of XML and SOAP messages.

Author Info:
By: Leidago
Rating: 3 stars3 stars3 stars3 stars3 stars / 19
October 23, 2006
TABLE OF CONTENTS:
  1. · Web Services Made Easy With Delphi
  2. · Why use XML (eXtensible Markup Language)?
  3. · Why SOAP (Simple Object Access Protocol)?
  4. · Web Service Description Language (WSDL)

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Web Services Made Easy With Delphi - Why SOAP (Simple Object Access Protocol)?
(Page 3 of 4 )

SOAP is a protocol that enables applications to send messages to each other without the hassle of having to worry about interoperability or firewall access. Interoperability in this case means that you should not have to worry or even know about what platform a service is running on or its implementation, if and when you want to use it. A comparable protocol and by far the most popular in use today is HTTP. We use this protocol to access web pages or to surf the net. HTTP ensures that you do not have to worry about what kind of server (Windows, UNIX, etc.) serves you the pages you are viewing or if the pages that you are viewing are made available by a PHP or ASP script.

Can you imagine the inconvenience if you had to use a different web browser for each type of web page that you wanted to visit? All that you need to know to view a website is its URL. In a similar manner, SOAP takes care of those problems for applications that communicate across networks such as the Internet.

All that you need to know to use a web service are its methods and the parameters that it requires. Then you need a client program to access the "services." Firewalls should not be a problem if the client program is configured correctly.

To summarize:

  • SOAP is used to transfer messages between applications. It puts the message in a SOAP "envelope" tag like so: <SOAP-ENV:Env,elope      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    </SOAP-ENV:Envelope>
  • SOAP takes care of interoperability and security when applications exchange data.

Say you've found a web service on the Internet. How would you know what methods are available and how to use them? This is where WSDL comes in. 


blog comments powered by Disqus
DELPHI-KYLIX ARTICLES

- Loading an XML Document into the DOM
- Delphi Wrapper Classes and XML
- Delphi and the DOM
- Delphi and XML
- Internet Access: Client Service
- Finishing the Client for an Internet Access ...
- The Client for an Internet Access Control Ap...
- User Management for an Internet Access Contr...
- Important Procedures for an Internet Access ...
- Server Code for an Internet Access Control A...
- Constructing the Interface for an Internet A...
- Building a Server Application for an Interne...
- Building an Internet Access Control Applicat...
- Client Dataset: Working with Data Packets an...
- Using the Client Dataset in an N-Tiered Appl...

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials