Today, I am going to explain, what web service in .Net is and what advantage is used to web service. I will also explain how web services come in picture and before web services which technology worked.

What is web service?

Web Service is an application or we can say a standard way for interacting directly with other application over the internet. It’s a way to develop interoperable application over the internet.

Web Service can locate on same computer within same network or different computer with different network. Web service is protocol independent, language independent and platform independent. Web services support standard protocol and data format like HTTP, XML, and SOAP.

 

How web services come in picture?

Before web service there are two more technology was in picture.

COM: COM is known as Component Object Model. It allows interacting two objects on the same computer or machine but application can be different. We cannot use different application which located on different computer using COM. It was the limitation of COM.

DCOM: To remove limitation of COM new technology introduces known as DCOM.  DCOM is short form of Distributed Component Object Model. Using DCOM we can access two different application or object on different computer but both application must be in same network. This was the limitation of DCOM.

Web Service: To remove limitation of DCOM new interoperable technology come in picture known as Web service. Which allow us to interact with other object or application which is located on different network.

 

Advantage of web services

Web services use XML format message to interact with other system. Xml format is a standard way to communicate between two incompatible systems. Web service sent message over HTTP protocol. So, message reaches to any system over internet without being blocked by firewall.

 

What is WSDL?

WSDL means Web Services Description Language. Web services description language tell to client what types of message it accept and what will be return as a output. WSDL contain every detail of web services like what is communication protocol method name, data type used.

Conclusion:

So, Today We learned what is web services and what are the advantage of web service.

Reference:

 If you want to know more please click here.http://msdn.microsoft.com/en-us/library/ms950421.aspx

 

I hope this post will help you. Please put your feedback using comment which helps me to improve myself for next post. If you have any doubts please ask your doubts or query in the comment section and If you like this post, please share it with your friends. Thanks.