Sunday, June 16, 2013

WSDL-The Introduction

WSDL-Web Services Description Language


It is an XML- based interface description language for web service. It is a standard to describe the functionality and its capabilities.It is a document written in XML and describes the information about web services such as path and methods exposed by it.
Since WSDL describes the web services and even written in XML so there must be some structure and elements in it to present and describe it. There are six common elements as shown below.

1. Types
2. Message
3. PortType
4. Binding
5. Port
6. Service

WSDL-The Architecture





There are two parts of WSDL as abstract part and concrete part.
Abstract Part
It describes what a service do (means operations and methods).
Concrete Part
It describes how a service is accessed and from which location (Data format, Protocol details and address/URL details).
 PortTypes
 It defines a web services as operations that can be performed and message involved. It defines a method signature for each operation.
Message
It describes the parameters and message used by methods or operations.
Type
It defines the data types that is used by the services
Binding
It defines the message format and communication protocol used by the services. It binds the method to a particular protocol.
Port
It defines specific methods and its URI.
Service
It is a collection of ports.

No comments:

Copyright © Codingnodes,2014.All Rights Reserved.