You are on page 1of 2

What is API?

API is a Application Program Interface. API is a messenger that take request from user and tell the
system what you want to do and send the respond back to the user.

In other words, API is the Software intermediary that allows the systems talk to each other.

Request
App A App B
Response

What is a web service?

Web service is a piece of code available in internet. When we host our API on internet then our API acts
as a web service.

Two types of web services:

(i) Soap Service


(ii) Web Service

Soap Service:

1) Soap Service is a Simple Object Access Protocol,


2) It allows only XML format, if any other comes it convert into XML format.
3) SOAP work on the HTTP protocol by default.
4) SOAP cannot use make of REST services.
5) IT has own security framework OWSM, unlike RES service(REST don’t have any security
framework).
6) Di advantage is it requires more band width compare to REST services.

REST Web Services:

(a) REST stand for Representational State Transfer. A web service created using REST architectural
pattern is known as REST API.
(b) REST can allows all formats XML,HTML an JSON etc..
(c) REST don’t have any own security frame work, it relies on HTTP.
(d) REST can make use of SOAP services.

Tools, Software and Applications you need to work on Mulesoft:

(a) AnyPoint plotform


(b) Anypoint Studio
(c) Mule Runtime
Introduction of Mule Components:

(a) Mule Processor


(b) Mule flow
(c) Mule Event
(d) Mule Connector

You might also like