8/2/2019 Web Service Architecture
1/14
Technical Progressive SeminarOn
Web Service Architecture
By
Ayesha Faheem 08871A0509Under the Supervision of
K.Narahari
Asst. Professor
8/2/2019 Web Service Architecture
2/14
Whats Web Service?
The "Web service defines as "a softwaresystem designed to support interoperablemachine-to-machine interaction overa network".
It has an interface described in a machine-processable format (specifically Web ServicesDescription Language WSDL). Other systemsinteract with the Web service in a mannerprescribed by its description
using SOAP messages, typically conveyedusing HTTP with an XML serialization inconjunction with other Web-related standards.
8/2/2019 Web Service Architecture
3/14
Web service architecture identifies the functionalcomponent and defines the relationships amongthose components to affect the desired propertiesof the overall architecture.
This is a public working group note produced bythe W3C Web Services Architecture WorkingGroup, which is part of the W3C Web ServicesActivity.
Web Service Architecture is an interoperabilityarchitecture it identifies those global elements of theglobal Web service network that are required inorder to ensure interoperability between Webservices.
Web Service Architecture
8/2/2019 Web Service Architecture
4/14
Web Service Model
Operations in a Web ServiceArchitecture Publish
Service descriptions need to be published inorder for service requestor to find them
Find Service requestor retrieves a service
description directly or queries the serviceregistry for the service required
Bind Service requestor invokes or initiates an
interaction with the service at runtime
8/2/2019 Web Service Architecture
5/14
SOAP: Simple ObjectAccess Protocol
What is SOAP? SOAP is a communication protocol
SOAP is for communication between applications
SOAP is a format for sending messages
SOAP is designed to communicate via Internet SOAP is platform independent
SOAP is language independent
SOAP is based on XML
SOAP is simple and extensible SOAP will be developed as a W3C standard
8/2/2019 Web Service Architecture
6/14
SOAP Message Structure
Request and Response messages
Request invokes a method on a remoteobject
Response returns result of running themethod
SOAP specification defines an envelop
envelop wraps the message itself
Message is a different vocabulary
Namespace prefix is used to distinguishthe two parts
Application-specificmessage vocabulary
SOAP Envelop
vocabulary
8/2/2019 Web Service Architecture
7/14
Web Services DescriptionLanguage
What is WSDL?
WSDL is written in XML
WSDL is an XML document
WSDL is used to describe Web services
WSDL is also used to locate Web services
WSDL is not yet a W3C standard
Operational information about the service
Location of the service
Service interface
Implementation details for the service interface
8/2/2019 Web Service Architecture
8/14
WSDL Document Structure
element Defines a web service, the operations that
can be performed, and the messages thatare involved
element Defines the data elements of an operation
consists of one or more parts.
The parts can be compared to theparameters of a function call in atraditional programming language
8/2/2019 Web Service Architecture
9/14
WSDL Document Structure
element
Defines the data type that are used by the
web service For maximum platform neutrality, WSDL
uses XML Schema syntax to define data
types element
Defines the message format andcommunication protocols used by the web
service
8/2/2019 Web Service Architecture
10/14
Universal Description, Discoveryand Integration (UDDI) What is UDDI?
Directory service where businesses can register andsearch for Web services
Directory for storing information about web services
Directory of web service interfaces described by WSDL
UDDI communicates via SOAP
What is UDDI Based On?
Uses W3C Internet standards such as XML, HTTP, andDNS protocols
UDDI uses WSDL to describe interfaces to web services
8/2/2019 Web Service Architecture
11/14
UDDI Roles and Operations
Service Registry
Provides support for publishingand locating services
Like telephone yellow pages
Service Provider Provides e-business services
Publishes these services througha registry
Service requestor
Findsrequired services via theService Broker
Binds to services via ServiceProvider
8/2/2019 Web Service Architecture
12/14
Conclusion
Web Services substitute for existingdistributed computing model such as RPC.
To apply to real e-business application,the following problems should be covered Security
Transaction Management
QOS (ex., reliable message transmission)
Efficient methods for composing WebServices
8/2/2019 Web Service Architecture
13/14
Java Web Service Architecture, byJames McGovern and Sameer Tyagi,First Edition Morgan Kauffman
Publishers,2003.Habegger.B Quafafou.M, Web Service
for Information Extraction from the
web.http://en.wikipedia.org/wiki/web_servic
e.
References
8/2/2019 Web Service Architecture
14/14
THANKYOU!!!