Professional .NET Applications Programmer/Consultant:
Jasem Y. Al-Shamlan BsEE (Electrical Engineering), BsMS (Mathematics)

[ ART ]

Jasem Y. Al-Shamlan
Professional .NET Applications Programmer/Consultant
Availability: available now for contract, consultancy, or part-time job.
Mobile: (965) 66925732; Email & MSN: info@i.com.kw
Skip Navigation LinksHome » Services » XML Webservices

Webservices: These are small and highly efficient programs that are also reusable. These units employ the XML information exchange standards to enable communication between different programs that might be written in different languages and reside on different machines and operating systems. These programs could enable connection on any medium (Network, Internet, Intranet,...etc.)

Web services provide a standard means of interoperating between different software applications, running on a variety of platforms and/or frameworks. Web services are characterized by their great interoperability and extensibility, as well as their machine-processable descriptions thanks to the use of XML. They can be combined in a loosely coupled way in order to achieve complex operations. Programs providing simple services can interact with each other in order to deliver sophisticated added-value services.

Technically a Web Services might be described as a "self-describing software modules, semantically encapsulating discrete functionality, wrapped in and accessible via standard Internet communication protocols like XML and SOAP."

More clearly it could be described as an approach that helps the business connect with its customers, partners, and employees. They enable the business to extend existing services to new customers. They help the business work more efficiently with its partners and suppliers. They unlock information so it can flow to every employee who needs it. They reduce development time and expense for new projects. You'll hear less about what Web services are and more about what they enable the business to do.

SOAP is a lightweight protocol intended for exchanging structured information in a decentralized, distributed environment. It uses XML technologies to define an extensible messaging framework providing a message construct that can be exchanged over a variety of underlying protocols. The framework has been designed to be independent of any particular programming model and other implementation specific semantics.

Microsoft .Net Chart

The sample on the right uses a Webservice with SOAP protocol to exchange data between two machines.

Below are some public web services that I have designed and use from different applications (both websites and software)

For more samples of other XML Webservices visit http://wap.i.com.kw using the browser or your mobile phone.

Benefits of Web Services

By enabling applications to share data across different hardware platforms and operating systems, Web services provide many benefits, including:

  • Opening the door to new business opportunities by making it easy to connect with partners.
  • Delivering dramatically more personal, integrated experiences to users through the new breed of smart devices—including PCs.
  • Saving time and money by cutting development time.
  • Increasing revenue streams by enabling businesses to easily make their own Web services available to others.

The modified article and illustrations are taken from Microsoft Corporation & W3C.

Read more about Web Services at What Are Web Services? at Microsoft.com.


Sample Webservices

Below is a good example of a simple, public Webservice. The Weather.com website provides an XML Webservice section that would return XML data specific to required locations around the world. Our program below contacts the Weather.com webservice regularily and request weather information relative to, say, Kuwait. The XML data is then manipulated and presented on our website (or mobile device) as is shown below:

Weather Forcast for Kuwait City
Now:
Fair 34°C Feels Like 34°C
Wind from WSW at 10 km/h
Humidity: 10%
Visibility: 10.0 km
Today:
High: 33°C Low: 19°C
Sunrise: 6:05 AM, sunset: 5:54 PM
Morning: Partly Cloudy
Wind from ESE at 14 km/h
Humidity: 14%
Percipitation: 0%
Night: Mostly Clear
Wind from S at 16 km/h
Humidity: 34%
Percipitation: 0%
Tomorrow:
High: 35°C Low: 20°C
Sunrise: 6:04 AM, sunset: 5:55 PM
Morning: Sunny
Wind from NW at 14 km/h
Humidity: 15%
Percipitation: 0%
Night: Partly Cloudy
Wind from S at 11 km/h
Humidity: 33%
Percipitation: 0%


All Rights Reserved © 2001-2010 Professional .NET Applications Programmer/Consultant, Jasem Y. Al-Shamlan. Copyrights, About Us, Terms of Use, Disclaimer, Contact Us, Privacy Policy, Anti-Spam Policy. (النسخة العربية).