Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
75 views3 pages

Todays's API Notes

Web services allow different applications to communicate by exchanging data over the internet using common standards like XML and SOAP. A web service's communication takes place through XML/SOAP requests and responses. The architecture includes XML for data formatting, SOAP for messaging, WSDL for describing the service, and UDDI as a global directory of available services.

Uploaded by

Amol
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views3 pages

Todays's API Notes

Web services allow different applications to communicate by exchanging data over the internet using common standards like XML and SOAP. A web service's communication takes place through XML/SOAP requests and responses. The architecture includes XML for data formatting, SOAP for messaging, WSDL for describing the service, and UDDI as a global directory of available services.

Uploaded by

Amol
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Web Services/ API Testing

An Web Service/ API is an independent entity but we can categorize into the backend
technology.. A technology is said to be front-end
fron end because it is presented in front to the
user i.e. UI whereas technology is said to be backend because it supports the front
front-end
from backstage.

What is Web Services?


A web service is a collection of open standards and protocols widely used for the
exchange of data between systems or applications in the form of request and response
over the internet.

Web Service provide a common platform in which multiple applications make the
communication between each other.

What is the Web Service Communication?


The communication between service consumer and service provider is nothing but the
web service communication.

This communication takes place in the form of XML/SOAP Request and XML/SOAP
XML/
Response.
(Request)
Account No + Mobile No.
XML/SOAP Message

(Response)
Account Verify
XML/SOAP Message
Architecture of Web Services:

Web Services

XML SOAP MESSAGE WSDL UDDI

XML: (Extensible/Extreme Markup Language)


 It is machine readable code which is software and hardware independent.
 It is used to perform the communication between different technology and
different platforms.
 XML can hold data like.. (HTML, HEADER,BODY, DIV, FAULT).

SOAP MESSAGE:
 SOAP = SIMPLE OBJECT ACCESS PROTOCOL
 SOAP is known as the transport messaging protocol for making communication
between different services.
 SOAP message are used to send the response and receive the request from the
web services, It has some amazing elements present inside the SOAP message are
as follow,

SOAP Elements: (we can correlate these elements with our post office letter*)

 ENVELOP = Optional Part / Soap Message / Packet which contain whole msg.
 HEADER = Service Access or Authorization / Top most in the message
 BODY = Main part / definition of the SOAP message.
 FAULT = Error Message(s)

WSDL: (Web Service Descriptive Language)


 It is written in XML document, and it is used for the describing the functionality of
the web service.
 It is also used to locate the web services in the UDDI.
 Also the client can use the functionality of the web service using custom
implementation of WSDL

WSDL contains following parameters,


 DATA TYPE = Data type of data which is present in the Service.
 ELEMENT = Which operation to be perform on the Data.
 MESSAGE = It defines the functionality of the service in the UDDI location.
 BINDINGS = To combine all the services in the XML doc.

Example: http://www.xignite.com/xCurrencies.asmx?wsdl

UDDI: (Universal description


ion discovery integration)
 It is an global repository or online directory where all the web services are stored
and any organization can search the service the under the UDDI.
 Also we can say that all the WSDL files are stored under the UDDI.

You might also like