Invoking a web service
Oct 14, 2014
Invoking a web service
First, it is necessary to provide an abstract definition of the service, including the details that allow anyone who wants to use the service to bind to it in the appropriate way.
Second, those people who are the providers of services need to publish details of their services so that those who want to use them can understand more precisely what they do and can obtain the information necessary to connect to use them.
Third, those who require services need to have some way to find what services are available that meet their needs.
According to the SOA
A Web service is:
An Interface That Describes A Collection Of Network Accessible Operations
Described Using A Service Description Language
Published By Making This Service Description Available To Users
Found By Sending Queries To A Registry Matching Service Descriptions
Bound-invoked By Using The Information Contained In The Service Description
Composed With Other Services To Create New Services (Service Orchestration)
All the technologies in Web Services are XML based Messaging Description Are all in XML Registry
Why? XML is pure text with no binary data Applications read the XML Applications share data using XML . Any application
can talk to any other Application using XML(unlike binary) irrespective of
the platform XML is a method for putting structured data in a
text file
UDDI Universal Description Discovery and Integration
Marketplaces, search engines, and business apps query the registry to discover services at other companies
3.
Business uses this data to facilitate easier integration with each other over the Web
4.
2.
• Businesses populate the registry withdescriptions of the services they support
BusinessDescriptions
SW companies, standards bodies, and programmers populate the registry withdescriptions of different types of services
1.
Service Types
How it works all together
Wire Stack
Envelope Extensions
XML Messaging
Data Encoding
NetworkProtocol
Secu
rity
Man
ag
eab
ility
Qu
ality
of S
erv
ice
Http(s), smtp,ftp etc
XML and SOAP
SOAP
SOAP Headers
Agreements
Process
Service Interface
Service Implementation
XMLXML Schema
WSDL
WSDL
WSEL
WSFL
Description Stack
Discovery Stack Directory
InspectionADS/DISCO
UDDI
WSDL – Web Services description LanguageUDDI – Universal Description, Discovery and Interaction
Web services interoperability stack