SlideShare a Scribd company logo
1 of 66
Dickson Chiu 2006 Web Service-1
Learning Objectives
 To understand the basics of Web services and
SOA
 To understand potential applications of Web
services and SOA in e-business and enterprise
computing, in particular, for business process
integration
 To know the some technological details of SOA:
UDDI, WSDL, and SOAP
2
3.1 What is Web Service and SOA?
Dickson Chiu 2006 Web Service-3
New Age of Distributed Computing
 Convergence of two technologies
 The Web:
 Universal communication
 HTTP, XML
 Service-oriented computing:
 Exposing data and business logic through a
programmable interface
 EJB, RPC, RMI, CORBA, DCOM
Dickson Chiu 2006 Web Service-4
What is SOA?
 Contemporary Service-Oriented Architectures
(SOA) represents an architecture that
promotes service-orientation through the use
of Web services.
 All functions, or services, are defined using a
description language and have invokable
interface that are called to perform business
processes.
Dickson Chiu 2006 Web Service-5
What is a Web Service?
 W3C: “The World Wide Web is more and more used for
application to application communication. The programmatic
interfaces made available are referred to as Web services”
 http://www.w3.org/2002/ws/
 A Web service is a software system designed to support
interoperable machine-to-machine interaction over a
network.
 It has an interface described in a machine-processable
format (specifically WSDL).
 Other systems interact with the Web service in a
manner prescribed by its description using SOAP
messages, typically conveyed using HTTP with an XML
serialization in conjunction with other Web-related
standards.”
 http://www.w3.org/TR/ws-arch/
Dickson Chiu 2006 Web Service-6
Key features of Web Services
 A modular, well-defined, encapsulated function
 Used for loosely coupled integration between
applications or systems
 Based on XML, transported in two forms:
 Synchronous (RPC)
 Asynchronous (messaging)
 Both over Simple Object Access Protocol (SOAP)
 Specified in Web Services Description Language
(WSDL)
 Sometimes advertised and discovered in a service
registry – Universal Description, Discovery and
Integration (UDDI)
 Over Intranet and Internet
Dickson Chiu 2006 Web Service-7
Use of SOA and Web Services
 Facilitates:
 Marketing efforts
 E-Commerce
 Personalization
 Direct services to end users
 Strategies:
 Focus now on partnerships
 Integration
 Direct communication
 Automating processes across organizational
boundaries
8
3.2 Potentials of SOA for e-Business
Dickson Chiu 2006 Web Service-9
Expected Potentials of SOA
 The Web services market is expected to grow to USD$28
billion in sales in the coming three years.
 HOLLAND, P. 2002. Building Web Services From Existing Application. eAI
Journal, September 2002, 45-47
 Early adopters of Web services may include several
industries that involve a set of diverse trading partners
working closely together in a highly competitive market:
 Insurance Services
 Financial Services
 High-tech Services
 Ref: RATNASINGAM, P. 2002. The Importance of Technology
Trust in Web Services Security. Information Management &
Computer Security, vol. 10, no. 5, 255-260.
 Enterprise internal integration
Dickson Chiu 2006 Web Service-10
For Sharing Data in e-Business
 Sharing Data with Partners
 FTP processes
 Emails
 Post & Retrieve Processes
• Issues
– Usually Manual
– Multiple transfers
not transactional
Here is a purchase
order for you to process…
Retailer Supplier
XML document exchange
Here is an invoice for the
goods supplied
 XML
 Open Standard
 unanimous support
from vendors
 Easy to work with
 Many tools available
Dickson Chiu 2006 Web Service-11
Problems for Sharing Applications
 Sharing processes
 EAI - Enterprise Application
Integration
 Not just integration, but
interaction
What’s the product lead
time?
Retailer Supplier
3 Days
(for just the answer!!!)
• Issues
–Complex, Custom,
One-off Solutions
–Proprietary end
points
–Not scalable
Dickson Chiu 2006 Web Service-12
Sharing Applications
 Common Approaches via the Web
 Hyper-links
 Frames
Dickson Chiu 2006 Web Service-13
Web Service Based Integration
 Applications
consuming processes
on external systems
 Presenting one view
to users
Dickson Chiu 2006 Web Service-14
Web Service Aggregation
 Partners working
together
 Service Aggregation /
Composition
 Can work together in
different ways
 Support
workflow/business
processes
Dickson Chiu 2006 Web Service-15
Major Benefit of Web Services
for e-Business
 A major drawback of traditional business-to-business
(B2B) applications is that setting up an additional
connection with another trading partner is costly and
time consuming.
 The benefits of adopting SOA:
 Faster time to production
 Convergence of disparate business functionalities
 A significant reduction in total cost of development
 Easy to deploy business applications for trading partners
 Ref: RATNASINGAM, P. 2002. The Importance of Technology Trust in Web
Services Security. Information Management & Computer Security, vol. 10, no. 5,
255-260.
Dickson Chiu 2006 Web Service-16
SOA Communication Overview
 Communication via existing Internet Protocols and XML
 Simple Object Access Protocol (SOAP)
SOAP
Dickson Chiu 2006 Web Service-17
SOA Application – 2 Partners
 Two Partners Scenario
 Application (Consumer)
 Web Service (Provider)
 Web Service Side
 Interface
 Business Logic
 Data
 Consumer Side
 Presentation
 Application
Dickson Chiu 2006 Web Service-18
SOA Application – 3 Partners
 Three partners scenario
 One client application
 Two Web services, one references the other
Dickson Chiu 2006 Web Service-19
Order Placement
Order
Placement
Tax
Calculation
Shipping
Calculation
Discount
Calculation
Supporting services may reside
somewhere else,
provided by someone else
Dickson Chiu 2006 Web Service-20
Information Integration
New services offering
different features can
be added as needed
Mortgage
Quote
Financial
Instrument
Financial
Instrument
Financial
Instrument
This is a scenario similar to your
assignment…
Dickson Chiu 2006 Web Service-21
Wireless Consumer Service
PIM
CRM
ERP
Wireless
Web
Service
PIM – Personal Information Management
CRM – Customer Relationships Management
ERP – Enterprise Resources Planning
22
3.2 SOA Technology Overview
Dickson Chiu 2006 Web Service-23
UDDI
Registry WSDL
Web
Service
SOAP
Service
Consumer
Points to description
Describes
ServiceFinds
Service
Communicates with
XML Messages
SOA Technologies
Dickson Chiu 2006 Web Service-24
The Web Services Trinity
 A Contract Definition Language
 Web Service Description Language (WSDL).
 De Facto standard.
 Standardized Look-up
 Universal Description Discovery and Integration
(UDDI)
 Interoperability standards
 Simple Object Access Protocol (SOAP).
 Publish/Find/Bind - Web Services are published and
located via the UDDI, they are described using WSDL
and are invoked using SOAP over HTTP
 Demo: http://www.soapclient.com/
Dickson Chiu 2006 Web Service-25
Publish/Find/Bind Model
Adapted from Mohen, C. (2002). “Tutorial: Application Servers and Associated Technologies,”
ACM SIGMOD International Conference on Management of Data (SIGMOD'02), Madison, USA, June 2002.
1. The service provider
publishes its service(s) to a
service registry such as UDDI
in the form of a WSDL
document.
2. The service requestor finds
services for consumption via
service registries and this
process is also called “service
discovery.”
3. Once the service requestor has
acquired the service
information, it can attempt to
bind to the service and use it.
Dickson Chiu 2006 Web Service-26
Internet
Logistics Company
Supplier
Buyer
E-Retailer
GetQuoteReservation
Purchase
Order
Use of SOA
 Publishing of business functions by
means of API
 Web pages for humans (B2C)
 Web services for program to
program (B2B)
A programmable
application component
accessible via standard
Web protocols
Bank
Dickson Chiu 2006 Web Service-27
RPC
Supplier
J2EE
Bank
COM
Logistic
Company
Internet
SOAP
SOAP
SOAP
More SOA Scenario
Web Service
Order Fulfillment
Web Service
Shipping Order
Web Service
Credit Card Check
Shop
Application
Web Service
E-Retailer
Dickson Chiu 2006 Web Service-28
SOA Communication Infrastructure
 Reproduced with the kind permission of John McGuire Cape Clear Software
Web Service Broker
Web
Service
Requester
Web Service Provider
Publish Service Description
Get Service Description
Discover Service
Use Service based on
Service Description
Dickson Chiu 2006 Web Service-29
Traditional RPC vs Web Services
Traditional RPC
 Within enterprise
 Tied to a set of
programming languages
 Procedural
 Usually bound to a
particular transport
 Tightly-coupled
 Firewall-unfriendly
 Efficient processing
Web Services
 Between enterprises
 Program language
independent
 Message-driven
 Easily bound to
different transports
 Loosely-coupled
 Firewall-friendly
 Relatively not efficient
processing
Dickson Chiu 2006 Web Service-30
Web Applications vs Web Services
Web Application
 User-to-program
interaction
 Static integration of
components
 Monolithic service
 Ad hoc or proprietary
protocol
Web Services
 Program-to-program
interaction
 Dynamic integration of
components
 Service aggregation
 Interoperability
Dickson Chiu 2006 Web Service-31
SOA Favorable Properties
 Loosely-coupled: Web services can run independently of
each other on entirely different implementation platforms
and run-time environments.
 Encapsulated: The only visible part of a Web service is the
public interface, e.g., WSDL and SOAP.
 Standard Protocols and Data Formats: The interfaces are
based on a set of standards, e.g., XML, WSDL, SOAP,
UDDI and etc.
 Invoked Over Intranet or Internet: Web services can be
executed within or outside the firewall.
 Components: The composition of Web services can enable
business-to-business transactions or connect the internal
systems of separate companies, such as workflow.
Workflow is a computer supported business process.
 Business Oriented: Web services are not end-user
software!
Dickson Chiu 2006 Web Service-32
Why SOA? - Summary
 SOA allows us to share processes over the Internet
 independent of platform, tools, or technology
 Anyone, anywhere, any device, anytime
 It is a better integration solution for process sharing
 Applications become services
 Services are accessible
 Services enable integration
 EAI
 B2B
 It will create new business models that we have yet to
conceive
 Services can be assembled and reused
 Based on open standards: XML and SOAP
 “Plug and Play” applications
 Delivering on the age-old promise of reusability
33
3.3 WSDL
Dickson Chiu 2006 Web Service-34
WSDL - Web Services Description
Language
 In the format of XML document
 Describes a Web Service
 What it does
 How to communicate with it
 Where to find it
 Invented by Ariba, IBM, Microsoft
 Version 1.1 to W3C, March 2001
 The intent was to create something that worked
 Extensible - not something complete
 Creating a formal Web Services “data model” was not a priority
 W3C standardization (to version 2.0) in progress
 http://www.w3.org/2002/ws/
 Example tool support: XMLspy
 Tutorial: http://www.w3schools.com/wsdl/default.asp
Dickson Chiu 2006 Web Service-35
Elements in WSDL Definitions
 Types
 Based on XML Schema type system
 Message formats
 Parts represent method parameters
 Port Types
 Set of operations
 Parameter order
 Input and output messages
 Bindings
 Map a Port Type to a specific protocol, using a specific data encoding
style
 Services
 Set of ports that implement port types
 Access point for each port
Dickson Chiu 2006 Web Service-36
<definitions>
<types> <!-- XML Schema --> </types>
<message name=“getQuoteRequest” />
<message name=“getQuoteResponse” />
<portType name=“StockQuoteServiceInterface”>
<operation name=“getQuote”>
<input message=“getQuoteRequest” />
<output message=“getQuoteResponse” />
</operation>
</portType>
<binding name=“StockQuoteServiceBinding” type=“StockQuoteServiceInterface”>
<soap:binding transport=“http://schemas.xmlsoap.org/soap/http” />
…
</binding>
<service name=“StockQuoteService”>
<port name=“StockQuoteServicePort” binding=“StockQuoteServiceBinding”>
<soap:address location=“http://www.acme.com/services/stockquote” />
</port>
</service>
</definitions>
WSDL – An Example
Definition of data types
Definition of messages
Definition of port type
Definition of the bindings
Definition of the service
37
3.4 UDDI
Dickson Chiu 2006 Web Service-38
UDDI
 Universal Description, Discovery and Integration
 Registry for Web services
 Similar to CORBA’s Naming Service or Java’s JNDI
 Has a Web Services API for publishing and discovering the
existence of Web services
 A registry where you find a Web service and its description
(WSDL)
 Search by business
 Search by service type
 A coalition of organizations working together to manage
UDDI registries and to further develop the Web Services
API for accessing those registries.
 Joint Initiative –uddi.org
 By Ariba Inc., IBM Corp. and Microsoft Corp.
 An open uddi community to support the development of uddi
 UDDI Business Registries: Microsoft, IBM, SAP, NTT-Com
 Test UBR nodes: Microsoft, IBM, SAP
Dickson Chiu 2006 Web Service-39
UDDI Advantages
 Making it possible to discover the right business from
the millions currently online
 Defining how to enable commerce once the preferred
business is discovered
 Reaching new customers and increasing access to
current customers
 Expanding offerings and extending market reach
 Solving customer-driven need to remove barriers to
allow for rapid participation in the global Internet
economy
 Describing services and business processes
programmatically in a single, open, and secure
environment
Dickson Chiu 2006 Web Service-40
How UDDI Works
UDDI Business Registry
3. Assigns a unique identifier to each business
registration
Marketplaces, search
engines, and business
apps query the registry to
discover services at other
companies
4.SW companies, standards
bodies, and programmers
populate the registry with
descriptions of different types
of services
1.
Business
RegistrationsBusinesses
populate
the registry
with
descriptions of
the services
they support
2.
Business uses this
data to facilitate
easier integration
with each other over
the Web
5.
Dickson Chiu 2006 Web Service-41
UDDI Implementation
UDDI Business Registry
Programmatic descriptions of
web services
Programmatic descriptions of
businesses and the services they
support
Programming model, schema,
and platform agnostic
Uses XML, HTTP, and SOAP
Manufacturers
Flower Shops
Marketplaces
Dickson Chiu 2006 Web Service-42
UDDI Business Registration
 Businesses register public
information about themselves
 “White pages”
 including address, contact and known
identifiers
 “Yellow pages”
 including industry categories, based on
standard taxonomies
 “Green pages”
 technical information about the services
exposed by the business
White
Pages
Yellow
Pages
Green
Pages
Dickson Chiu 2006 Web Service-43
White Pages
 Business Name
 Text Description
 list of multi-language text strings
 Contact info
 names, phone numbers, fax numbers, web sites…
 Known Identifiers
 list of identifiers by which a business may be known,
such as PCCW, DHL, IBM, HP, other
Dickson Chiu 2006 Web Service-44
Yellow Pages
 Business categories
 3 standard taxonomies in V1
 Industry: NAICS (Industry codes - US Govt.)
 Product/Services: UN/SPSC (ECMA)
 Location: Geographical taxonomy
 Implemented as name-value pairs to allow
any valid taxonomy identifier to be attached
to the business white page
Dickson Chiu 2006 Web Service-45
Green Pages - Background
 Emerging B2B applications increase the need for sharing and
coordinating the use of Web services for different business processes in
a loosely coupled execution environment.
 A business process contains a set of activities which represent both
business tasks and interactions between Web services.
 In the past few years, business process or workflow proposals relevant
to Web services are proposed and discussed in the business and
academic world.
 Ref: www.w3c.org
 All of the proposed XML languages are based on WSDL service
descriptions with extension elements:
 Web Services Flow Language (WSFL) and Web Services Endpoint Language
(WSEL)
 XLANG
 Business Process Execution Language for Web Services (BPEL4WS)
 ebXML…
Dickson Chiu 2006 Web Service-46
Green Pages
 A set of detailed technical information that
describes how to “do e-commerce” with each
company
 Nested model
 Business processes (BPEL4WS)
 Service descriptions (WSDL)
 Binding information
 Programming/platform/implementation agnostic
 Services can also be categorized
Dickson Chiu 2006 Web Service-47
businessEntity
businessKey
name
URL
description
contacts
businessServices
identifierBag
categoryBag
Phone
Address
Email
Contact
businessService
Key
Name
Description
BindingTemplates
Phone
Address
Email
Contact
businessService
serviceKey
tModelKey
Name
Description
BindingTemplates
keyedReference
tModelKey
keyName
keyValue
keyedReference
tModelKey
keyName
keyValue
keyedReference
tModelKey
keyName
keyValue
keyedReference
tModelKey
keyName
keyValue
Business Registration
 XML document
 Created by end-user
company (or on their
behalf)
 Can have multiple
service listings
 Can have multiple
taxonomy listings
Dickson Chiu 2006 Web Service-48
Example of a Registration
businessEntity
TB993…
Harbour Metals
www.harbourmetals.co.au
“Serving Inner Sydney Harbour for …
contacts
businessServices
identifierBag
categoryBag
872-6891
4281 King’s Blvd, Sydney, NSW
Peter@harbourmetals.co.au
Peter Smythe
businessService
Key
Name
Description
BindingTemplates
businessService
23T701e54683nf…
Online catalog
“Website where you can …
BindingTemplates
BindingTemplate
5E2D412E5-44EE-…
http://www.sydneynet/harbour…
tModelInstanceDetails
tModelInstanceInfo
4453D6FC-223C-3ED0…
http://www.rosetta.net/catalogPIP
keyedReference
DFE-2B…
DUNS
45231
keyedReference
EE123…
NAICS
02417
tModelKeys
Dickson Chiu 2006 Web Service-49
Business Service XML
<businessService businessKey="..." serviceKey="...">
<name>StockQuoteService</name>
<description> (...) </description>
<bindingTemplates>
(...)
<bindingTemplate>
(...)
<accessPoint urlType="http">
http://example.com/stockquote
</accessPoint>
<tModelnstanceDetails>
<tModelnstanceInfo tModelKey="...">
</tModelnstanceInfo>
<tModelnstanceDetails>
</bindingTemplate>
</bindingTemplates>
</businessService>
Dickson Chiu 2006 Web Service-50
tModel XML
<tModel authorizedName="..." operator="..." tModelKey="...">
<name>StockQuote Service</name>
<description xml:lang="en">
WSDL description of a standard stock quote service interface
</description>
<overviewDoc>
<description xml:lang="en"> WSDL source document.</description>
<overviewURL> http://stockquote-definitions/stq.wsdl</overviewURL>
</overviewDoc>
<categoryBag>
<keyedReference tModelKey="UUID:...“ keyName="uddi-org:types"
keyValue="wsdlSpec"/>
</categoryBag>
</tModel>
Dickson Chiu 2006 Web Service-51
IBM
Ariba
Microsoftother
other
Registry Operation
 Peer nodes (websites)
 Companies register
with any node
 Registrations replicated
on a daily basis
 Complete set of
“registered” records
available at all nodes
 Common set of
SOAP APIs supported
by all nodes
 Compliance enforced by
business contract
UDDI.org
queries
52
3.5 SOAP
Dickson Chiu 2006 Web Service-53
SOAP
 Simple Object Access Protocol
 Standard object invocation protocol
 Peer-to-peer interaction in a distributed environment
 Built on HTTP and XML standards
 Unprecedented support
 platform and language independent
 Simple and extensible
 Allows you to get around firewalls
 Tutorial: http://www.w3schools.com/soap/default.asp
 SOAP 1.2
 http://www.w3.org/2000/xp/Group/
Dickson Chiu 2006 Web Service-54
Why SOAP?
 It is important for application development to allow Internet
communication between programs.
 Today's applications communicate using Remote Procedure
Calls (RPC) between objects like DCOM and CORBA, but
HTTP was not designed for this. RPC represents a
compatibility and security problem; firewalls and proxy
servers will normally block this kind of traffic.
 A better way to communicate between applications is over
HTTP, because HTTP is supported by all Internet browsers
and servers. SOAP was created to accomplish this.
 HTTP is a common binding transport protocol for SOAP
nowadays
 SOAP provides a way to communicate between applications
running on different operating systems, with different
technologies and programming languages.
Dickson Chiu 2006 Web Service-55
SOAP Message Structure
 Soap Message Structure
 Envelope - defines an overall framework for expressing
what is in a message; who should deal with it, and
whether it is optional or mandatory
 Header (optional)
 Body - contains call and response information
 Fault element in body - provides information about errors
that occurred while processing the message
 Mechanism to send XML messages
 Consistent envelope - Header and body
 Consistent data encoding - Based on XML Schema type
system
 Protocol binding framework
 SOAP encoding rules - defines a serialization mechanism
that can be used to exchange instances of application-
defined objects
 Provides the interface to a Web Service
 Document style
 RPC style
Dickson Chiu 2006 Web Service-56
SOAP Skeleton in XML
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
<soap:Header>
...
</soap:Header>
…
<soap:Body>
...
<soap:Fault>
...
</soap:Fault>
</soap:Body>
</soap:Envelope>
Dickson Chiu 2006 Web Service-57
SOAP HTTP Binding – Request Example
POST /InStock HTTP/1.1
Host: www.stock.org
Content-Type: text/xml; charset="utf-8"
Content-Length: nnn
SOAPAction: "Some-URI"
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
<soap:Body xmlns:m="http://www.stock.org/stock">
<m:GetStockPrice>
<m:StockName>IBM</m:StockName>
</m:GetStockPrice>
</soap:Body>
</soap:Envelope>
Note: blank line
Dickson Chiu 2006 Web Service-58
SOAP HTTP Binding – Response Example
HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Content-Length: nnn
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
<soap:Body xmlns:m="http://www.stock.org/stock">
<m:GetStockPriceResponse>
<m:Price>34.5</m:Price>
</m:GetStockPriceResponse>
</soap:Body>
</soap:Envelope>
Note: blank line
Dickson Chiu 2006 Web Service-59
SOAP with Attachment
 A SOAPMessage object may have one
or more attachments.
 Each AttachmentPart object has a
MIME header to indicate the type of
data it contains.
 It may also have additional MIME
headers to identify it or to give its
location, which can be useful when
there are multiple attachments.
 When a SOAPMessage object has one
or more AttachmentPart objects, its
SOAPPart object may or may not
contain message content.
 See: http://www.w3.org/TR/2002/WD-
soap12-af-20020924/
Dickson Chiu 2006 Web Service-60
Partner BearCom
Internet
Client Web Service
Request For WSDL (if not having that or unsure)
WSDL
Listener
SOAP Request (In)
SOAP Response (Out)
Proxy
SOAP Communications for SOA
Stub
Dickson Chiu 2006 Web Service-61
Positioning with Other Technologies
 Compatible with/complimentary to:
 J2EE
 CORBA
 Web servers
 Application servers
 Legacy applications
 Rules engines
 SOAP provides a new interface to existing systems
Dickson Chiu 2006 Web Service-62
Resources
 Many SOAP implementations and tools
 See www.soapware.org
 www.w3.org
 Specifications (XML, XSL, DOM)
 www.xml.org
 msdn.microsoft.com/xml
 www.alphaworks.ibm.com
 www.develop.com/soap
 www.uddi.org
 …
Dickson Chiu 2006 Web Service-63
Conferences
The lecturer has served in the program committee of these
related conferences:
 IEEE International Conference on Web Services (ICWS)
 IEEE International Conference on Services Computing
(SCC)
 IEEE International EDOC Conference
 IEEE International Conference on E-commerce
Technology (CEC)
 IEEE International Conference on e-Technology, e-
Commerce and e-Service (EEE)
64
3.6 Summary and Outlook
Dickson Chiu 2006 Web Service-65
Status of SOA and Web Services
 Technology/Standards are still evolving
 SOAP, WSDL, UDDI are not enough
 Business Web services is the next big thing, but more
works are needed in
 Quality of Service, management
 Security, transaction, state, and user context
 Workflow, Identity management, Provisioning, Accounting
 Will be adopted in phases
 1st phase (current state) - Concerted deployment internally within
an organization, mainly for interoperability
 2nd phase - Selective and non-aggregate deployment with trusted
outside business partners (Private registry deployment)
 3rd phase - Wider, more dynamic and aggregate deployment with
outside business partners (Public registry deployment)
Dickson Chiu 2006 Web Service-66
What’s Next?
 Vendor Strategies
 Must work together
 Only efficient if everyone agrees how to do this
 Grid Computing
 application layer semantics and standards
 See: http://www-1.ibm.com/grid/
 Autonomous Computing (Is this IBM’s dream???)
 Flexible. The system will be able to sift data via a platform- and
device-agnostic approach.
 Accessible. The nature of the autonomic system is that it is always on.
 Transparent. The system will perform its tasks and adapt to a user's
needs without dragging the user into the intricacies of its workings.
 See: http://www.research.ibm.com/autonomic/
 Hot research area
 Small gap between research and practice

More Related Content

What's hot

Iru uddi technical_white_paper
Iru uddi technical_white_paperIru uddi technical_white_paper
Iru uddi technical_white_paperssauto
 
CBSE VS SOA SJSU Presentation
CBSE VS SOA SJSU PresentationCBSE VS SOA SJSU Presentation
CBSE VS SOA SJSU Presentationmgp1560
 
Web services concepts, protocols and development
Web services concepts, protocols and developmentWeb services concepts, protocols and development
Web services concepts, protocols and developmentishmecse13
 
Web services og SOA – hvordan ser vi for oss bruk i fremtiden?
Web services og SOA – hvordan ser vi for oss bruk i fremtiden?Web services og SOA – hvordan ser vi for oss bruk i fremtiden?
Web services og SOA – hvordan ser vi for oss bruk i fremtiden?Brian Elvesæter
 
Service-oriented Architecture with Respect to Reusability
Service-oriented Architecture with Respect to ReusabilityService-oriented Architecture with Respect to Reusability
Service-oriented Architecture with Respect to ReusabilityYazd University
 
Sercomtel presentation at IBM Connect 2014
Sercomtel presentation at IBM Connect 2014Sercomtel presentation at IBM Connect 2014
Sercomtel presentation at IBM Connect 2014Flávio Mendes
 
Enterprise integration an arch fred a. cummins
Enterprise integration  an arch   fred a. cumminsEnterprise integration  an arch   fred a. cummins
Enterprise integration an arch fred a. cumminsMuhammad Tahir Mehmood
 
Service Oriented Architecture (SOA)
Service Oriented Architecture (SOA)Service Oriented Architecture (SOA)
Service Oriented Architecture (SOA)Biniam Asnake
 
Liferay UK Success Story with London Borough of Camden
Liferay UK Success Story with London Borough of CamdenLiferay UK Success Story with London Borough of Camden
Liferay UK Success Story with London Borough of CamdenMarcin Kierdelewicz
 
Service Oriented Architecture Updated Luqman
Service Oriented Architecture Updated  LuqmanService Oriented Architecture Updated  Luqman
Service Oriented Architecture Updated Luqmanguesteb791b
 
Service Oriented Architecture (SOA)
Service Oriented Architecture (SOA)Service Oriented Architecture (SOA)
Service Oriented Architecture (SOA)Mazhar Ishaq Khokhar
 

What's hot (13)

Iru uddi technical_white_paper
Iru uddi technical_white_paperIru uddi technical_white_paper
Iru uddi technical_white_paper
 
CBSE VS SOA SJSU Presentation
CBSE VS SOA SJSU PresentationCBSE VS SOA SJSU Presentation
CBSE VS SOA SJSU Presentation
 
Web services concepts, protocols and development
Web services concepts, protocols and developmentWeb services concepts, protocols and development
Web services concepts, protocols and development
 
L11 Service Design and REST
L11 Service Design and RESTL11 Service Design and REST
L11 Service Design and REST
 
Web services og SOA – hvordan ser vi for oss bruk i fremtiden?
Web services og SOA – hvordan ser vi for oss bruk i fremtiden?Web services og SOA – hvordan ser vi for oss bruk i fremtiden?
Web services og SOA – hvordan ser vi for oss bruk i fremtiden?
 
Service-oriented Architecture with Respect to Reusability
Service-oriented Architecture with Respect to ReusabilityService-oriented Architecture with Respect to Reusability
Service-oriented Architecture with Respect to Reusability
 
Sercomtel presentation at IBM Connect 2014
Sercomtel presentation at IBM Connect 2014Sercomtel presentation at IBM Connect 2014
Sercomtel presentation at IBM Connect 2014
 
Enterprise integration an arch fred a. cummins
Enterprise integration  an arch   fred a. cumminsEnterprise integration  an arch   fred a. cummins
Enterprise integration an arch fred a. cummins
 
Service Oriented Architecture (SOA)
Service Oriented Architecture (SOA)Service Oriented Architecture (SOA)
Service Oriented Architecture (SOA)
 
Introduction to SOA
Introduction to SOAIntroduction to SOA
Introduction to SOA
 
Liferay UK Success Story with London Borough of Camden
Liferay UK Success Story with London Borough of CamdenLiferay UK Success Story with London Borough of Camden
Liferay UK Success Story with London Borough of Camden
 
Service Oriented Architecture Updated Luqman
Service Oriented Architecture Updated  LuqmanService Oriented Architecture Updated  Luqman
Service Oriented Architecture Updated Luqman
 
Service Oriented Architecture (SOA)
Service Oriented Architecture (SOA)Service Oriented Architecture (SOA)
Service Oriented Architecture (SOA)
 

Viewers also liked

Optimising supply chains using SAPs integrated SCM business suite
Optimising supply chains using SAPs integrated SCM business suiteOptimising supply chains using SAPs integrated SCM business suite
Optimising supply chains using SAPs integrated SCM business suiteRocket Consulting Ltd
 
CEP course on supply chain management
CEP course on supply chain managementCEP course on supply chain management
CEP course on supply chain managementHughesEducation
 
Modern web application network architecture
Modern web application network architectureModern web application network architecture
Modern web application network architectureMarc Bächinger
 
Making CRM Implementation Successful
Making CRM Implementation SuccessfulMaking CRM Implementation Successful
Making CRM Implementation SuccessfulAndrey Dovgan
 
03 Service Oriented Architecture Series - Basic SOA Architecture
03 Service Oriented Architecture Series - Basic SOA Architecture03 Service Oriented Architecture Series - Basic SOA Architecture
03 Service Oriented Architecture Series - Basic SOA ArchitecturePouria Ghatrenabi
 
B2B and Ecommerce (Relation, Market, Growth & Future)
B2B and Ecommerce (Relation, Market, Growth & Future)B2B and Ecommerce (Relation, Market, Growth & Future)
B2B and Ecommerce (Relation, Market, Growth & Future)Nirbhik Jangid
 
Communication Protocols And Web Services
Communication Protocols And Web ServicesCommunication Protocols And Web Services
Communication Protocols And Web ServicesOmer Katz
 
Rest & RESTful WebServices
Rest & RESTful WebServicesRest & RESTful WebServices
Rest & RESTful WebServicesPrateek Tandon
 
B2B Ecommerce: Design Principles and Best Practices to Boost Sales
B2B Ecommerce: Design Principles and Best Practices to Boost SalesB2B Ecommerce: Design Principles and Best Practices to Boost Sales
B2B Ecommerce: Design Principles and Best Practices to Boost SalesAlex Schmelkin
 
Basic introduction to SOA
Basic introduction to SOABasic introduction to SOA
Basic introduction to SOAJoaquin Rincon
 
Storage Architectures And Options
Storage Architectures And OptionsStorage Architectures And Options
Storage Architectures And OptionsAlan McSweeney
 
B2B and e-commerce Architecture
B2B and e-commerce ArchitectureB2B and e-commerce Architecture
B2B and e-commerce ArchitectureSonia Grover
 
REST to RESTful Web Service
REST to RESTful Web ServiceREST to RESTful Web Service
REST to RESTful Web Service家弘 周
 
Business to Business Electronic Commerce
Business to Business Electronic Commerce Business to Business Electronic Commerce
Business to Business Electronic Commerce Nurhazman Abdul Aziz
 
Restful Web Services
Restful Web ServicesRestful Web Services
Restful Web ServicesAngelin R
 

Viewers also liked (20)

Optimising supply chains using SAPs integrated SCM business suite
Optimising supply chains using SAPs integrated SCM business suiteOptimising supply chains using SAPs integrated SCM business suite
Optimising supply chains using SAPs integrated SCM business suite
 
CEP course on supply chain management
CEP course on supply chain managementCEP course on supply chain management
CEP course on supply chain management
 
Modern web application network architecture
Modern web application network architectureModern web application network architecture
Modern web application network architecture
 
Making CRM Implementation Successful
Making CRM Implementation SuccessfulMaking CRM Implementation Successful
Making CRM Implementation Successful
 
Scm of fedex
Scm of fedexScm of fedex
Scm of fedex
 
B2B eCommerce
B2B eCommerceB2B eCommerce
B2B eCommerce
 
03 Service Oriented Architecture Series - Basic SOA Architecture
03 Service Oriented Architecture Series - Basic SOA Architecture03 Service Oriented Architecture Series - Basic SOA Architecture
03 Service Oriented Architecture Series - Basic SOA Architecture
 
B2B and Ecommerce (Relation, Market, Growth & Future)
B2B and Ecommerce (Relation, Market, Growth & Future)B2B and Ecommerce (Relation, Market, Growth & Future)
B2B and Ecommerce (Relation, Market, Growth & Future)
 
Communication Protocols And Web Services
Communication Protocols And Web ServicesCommunication Protocols And Web Services
Communication Protocols And Web Services
 
Rest & RESTful WebServices
Rest & RESTful WebServicesRest & RESTful WebServices
Rest & RESTful WebServices
 
B2B Ecommerce: Design Principles and Best Practices to Boost Sales
B2B Ecommerce: Design Principles and Best Practices to Boost SalesB2B Ecommerce: Design Principles and Best Practices to Boost Sales
B2B Ecommerce: Design Principles and Best Practices to Boost Sales
 
Supply Chain Management
Supply Chain ManagementSupply Chain Management
Supply Chain Management
 
Basic introduction to SOA
Basic introduction to SOABasic introduction to SOA
Basic introduction to SOA
 
Storage Architectures And Options
Storage Architectures And OptionsStorage Architectures And Options
Storage Architectures And Options
 
B2B and e-commerce Architecture
B2B and e-commerce ArchitectureB2B and e-commerce Architecture
B2B and e-commerce Architecture
 
REST to RESTful Web Service
REST to RESTful Web ServiceREST to RESTful Web Service
REST to RESTful Web Service
 
Business to Business Electronic Commerce
Business to Business Electronic Commerce Business to Business Electronic Commerce
Business to Business Electronic Commerce
 
Restful Web Services
Restful Web ServicesRestful Web Services
Restful Web Services
 
CRM Implementation
CRM ImplementationCRM Implementation
CRM Implementation
 
CRM Strategy
CRM StrategyCRM Strategy
CRM Strategy
 

Similar to Cs 1023 lec 14 webservice (week 4)

Impact 2014 Best practices for_cics_soa_co
Impact 2014 Best practices for_cics_soa_coImpact 2014 Best practices for_cics_soa_co
Impact 2014 Best practices for_cics_soa_conick_garrod
 
Service Oriented Architecture Luqman
Service Oriented Architecture LuqmanService Oriented Architecture Luqman
Service Oriented Architecture LuqmanLuqman Shareef
 
Microsoft Insurance Solutions Keynote Presentation at the Financial Services ...
Microsoft Insurance Solutions Keynote Presentation at the Financial Services ...Microsoft Insurance Solutions Keynote Presentation at the Financial Services ...
Microsoft Insurance Solutions Keynote Presentation at the Financial Services ...Mike Walker
 
H2 Successfully adopt Web Services - Towards agility in the Ecosystem
H2 Successfully adopt Web Services - Towards agility in the EcosystemH2 Successfully adopt Web Services - Towards agility in the Ecosystem
H2 Successfully adopt Web Services - Towards agility in the EcosystemPatrick Koning
 
Web Services
Web ServicesWeb Services
Web Serviceschidi
 
web-services-on-mobile-platform
web-services-on-mobile-platformweb-services-on-mobile-platform
web-services-on-mobile-platformSanjaySanjay970196
 
Web services and SOA
Web services and SOAWeb services and SOA
Web services and SOASubin Sugunan
 
A Novel Framework for Reliable and Fault Tolerant Web Services
A Novel Framework for Reliable and Fault Tolerant Web ServicesA Novel Framework for Reliable and Fault Tolerant Web Services
A Novel Framework for Reliable and Fault Tolerant Web ServicesAbhishek Kumar
 
Service-Finder presentation at ESTC2008
Service-Finder presentation at ESTC2008Service-Finder presentation at ESTC2008
Service-Finder presentation at ESTC2008servicefinder
 
Realizing Service Finder at ESTC 2008
Realizing Service Finder at ESTC 2008Realizing Service Finder at ESTC 2008
Realizing Service Finder at ESTC 2008Emanuele Della Valle
 
Cloud Modernization and Data as a Service Option
Cloud Modernization and Data as a Service OptionCloud Modernization and Data as a Service Option
Cloud Modernization and Data as a Service OptionDenodo
 
MAX 2008: Build collaborative applications with Flex LCDS and Cairngorm
MAX 2008: Build collaborative applications with Flex LCDS and CairngormMAX 2008: Build collaborative applications with Flex LCDS and Cairngorm
MAX 2008: Build collaborative applications with Flex LCDS and CairngormXavier Agnetti
 
Java Web Services [1/5]: Introduction to Web Services
Java Web Services [1/5]: Introduction to Web ServicesJava Web Services [1/5]: Introduction to Web Services
Java Web Services [1/5]: Introduction to Web ServicesIMC Institute
 

Similar to Cs 1023 lec 14 webservice (week 4) (20)

Impact 2014 Best practices for_cics_soa_co
Impact 2014 Best practices for_cics_soa_coImpact 2014 Best practices for_cics_soa_co
Impact 2014 Best practices for_cics_soa_co
 
Service Oriented Architecture Luqman
Service Oriented Architecture LuqmanService Oriented Architecture Luqman
Service Oriented Architecture Luqman
 
Microsoft Insurance Solutions Keynote Presentation at the Financial Services ...
Microsoft Insurance Solutions Keynote Presentation at the Financial Services ...Microsoft Insurance Solutions Keynote Presentation at the Financial Services ...
Microsoft Insurance Solutions Keynote Presentation at the Financial Services ...
 
H2 Successfully adopt Web Services - Towards agility in the Ecosystem
H2 Successfully adopt Web Services - Towards agility in the EcosystemH2 Successfully adopt Web Services - Towards agility in the Ecosystem
H2 Successfully adopt Web Services - Towards agility in the Ecosystem
 
Web Services
Web ServicesWeb Services
Web Services
 
web-services-on-mobile-platform
web-services-on-mobile-platformweb-services-on-mobile-platform
web-services-on-mobile-platform
 
1. web services
1. web services1. web services
1. web services
 
Ch19
Ch19Ch19
Ch19
 
As044285288
As044285288As044285288
As044285288
 
Web services and SOA
Web services and SOAWeb services and SOA
Web services and SOA
 
A Novel Framework for Reliable and Fault Tolerant Web Services
A Novel Framework for Reliable and Fault Tolerant Web ServicesA Novel Framework for Reliable and Fault Tolerant Web Services
A Novel Framework for Reliable and Fault Tolerant Web Services
 
Web final
Web finalWeb final
Web final
 
Soa 101
Soa 101Soa 101
Soa 101
 
Service-Finder presentation at ESTC2008
Service-Finder presentation at ESTC2008Service-Finder presentation at ESTC2008
Service-Finder presentation at ESTC2008
 
Realizing Service Finder at ESTC 2008
Realizing Service Finder at ESTC 2008Realizing Service Finder at ESTC 2008
Realizing Service Finder at ESTC 2008
 
Cloud Modernization and Data as a Service Option
Cloud Modernization and Data as a Service OptionCloud Modernization and Data as a Service Option
Cloud Modernization and Data as a Service Option
 
MAX 2008: Build collaborative applications with Flex LCDS and Cairngorm
MAX 2008: Build collaborative applications with Flex LCDS and CairngormMAX 2008: Build collaborative applications with Flex LCDS and Cairngorm
MAX 2008: Build collaborative applications with Flex LCDS and Cairngorm
 
Java Web Services [1/5]: Introduction to Web Services
Java Web Services [1/5]: Introduction to Web ServicesJava Web Services [1/5]: Introduction to Web Services
Java Web Services [1/5]: Introduction to Web Services
 
Web services
Web servicesWeb services
Web services
 
Overview of web services
Overview of web servicesOverview of web services
Overview of web services
 

More from stanbridge

Micro Lab 3 Lecture
Micro Lab 3 LectureMicro Lab 3 Lecture
Micro Lab 3 Lecturestanbridge
 
Creating a poster v2
Creating a poster v2Creating a poster v2
Creating a poster v2stanbridge
 
Creating a poster
Creating a posterCreating a poster
Creating a posterstanbridge
 
OT 5018 Thesis Dissemination
OT 5018 Thesis DisseminationOT 5018 Thesis Dissemination
OT 5018 Thesis Disseminationstanbridge
 
Ot5101 005 week 5
Ot5101 005 week 5Ot5101 005 week 5
Ot5101 005 week 5stanbridge
 
Ot5101 005 week4
Ot5101 005 week4Ot5101 005 week4
Ot5101 005 week4stanbridge
 
Compliance, motivation, and health behaviors
Compliance, motivation, and health behaviors Compliance, motivation, and health behaviors
Compliance, motivation, and health behaviors stanbridge
 
Ch 5 developmental stages of the learner
Ch 5   developmental stages of the learnerCh 5   developmental stages of the learner
Ch 5 developmental stages of the learnerstanbridge
 
OT 5101 week2 theory policy
OT 5101 week2 theory policyOT 5101 week2 theory policy
OT 5101 week2 theory policystanbridge
 
OT 5101 week3 planning needs assessment
OT 5101 week3 planning needs assessmentOT 5101 week3 planning needs assessment
OT 5101 week3 planning needs assessmentstanbridge
 
NUR 304 Chapter005
NUR 304 Chapter005NUR 304 Chapter005
NUR 304 Chapter005stanbridge
 
NUR 3043 Chapter007
NUR 3043 Chapter007NUR 3043 Chapter007
NUR 3043 Chapter007stanbridge
 
NUR 3043 Chapter006
NUR 3043 Chapter006NUR 3043 Chapter006
NUR 3043 Chapter006stanbridge
 
NUR 3043 Chapter004
NUR 3043 Chapter004NUR 3043 Chapter004
NUR 3043 Chapter004stanbridge
 
3043 Chapter009
3043 Chapter0093043 Chapter009
3043 Chapter009stanbridge
 
3043 Chapter008
 3043 Chapter008 3043 Chapter008
3043 Chapter008stanbridge
 
Melnyk ppt chapter_21
Melnyk ppt chapter_21Melnyk ppt chapter_21
Melnyk ppt chapter_21stanbridge
 
Melnyk ppt chapter_22
Melnyk ppt chapter_22Melnyk ppt chapter_22
Melnyk ppt chapter_22stanbridge
 

More from stanbridge (20)

Micro Lab 3 Lecture
Micro Lab 3 LectureMicro Lab 3 Lecture
Micro Lab 3 Lecture
 
Creating a poster v2
Creating a poster v2Creating a poster v2
Creating a poster v2
 
Creating a poster
Creating a posterCreating a poster
Creating a poster
 
Sample poster
Sample posterSample poster
Sample poster
 
OT 5018 Thesis Dissemination
OT 5018 Thesis DisseminationOT 5018 Thesis Dissemination
OT 5018 Thesis Dissemination
 
Ot5101 005 week 5
Ot5101 005 week 5Ot5101 005 week 5
Ot5101 005 week 5
 
Ot5101 005 week4
Ot5101 005 week4Ot5101 005 week4
Ot5101 005 week4
 
Compliance, motivation, and health behaviors
Compliance, motivation, and health behaviors Compliance, motivation, and health behaviors
Compliance, motivation, and health behaviors
 
Ch 5 developmental stages of the learner
Ch 5   developmental stages of the learnerCh 5   developmental stages of the learner
Ch 5 developmental stages of the learner
 
OT 5101 week2 theory policy
OT 5101 week2 theory policyOT 5101 week2 theory policy
OT 5101 week2 theory policy
 
OT 5101 week3 planning needs assessment
OT 5101 week3 planning needs assessmentOT 5101 week3 planning needs assessment
OT 5101 week3 planning needs assessment
 
Ot5101 week1
Ot5101 week1Ot5101 week1
Ot5101 week1
 
NUR 304 Chapter005
NUR 304 Chapter005NUR 304 Chapter005
NUR 304 Chapter005
 
NUR 3043 Chapter007
NUR 3043 Chapter007NUR 3043 Chapter007
NUR 3043 Chapter007
 
NUR 3043 Chapter006
NUR 3043 Chapter006NUR 3043 Chapter006
NUR 3043 Chapter006
 
NUR 3043 Chapter004
NUR 3043 Chapter004NUR 3043 Chapter004
NUR 3043 Chapter004
 
3043 Chapter009
3043 Chapter0093043 Chapter009
3043 Chapter009
 
3043 Chapter008
 3043 Chapter008 3043 Chapter008
3043 Chapter008
 
Melnyk ppt chapter_21
Melnyk ppt chapter_21Melnyk ppt chapter_21
Melnyk ppt chapter_21
 
Melnyk ppt chapter_22
Melnyk ppt chapter_22Melnyk ppt chapter_22
Melnyk ppt chapter_22
 

Recently uploaded

Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxAnupam32727
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptxmary850239
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 

Recently uploaded (20)

Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 

Cs 1023 lec 14 webservice (week 4)

  • 1. Dickson Chiu 2006 Web Service-1 Learning Objectives  To understand the basics of Web services and SOA  To understand potential applications of Web services and SOA in e-business and enterprise computing, in particular, for business process integration  To know the some technological details of SOA: UDDI, WSDL, and SOAP
  • 2. 2 3.1 What is Web Service and SOA?
  • 3. Dickson Chiu 2006 Web Service-3 New Age of Distributed Computing  Convergence of two technologies  The Web:  Universal communication  HTTP, XML  Service-oriented computing:  Exposing data and business logic through a programmable interface  EJB, RPC, RMI, CORBA, DCOM
  • 4. Dickson Chiu 2006 Web Service-4 What is SOA?  Contemporary Service-Oriented Architectures (SOA) represents an architecture that promotes service-orientation through the use of Web services.  All functions, or services, are defined using a description language and have invokable interface that are called to perform business processes.
  • 5. Dickson Chiu 2006 Web Service-5 What is a Web Service?  W3C: “The World Wide Web is more and more used for application to application communication. The programmatic interfaces made available are referred to as Web services”  http://www.w3.org/2002/ws/  A Web service is a software system designed to support interoperable machine-to-machine interaction over a network.  It has an interface described in a machine-processable format (specifically WSDL).  Other systems interact with the Web service in a manner prescribed by its description using SOAP messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards.”  http://www.w3.org/TR/ws-arch/
  • 6. Dickson Chiu 2006 Web Service-6 Key features of Web Services  A modular, well-defined, encapsulated function  Used for loosely coupled integration between applications or systems  Based on XML, transported in two forms:  Synchronous (RPC)  Asynchronous (messaging)  Both over Simple Object Access Protocol (SOAP)  Specified in Web Services Description Language (WSDL)  Sometimes advertised and discovered in a service registry – Universal Description, Discovery and Integration (UDDI)  Over Intranet and Internet
  • 7. Dickson Chiu 2006 Web Service-7 Use of SOA and Web Services  Facilitates:  Marketing efforts  E-Commerce  Personalization  Direct services to end users  Strategies:  Focus now on partnerships  Integration  Direct communication  Automating processes across organizational boundaries
  • 8. 8 3.2 Potentials of SOA for e-Business
  • 9. Dickson Chiu 2006 Web Service-9 Expected Potentials of SOA  The Web services market is expected to grow to USD$28 billion in sales in the coming three years.  HOLLAND, P. 2002. Building Web Services From Existing Application. eAI Journal, September 2002, 45-47  Early adopters of Web services may include several industries that involve a set of diverse trading partners working closely together in a highly competitive market:  Insurance Services  Financial Services  High-tech Services  Ref: RATNASINGAM, P. 2002. The Importance of Technology Trust in Web Services Security. Information Management & Computer Security, vol. 10, no. 5, 255-260.  Enterprise internal integration
  • 10. Dickson Chiu 2006 Web Service-10 For Sharing Data in e-Business  Sharing Data with Partners  FTP processes  Emails  Post & Retrieve Processes • Issues – Usually Manual – Multiple transfers not transactional Here is a purchase order for you to process… Retailer Supplier XML document exchange Here is an invoice for the goods supplied  XML  Open Standard  unanimous support from vendors  Easy to work with  Many tools available
  • 11. Dickson Chiu 2006 Web Service-11 Problems for Sharing Applications  Sharing processes  EAI - Enterprise Application Integration  Not just integration, but interaction What’s the product lead time? Retailer Supplier 3 Days (for just the answer!!!) • Issues –Complex, Custom, One-off Solutions –Proprietary end points –Not scalable
  • 12. Dickson Chiu 2006 Web Service-12 Sharing Applications  Common Approaches via the Web  Hyper-links  Frames
  • 13. Dickson Chiu 2006 Web Service-13 Web Service Based Integration  Applications consuming processes on external systems  Presenting one view to users
  • 14. Dickson Chiu 2006 Web Service-14 Web Service Aggregation  Partners working together  Service Aggregation / Composition  Can work together in different ways  Support workflow/business processes
  • 15. Dickson Chiu 2006 Web Service-15 Major Benefit of Web Services for e-Business  A major drawback of traditional business-to-business (B2B) applications is that setting up an additional connection with another trading partner is costly and time consuming.  The benefits of adopting SOA:  Faster time to production  Convergence of disparate business functionalities  A significant reduction in total cost of development  Easy to deploy business applications for trading partners  Ref: RATNASINGAM, P. 2002. The Importance of Technology Trust in Web Services Security. Information Management & Computer Security, vol. 10, no. 5, 255-260.
  • 16. Dickson Chiu 2006 Web Service-16 SOA Communication Overview  Communication via existing Internet Protocols and XML  Simple Object Access Protocol (SOAP) SOAP
  • 17. Dickson Chiu 2006 Web Service-17 SOA Application – 2 Partners  Two Partners Scenario  Application (Consumer)  Web Service (Provider)  Web Service Side  Interface  Business Logic  Data  Consumer Side  Presentation  Application
  • 18. Dickson Chiu 2006 Web Service-18 SOA Application – 3 Partners  Three partners scenario  One client application  Two Web services, one references the other
  • 19. Dickson Chiu 2006 Web Service-19 Order Placement Order Placement Tax Calculation Shipping Calculation Discount Calculation Supporting services may reside somewhere else, provided by someone else
  • 20. Dickson Chiu 2006 Web Service-20 Information Integration New services offering different features can be added as needed Mortgage Quote Financial Instrument Financial Instrument Financial Instrument This is a scenario similar to your assignment…
  • 21. Dickson Chiu 2006 Web Service-21 Wireless Consumer Service PIM CRM ERP Wireless Web Service PIM – Personal Information Management CRM – Customer Relationships Management ERP – Enterprise Resources Planning
  • 23. Dickson Chiu 2006 Web Service-23 UDDI Registry WSDL Web Service SOAP Service Consumer Points to description Describes ServiceFinds Service Communicates with XML Messages SOA Technologies
  • 24. Dickson Chiu 2006 Web Service-24 The Web Services Trinity  A Contract Definition Language  Web Service Description Language (WSDL).  De Facto standard.  Standardized Look-up  Universal Description Discovery and Integration (UDDI)  Interoperability standards  Simple Object Access Protocol (SOAP).  Publish/Find/Bind - Web Services are published and located via the UDDI, they are described using WSDL and are invoked using SOAP over HTTP  Demo: http://www.soapclient.com/
  • 25. Dickson Chiu 2006 Web Service-25 Publish/Find/Bind Model Adapted from Mohen, C. (2002). “Tutorial: Application Servers and Associated Technologies,” ACM SIGMOD International Conference on Management of Data (SIGMOD'02), Madison, USA, June 2002. 1. The service provider publishes its service(s) to a service registry such as UDDI in the form of a WSDL document. 2. The service requestor finds services for consumption via service registries and this process is also called “service discovery.” 3. Once the service requestor has acquired the service information, it can attempt to bind to the service and use it.
  • 26. Dickson Chiu 2006 Web Service-26 Internet Logistics Company Supplier Buyer E-Retailer GetQuoteReservation Purchase Order Use of SOA  Publishing of business functions by means of API  Web pages for humans (B2C)  Web services for program to program (B2B) A programmable application component accessible via standard Web protocols Bank
  • 27. Dickson Chiu 2006 Web Service-27 RPC Supplier J2EE Bank COM Logistic Company Internet SOAP SOAP SOAP More SOA Scenario Web Service Order Fulfillment Web Service Shipping Order Web Service Credit Card Check Shop Application Web Service E-Retailer
  • 28. Dickson Chiu 2006 Web Service-28 SOA Communication Infrastructure  Reproduced with the kind permission of John McGuire Cape Clear Software Web Service Broker Web Service Requester Web Service Provider Publish Service Description Get Service Description Discover Service Use Service based on Service Description
  • 29. Dickson Chiu 2006 Web Service-29 Traditional RPC vs Web Services Traditional RPC  Within enterprise  Tied to a set of programming languages  Procedural  Usually bound to a particular transport  Tightly-coupled  Firewall-unfriendly  Efficient processing Web Services  Between enterprises  Program language independent  Message-driven  Easily bound to different transports  Loosely-coupled  Firewall-friendly  Relatively not efficient processing
  • 30. Dickson Chiu 2006 Web Service-30 Web Applications vs Web Services Web Application  User-to-program interaction  Static integration of components  Monolithic service  Ad hoc or proprietary protocol Web Services  Program-to-program interaction  Dynamic integration of components  Service aggregation  Interoperability
  • 31. Dickson Chiu 2006 Web Service-31 SOA Favorable Properties  Loosely-coupled: Web services can run independently of each other on entirely different implementation platforms and run-time environments.  Encapsulated: The only visible part of a Web service is the public interface, e.g., WSDL and SOAP.  Standard Protocols and Data Formats: The interfaces are based on a set of standards, e.g., XML, WSDL, SOAP, UDDI and etc.  Invoked Over Intranet or Internet: Web services can be executed within or outside the firewall.  Components: The composition of Web services can enable business-to-business transactions or connect the internal systems of separate companies, such as workflow. Workflow is a computer supported business process.  Business Oriented: Web services are not end-user software!
  • 32. Dickson Chiu 2006 Web Service-32 Why SOA? - Summary  SOA allows us to share processes over the Internet  independent of platform, tools, or technology  Anyone, anywhere, any device, anytime  It is a better integration solution for process sharing  Applications become services  Services are accessible  Services enable integration  EAI  B2B  It will create new business models that we have yet to conceive  Services can be assembled and reused  Based on open standards: XML and SOAP  “Plug and Play” applications  Delivering on the age-old promise of reusability
  • 34. Dickson Chiu 2006 Web Service-34 WSDL - Web Services Description Language  In the format of XML document  Describes a Web Service  What it does  How to communicate with it  Where to find it  Invented by Ariba, IBM, Microsoft  Version 1.1 to W3C, March 2001  The intent was to create something that worked  Extensible - not something complete  Creating a formal Web Services “data model” was not a priority  W3C standardization (to version 2.0) in progress  http://www.w3.org/2002/ws/  Example tool support: XMLspy  Tutorial: http://www.w3schools.com/wsdl/default.asp
  • 35. Dickson Chiu 2006 Web Service-35 Elements in WSDL Definitions  Types  Based on XML Schema type system  Message formats  Parts represent method parameters  Port Types  Set of operations  Parameter order  Input and output messages  Bindings  Map a Port Type to a specific protocol, using a specific data encoding style  Services  Set of ports that implement port types  Access point for each port
  • 36. Dickson Chiu 2006 Web Service-36 <definitions> <types> <!-- XML Schema --> </types> <message name=“getQuoteRequest” /> <message name=“getQuoteResponse” /> <portType name=“StockQuoteServiceInterface”> <operation name=“getQuote”> <input message=“getQuoteRequest” /> <output message=“getQuoteResponse” /> </operation> </portType> <binding name=“StockQuoteServiceBinding” type=“StockQuoteServiceInterface”> <soap:binding transport=“http://schemas.xmlsoap.org/soap/http” /> … </binding> <service name=“StockQuoteService”> <port name=“StockQuoteServicePort” binding=“StockQuoteServiceBinding”> <soap:address location=“http://www.acme.com/services/stockquote” /> </port> </service> </definitions> WSDL – An Example Definition of data types Definition of messages Definition of port type Definition of the bindings Definition of the service
  • 38. Dickson Chiu 2006 Web Service-38 UDDI  Universal Description, Discovery and Integration  Registry for Web services  Similar to CORBA’s Naming Service or Java’s JNDI  Has a Web Services API for publishing and discovering the existence of Web services  A registry where you find a Web service and its description (WSDL)  Search by business  Search by service type  A coalition of organizations working together to manage UDDI registries and to further develop the Web Services API for accessing those registries.  Joint Initiative –uddi.org  By Ariba Inc., IBM Corp. and Microsoft Corp.  An open uddi community to support the development of uddi  UDDI Business Registries: Microsoft, IBM, SAP, NTT-Com  Test UBR nodes: Microsoft, IBM, SAP
  • 39. Dickson Chiu 2006 Web Service-39 UDDI Advantages  Making it possible to discover the right business from the millions currently online  Defining how to enable commerce once the preferred business is discovered  Reaching new customers and increasing access to current customers  Expanding offerings and extending market reach  Solving customer-driven need to remove barriers to allow for rapid participation in the global Internet economy  Describing services and business processes programmatically in a single, open, and secure environment
  • 40. Dickson Chiu 2006 Web Service-40 How UDDI Works UDDI Business Registry 3. Assigns a unique identifier to each business registration Marketplaces, search engines, and business apps query the registry to discover services at other companies 4.SW companies, standards bodies, and programmers populate the registry with descriptions of different types of services 1. Business RegistrationsBusinesses populate the registry with descriptions of the services they support 2. Business uses this data to facilitate easier integration with each other over the Web 5.
  • 41. Dickson Chiu 2006 Web Service-41 UDDI Implementation UDDI Business Registry Programmatic descriptions of web services Programmatic descriptions of businesses and the services they support Programming model, schema, and platform agnostic Uses XML, HTTP, and SOAP Manufacturers Flower Shops Marketplaces
  • 42. Dickson Chiu 2006 Web Service-42 UDDI Business Registration  Businesses register public information about themselves  “White pages”  including address, contact and known identifiers  “Yellow pages”  including industry categories, based on standard taxonomies  “Green pages”  technical information about the services exposed by the business White Pages Yellow Pages Green Pages
  • 43. Dickson Chiu 2006 Web Service-43 White Pages  Business Name  Text Description  list of multi-language text strings  Contact info  names, phone numbers, fax numbers, web sites…  Known Identifiers  list of identifiers by which a business may be known, such as PCCW, DHL, IBM, HP, other
  • 44. Dickson Chiu 2006 Web Service-44 Yellow Pages  Business categories  3 standard taxonomies in V1  Industry: NAICS (Industry codes - US Govt.)  Product/Services: UN/SPSC (ECMA)  Location: Geographical taxonomy  Implemented as name-value pairs to allow any valid taxonomy identifier to be attached to the business white page
  • 45. Dickson Chiu 2006 Web Service-45 Green Pages - Background  Emerging B2B applications increase the need for sharing and coordinating the use of Web services for different business processes in a loosely coupled execution environment.  A business process contains a set of activities which represent both business tasks and interactions between Web services.  In the past few years, business process or workflow proposals relevant to Web services are proposed and discussed in the business and academic world.  Ref: www.w3c.org  All of the proposed XML languages are based on WSDL service descriptions with extension elements:  Web Services Flow Language (WSFL) and Web Services Endpoint Language (WSEL)  XLANG  Business Process Execution Language for Web Services (BPEL4WS)  ebXML…
  • 46. Dickson Chiu 2006 Web Service-46 Green Pages  A set of detailed technical information that describes how to “do e-commerce” with each company  Nested model  Business processes (BPEL4WS)  Service descriptions (WSDL)  Binding information  Programming/platform/implementation agnostic  Services can also be categorized
  • 47. Dickson Chiu 2006 Web Service-47 businessEntity businessKey name URL description contacts businessServices identifierBag categoryBag Phone Address Email Contact businessService Key Name Description BindingTemplates Phone Address Email Contact businessService serviceKey tModelKey Name Description BindingTemplates keyedReference tModelKey keyName keyValue keyedReference tModelKey keyName keyValue keyedReference tModelKey keyName keyValue keyedReference tModelKey keyName keyValue Business Registration  XML document  Created by end-user company (or on their behalf)  Can have multiple service listings  Can have multiple taxonomy listings
  • 48. Dickson Chiu 2006 Web Service-48 Example of a Registration businessEntity TB993… Harbour Metals www.harbourmetals.co.au “Serving Inner Sydney Harbour for … contacts businessServices identifierBag categoryBag 872-6891 4281 King’s Blvd, Sydney, NSW Peter@harbourmetals.co.au Peter Smythe businessService Key Name Description BindingTemplates businessService 23T701e54683nf… Online catalog “Website where you can … BindingTemplates BindingTemplate 5E2D412E5-44EE-… http://www.sydneynet/harbour… tModelInstanceDetails tModelInstanceInfo 4453D6FC-223C-3ED0… http://www.rosetta.net/catalogPIP keyedReference DFE-2B… DUNS 45231 keyedReference EE123… NAICS 02417 tModelKeys
  • 49. Dickson Chiu 2006 Web Service-49 Business Service XML <businessService businessKey="..." serviceKey="..."> <name>StockQuoteService</name> <description> (...) </description> <bindingTemplates> (...) <bindingTemplate> (...) <accessPoint urlType="http"> http://example.com/stockquote </accessPoint> <tModelnstanceDetails> <tModelnstanceInfo tModelKey="..."> </tModelnstanceInfo> <tModelnstanceDetails> </bindingTemplate> </bindingTemplates> </businessService>
  • 50. Dickson Chiu 2006 Web Service-50 tModel XML <tModel authorizedName="..." operator="..." tModelKey="..."> <name>StockQuote Service</name> <description xml:lang="en"> WSDL description of a standard stock quote service interface </description> <overviewDoc> <description xml:lang="en"> WSDL source document.</description> <overviewURL> http://stockquote-definitions/stq.wsdl</overviewURL> </overviewDoc> <categoryBag> <keyedReference tModelKey="UUID:...“ keyName="uddi-org:types" keyValue="wsdlSpec"/> </categoryBag> </tModel>
  • 51. Dickson Chiu 2006 Web Service-51 IBM Ariba Microsoftother other Registry Operation  Peer nodes (websites)  Companies register with any node  Registrations replicated on a daily basis  Complete set of “registered” records available at all nodes  Common set of SOAP APIs supported by all nodes  Compliance enforced by business contract UDDI.org queries
  • 53. Dickson Chiu 2006 Web Service-53 SOAP  Simple Object Access Protocol  Standard object invocation protocol  Peer-to-peer interaction in a distributed environment  Built on HTTP and XML standards  Unprecedented support  platform and language independent  Simple and extensible  Allows you to get around firewalls  Tutorial: http://www.w3schools.com/soap/default.asp  SOAP 1.2  http://www.w3.org/2000/xp/Group/
  • 54. Dickson Chiu 2006 Web Service-54 Why SOAP?  It is important for application development to allow Internet communication between programs.  Today's applications communicate using Remote Procedure Calls (RPC) between objects like DCOM and CORBA, but HTTP was not designed for this. RPC represents a compatibility and security problem; firewalls and proxy servers will normally block this kind of traffic.  A better way to communicate between applications is over HTTP, because HTTP is supported by all Internet browsers and servers. SOAP was created to accomplish this.  HTTP is a common binding transport protocol for SOAP nowadays  SOAP provides a way to communicate between applications running on different operating systems, with different technologies and programming languages.
  • 55. Dickson Chiu 2006 Web Service-55 SOAP Message Structure  Soap Message Structure  Envelope - defines an overall framework for expressing what is in a message; who should deal with it, and whether it is optional or mandatory  Header (optional)  Body - contains call and response information  Fault element in body - provides information about errors that occurred while processing the message  Mechanism to send XML messages  Consistent envelope - Header and body  Consistent data encoding - Based on XML Schema type system  Protocol binding framework  SOAP encoding rules - defines a serialization mechanism that can be used to exchange instances of application- defined objects  Provides the interface to a Web Service  Document style  RPC style
  • 56. Dickson Chiu 2006 Web Service-56 SOAP Skeleton in XML <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope" soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <soap:Header> ... </soap:Header> … <soap:Body> ... <soap:Fault> ... </soap:Fault> </soap:Body> </soap:Envelope>
  • 57. Dickson Chiu 2006 Web Service-57 SOAP HTTP Binding – Request Example POST /InStock HTTP/1.1 Host: www.stock.org Content-Type: text/xml; charset="utf-8" Content-Length: nnn SOAPAction: "Some-URI" <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope" soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <soap:Body xmlns:m="http://www.stock.org/stock"> <m:GetStockPrice> <m:StockName>IBM</m:StockName> </m:GetStockPrice> </soap:Body> </soap:Envelope> Note: blank line
  • 58. Dickson Chiu 2006 Web Service-58 SOAP HTTP Binding – Response Example HTTP/1.1 200 OK Content-Type: text/xml; charset="utf-8" Content-Length: nnn <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope" soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <soap:Body xmlns:m="http://www.stock.org/stock"> <m:GetStockPriceResponse> <m:Price>34.5</m:Price> </m:GetStockPriceResponse> </soap:Body> </soap:Envelope> Note: blank line
  • 59. Dickson Chiu 2006 Web Service-59 SOAP with Attachment  A SOAPMessage object may have one or more attachments.  Each AttachmentPart object has a MIME header to indicate the type of data it contains.  It may also have additional MIME headers to identify it or to give its location, which can be useful when there are multiple attachments.  When a SOAPMessage object has one or more AttachmentPart objects, its SOAPPart object may or may not contain message content.  See: http://www.w3.org/TR/2002/WD- soap12-af-20020924/
  • 60. Dickson Chiu 2006 Web Service-60 Partner BearCom Internet Client Web Service Request For WSDL (if not having that or unsure) WSDL Listener SOAP Request (In) SOAP Response (Out) Proxy SOAP Communications for SOA Stub
  • 61. Dickson Chiu 2006 Web Service-61 Positioning with Other Technologies  Compatible with/complimentary to:  J2EE  CORBA  Web servers  Application servers  Legacy applications  Rules engines  SOAP provides a new interface to existing systems
  • 62. Dickson Chiu 2006 Web Service-62 Resources  Many SOAP implementations and tools  See www.soapware.org  www.w3.org  Specifications (XML, XSL, DOM)  www.xml.org  msdn.microsoft.com/xml  www.alphaworks.ibm.com  www.develop.com/soap  www.uddi.org  …
  • 63. Dickson Chiu 2006 Web Service-63 Conferences The lecturer has served in the program committee of these related conferences:  IEEE International Conference on Web Services (ICWS)  IEEE International Conference on Services Computing (SCC)  IEEE International EDOC Conference  IEEE International Conference on E-commerce Technology (CEC)  IEEE International Conference on e-Technology, e- Commerce and e-Service (EEE)
  • 65. Dickson Chiu 2006 Web Service-65 Status of SOA and Web Services  Technology/Standards are still evolving  SOAP, WSDL, UDDI are not enough  Business Web services is the next big thing, but more works are needed in  Quality of Service, management  Security, transaction, state, and user context  Workflow, Identity management, Provisioning, Accounting  Will be adopted in phases  1st phase (current state) - Concerted deployment internally within an organization, mainly for interoperability  2nd phase - Selective and non-aggregate deployment with trusted outside business partners (Private registry deployment)  3rd phase - Wider, more dynamic and aggregate deployment with outside business partners (Public registry deployment)
  • 66. Dickson Chiu 2006 Web Service-66 What’s Next?  Vendor Strategies  Must work together  Only efficient if everyone agrees how to do this  Grid Computing  application layer semantics and standards  See: http://www-1.ibm.com/grid/  Autonomous Computing (Is this IBM’s dream???)  Flexible. The system will be able to sift data via a platform- and device-agnostic approach.  Accessible. The nature of the autonomic system is that it is always on.  Transparent. The system will perform its tasks and adapt to a user's needs without dragging the user into the intricacies of its workings.  See: http://www.research.ibm.com/autonomic/  Hot research area  Small gap between research and practice