Presentation is loading. Please wait.

Presentation is loading. Please wait.

EbXML Message Service Dept of Computer Engineering Khon Kaen University.

Similar presentations


Presentation on theme: "EbXML Message Service Dept of Computer Engineering Khon Kaen University."— Presentation transcript:

1 ebXML Message Service Dept of Computer Engineering Khon Kaen University

2 168493: XML and Web Services (II/2546) 2 Outline What and Why Message Service? Functional modules of MSH (Message Service Handler) Packaging ebXML SOAP Extensions Reliable messaging Security Versioning

3 168493: XML and Web Services (II/2546) 3 Messaging Service Overview The ebXML message service deals with transport, routing, and packaging of messages It uses SOAP with attachment as payload envelope structure Attachment allows transporting of not only XML data but also non-XML data such as JPG file

4 168493: XML and Web Services (II/2546) 4 Message Service Overview Supports high-level semantics needed business transactions Security Reliability Runs over various communication protocols HTTP SMTP FTP

5 168493: XML and Web Services (II/2546) 5 Message Service Design Goals Robust, yet basic, functionality to transfer messages between trading parties Using various existing communication protocols Allowing for messaging reliability, persistence, security, and extensibility Allowing robust, yet low-cost solution

6 168493: XML and Web Services (II/2546) 6 Message Service Design Goals Support both XML-based and non XML- based business information handler Allow vendors to add robustness and higher performance in their implementation Scalability Leverage existing standards

7 168493: XML and Web Services (II/2546) 7 ebXML Message Structure SOAP with Attachments MIME Envelope MIME Part Message Package Communication Protocol Envelope (HTTP, SMTP, etc.) Payload Container(s) MIME Part(s) Payload(s) Header Container

8 168493: XML and Web Services (II/2546) 8 ebXML Message Structure: Header Container SOAP-ENV: Envelope SOAP-ENV: Header eb:MessageHeader eb:TraceHeaderList … SOAP-ENV: Body eb:Manifest …

9 168493: XML and Web Services (II/2546) 9 Message Service and SOAP ebXML Message packaging comply with SOAP 1.1 SOAP Messages with Attachments ebXML Message Service defines a set of namespace-qualified SOAP Header and Body element extensions within the SOAP Envelope

10 168493: XML and Web Services (II/2546) 10 ebXML Message Envelope … …

11 168493: XML and Web Services (II/2546) 11 ebXML SOAP Extensions SOAP Header extensions MessageHeader TraceHeaderList ErrorList Signature Acknowledgment Via SOAP Body extensions Manifest StatusRequest StatusResponse DeliveryReceipt

12 168493: XML and Web Services (II/2546) 12 ebXML SOAP Extensions MessageHeader A REQUIRED element that contains routing information for the message as well as other context information about the message TraceHeaderList An element that contains entries that identifies the Message Service Handler(s) that send and receive the message Manifest An element that points to any data present either in the Payload Container or elsewhere on the web

13 168493: XML and Web Services (II/2546) 13 ebXML Message Service ebXML message service functionality is provided by message service handler Message Service Handlers (MSH), on behalf of applications, perform reliable and secure message delivery

14 168493: XML and Web Services (II/2546) 14 ebXML and MSH Application MSH Node MSH Node Application ebXML Message Service Application

15 168493: XML and Web Services (II/2546) 15 MSH Service #1: Is Remote Partner Reachable? MSH Node MSH Node Application Eb:Service & eb:Action elements  Message Type Ping: Are you Alive? Pong: Obviously! Ping Pong

16 168493: XML and Web Services (II/2546) 16 MSH Service #2: What happened to my Message? MSH Node MSH Node Application Eb:Service & eb:Action elements  Message Type Query: MSH Ack received; no business response Report: Message undelivered or Response lost Query Status Report Status

17 168493: XML and Web Services (II/2546) 17 Reliable Messaging Reliability is achieved by a Receiving MSH responding to a message with an Acknowledgment message The receiving party should receive the message once and only once It should be able to withstand System failure Network failure

18 168493: XML and Web Services (II/2546) 18 Reliable Messaging A MSH that supports Reliable Messaging MUST keep messages that are sent or received reliably in persistent storage What is a persistent storage? The storage in which data is still there after a system failure or interruption Things to be maintained in persistent storage MessageId Complete message (recommendation) Time the message was received Complete response message

19 168493: XML and Web Services (II/2546) 19 Resending Unacknowledged Messages Party A Application Data Party A MSH Party B MSH Party B Application Message Acknowledgment Ack. lost Message Msg. lost Message AcknowledgmentIgnore Duplicate Data


Download ppt "EbXML Message Service Dept of Computer Engineering Khon Kaen University."

Similar presentations


Ads by Google