2. WHY WEB SERVICES NEEDED
…………..?
While creating a website that display Local, national
and International news to its user .
So that you do not have enough resource and budget to
collect the latest news and keep the content of website
up-to-date.
we can easily do this , we can gather the news from
other News websites and simply display on our websites
We can do this easily with the help of Web services ,
Which allow your website to communicate with the
other News websites
3. WHAT IS ACTUALLY WEB
SERVICES..?
A web services is an entity that can be
programmed to provide a particular functionality
to any number of application over the internet
Web services can be use by any web application ,
no matter whatever programming language is
used or hardware platform and operating system
on which application is running
Web services does not have any user interface . It
just provide s specific services to website
Before web services is introduce there is many
technologies are used such as DCOM and
CORBA but web services is more popular
4. FULL FORM OF DCOM & CORBA
DCOM : - Distributed Component Object Model
CORBA : - Common Object Request Broker
Architecture
5. [CONT..]
Web services are most appropriate to be used while
communicating across cross-platform or making
trusted connection between server and the client
6. BENEFITS OF WEB SERVICES
It is simple because of which they can be
implemented on various platform
Web services is loosely coupled because of which
their interface and methods can be extended
Web services do not carry any state information
from web pages
8. WEB SERVICES COMPLIES WITH
COMMON INDUSTRY STANDARDS ..
Simple Object Access Protocol (SOAP)
Web Services Description Language
(WSDL)
9. SOAP (SIMPLE OBJECT ACCESS PROTOCOL)
SOAP allows web services to communicate with
other Web Application over the Internet .
SOAP is a simple XML-based Protocol to let
exchange information over HTTP. SOAP is a
Protocol for accessing Web services .
SOAP Specifies a format for the XML Message
using which the web application request and
receive we services from a web Server
10. TWO FEATURES OF SOAP SUPPORT FOR
THIS
[CONT..]
Remote Procedure Calls : Remote web application
sends a SOAP message that contains a request to
a Procedure of Web services .
Platform Independent : Web services can be
developed using any programming language not
necessary to use same language used in web
application
11. WSDL (WEB SERVICES DESCRIPTION
LANGUAGE)
WSDL allow consumer of a Web services to know
about the web services before interacting with it.
It describe all the information required to use a
Web services that are Following.
Operation : Refer to the mechanism used by the
web services to exchange message with the
consumer of the web services.
Bindings : Refer to the protocol used by the web
service to the interact with consumer of the web
services .
Endpoint : Refer to the Location of a Binding.
12. [CONT..]
We can use WSDL to describe a web services
with the help of XML therefore you can use
WSDL to describe a web services that can be
used by the application create using different
platform and programming language .
WSDL is a document written in XML. The
document describes a Web service. It specifies
the location of the service and the operations the
service exposes.
13. MAJOR ELEMENT OF WSDL
[CONT..]
<type> : A container for data type definitions
used by the web service.
<message> : A typed definition of the data being
communicated.
<portType> : A set of operations supported by one
or more endpoints.
<binding> : Describe how a protocol can be used
with particular Interface
14. LOCATING WEB SERVICES..
The URL of the web services that you want to
use in your application , so you will just place it
in a configuration file .
In other situation you might have to search URL
of the Web services at application runtime .
There is two method to search URL for web
services.
DISCO (Discovery)
UDDI (Universal Description ,Discovery and
Integration)
15. DISCO..
It a standard that creates a list of related web
services in a file, called DISCO file .
An Organization can publish its own DISCO
file on the server, so that client can accessed
this file to determine what all web services are
available
16. UDDI
It a Centralized directory where different Web
services offered by different Organization are
published
Client can Search required Web services in the
Directory