Sunday, December 6, 2009

ASP.Net Web Services

ASP.Net Web Services

  • A programming model that provides the ability to exchange messages in a scalable, loosely coupled and platform neutral environment using standard protocols such as HTTP,XML,XSD,SOAP and WSDL.

  • The SOAP based XML messages exchanged between a XML web service and its clients can be structured and typed or loosely defined.

  • The flexibility of using a text format such as XML enables the message exchange to evolve over time in a loosely coupled way.

Web Services - are a group of closely related, emerging technologies that describe a service oriented, component based application architecture that is based on an open, internet centric infrastructure.

XML,SOAP - a simple XML based protocol for exchanging structured and typed information as the web. The protocol contains no application or transport semantics which makes it highly modular and extensible.

WSDL - Web services Definition Language (similar to method signature). It is an XML based language used to define web services and describe how to access them. It is SOAP's interface definition language.

DISCO - (Discovery file) Holds reference to all the web services hosted on a server.

UDDI (Universal Description, Discovery and Integration)

Client Machine ---- URI of web service ----> IIS (port 80) ------> ASP.Net run time-----

----> Web services Handler ------> creates an instance of MyWebService and invokes the called method.Any parameters required by method are deserialized from SOAP packet and passed to method as .Net objects.


MyWebService ---------returns---> Computed value -----serializes---> data to XML document wrapped in SOAP packet ------>ASP.Net runtime ----response---->IIS----respond --->Client

No comments:

Post a Comment