messaging & web services an architectural view john arnett, msc standards modeller information...
TRANSCRIPT
![Page 1: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/1.jpg)
Messaging & Web Services an Architectural View
John Arnett, MScStandards ModellerInformation and Statistics DivisionNHSScotlandTel: 0131 551 8073 (x2073)mailto:[email protected]://isdscotland.org/xml
![Page 2: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/2.jpg)
Contents
• XML Usage• XML Applications• Messaging and Web Services• Interaction Models• Message Construction
![Page 3: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/3.jpg)
XML Usage
• Key features– Human readable – Structured and searchable– Separates data from
presentation– Self-describing – Extensible – any number of
tags allowed– Meta-markup language
![Page 4: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/4.jpg)
XML Usage
• Open standard, promoted by many vendor-neutral organisations, incl.– W3C– OASIS (Organization for Structured
Information Standards)– HL7 (Health Level 7)– OMG (Object Management Group)– UK Government
![Page 5: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/5.jpg)
XML Usage
• Widely supported by software vendors and open source groups, incl.
![Page 6: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/6.jpg)
XML Applications
Data Storage & Content
ManagementMessaging & Web Services
Messaging & Web ServicesPresentati
on
PresentationPresentati
on
Presentation
Application Logic
Application Logic
Application Logic
Application Logic
![Page 7: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/7.jpg)
• XML Messages– Ideal for data interchange
•Text based•Open•Self describing•Extensible
– Exchanged between applications on the same network or over the Internet/Extranet
Messaging and Web Services
![Page 8: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/8.jpg)
Messaging and Web Services
• Web Services– Set of emerging standards, incl.
SOAP, WSDL and UDDI– Allow systems to communicate
over the internet using XML messages
– Used for•remote service requests/calls •enterprise application integration
•business process integration
![Page 9: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/9.jpg)
Messaging and Web Services
• SOAP– Lightweight, XML-based
protocol for exchanging information over the internet
– Language, platform and transport independent
– v1.2 W3C Recommendation
![Page 10: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/10.jpg)
Messaging and Web Services
• WSDL (Web Services Definition Language)– XML-based language for describing
services available on the internet
• UDDI (Universal Description, Discovery and Integration) directory services– Information Services– Operations
![Page 11: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/11.jpg)
SenderSender
Interaction Models
Channel
MessageMessage
ReceiverReceiver
• Message Channel
![Page 12: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/12.jpg)
Interaction Models
• One-way (“fire-and-forget”)– non-blocking, asynchronous model
ConsumerConsumer ProviderProvider
Message
![Page 13: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/13.jpg)
Interaction Models
• Synchronous Request/Response– RPC
ConsumerConsumer ProviderProvider
Request
Response
![Page 14: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/14.jpg)
Interaction Models
• Call Back– Asynchronous conversations
ConsumerConsumer ProviderProvider
Request with correlation id
Acknowledgement
Response
Acknowledgement
![Page 15: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/15.jpg)
Interaction Models
Telephone-like Post Office-likeSynchronous Asynchronous
Tighter coupling Loose couplingStrongly typed Document-basedFast feedback Slower feedback - call-return - queuing and
routing
RPC Message-oriented
![Page 16: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/16.jpg)
Interaction Models
• Point-to-Point– One input channel to one
output channel– Message sent to 1 receiver
only– Message sent directly or via
router/queue
![Page 17: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/17.jpg)
Interaction Models
• Multi-Point– One input channel to many
output channels or subscribers– Copy of message sent to each
subscriber– Message published via router /
topic
![Page 18: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/18.jpg)
Message Construction
• Message Types– Document - transmits
structured or unstructured data – Command - specifies a function
or method to invoke on the receiver
– Event - notifies receiver of some event of interest, e.g. an acknowledgement
![Page 19: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/19.jpg)
Message Construction
• High Level Information Model– HL7 v3 RIM– CEN (European) Standards– e-GIF (UK Government)
![Page 20: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/20.jpg)
Message Construction
• Message Content– Clinical guidelines, e.g. SIGN– National Data Definitions, e.g.
SMR– Consultation with user groups,
professional bodies and manufacturers
– Other sources, e.g. existing EDIFACT messages
![Page 21: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/21.jpg)
Message Construction
• Standard XML Vocabularies– Health Care
•NHSS architectural schemas•Health Level 7 (HL7) v3
– Government•UK GovTalk schemas
– International•UNeDocs Code Lists XML - units of measurement, etc
![Page 22: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/22.jpg)
Message Construction
• Message Schemas– Messages
•Referral•Waiting Times
– Message Structures •NHSS •HL7 CDA •Government Gateway
![Page 23: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/23.jpg)
Message Construction
SOAP Envelope
SOAP Header
SOAP Body
Message Structure
Message Content
![Page 24: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/24.jpg)
Find Out More
• Scottish Health and Community Care XML Steering Group– www.isdscotland.org/xml
• SCI XML Standards– www.show.scot.nhs.uk/sci
• GovTalk Schemas and Standards– www.govtalk.gov.uk
• Health Level 7– www.hl7.org
![Page 25: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/25.jpg)
Messaging and Web Sevices
• W3C Web Services Activity– www.w3.org/2002/ws
• Web Services Interoperability– www.ws-i.org
![Page 26: Messaging & Web Services an Architectural View John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: 0131 551 8073 (x2073)](https://reader030.vdocuments.mx/reader030/viewer/2022032606/56649e8e5503460f94b91fcf/html5/thumbnails/26.jpg)
Communication Models
• WS-I Usage Scenarios– www.ws-i.org/SampleApplications/SupplyChainManagement/2003-04/UsageScenarios-1.01-BdAD.doc
• Enterprise Integration Patterns– www.enterpriseintegrationpatterns.
com