Download presentation
Presentation is loading. Please wait.
Published byJoy Morris Modified over 9 years ago
1
13-Sep-15: 1 Web Services Framework Paper by IBM and Microsoft Andrew Layman, XML Web Services Architect, Microsoft Copyright © 2001 Microsoft Corporation, All Rights Reserved
2
13-Sep-15: 2 Interoperating Applications Your Web Service The Other Guy’s Web Service XML Security Reliability Routing Attachments What Schemas? What Address? What Pattern? Inspection Discovery Copyright © 2001 Microsoft Corporation, All Rights Reserved
3
13-Sep-15: 3 Web Services Roadmap Discovery Inspection Directory (UDDI) Description Structure (XML Schemas) Service Description (WSDL) Process Flow Pattern Description Existing In Proc Future Wire Syntax (XML) XML Protocol : Envelope and Extensibility (SOAP) Attachments Routing Security Reliability Copyright © 2001 Microsoft Corporation, All Rights Reserved
4
13-Sep-15: 4 Wire Protocol Elements Wire Syntax (XML) XML Protocol : Envelope and Extensibility (SOAP) Attachments Routing Security Reliability Copyright © 2001 Microsoft Corporation, All Rights Reserved
5
13-Sep-15: 5 Binary Attachments Sometimes, conversion of large non-XML data into XML binary (e.g. base64) format is too expensive. Sending the data without conversion would be attractive. Copyright © 2001 Microsoft Corporation, All Rights Reserved
6
13-Sep-15: 6 Routing and Correlation ID of sending party ID of destination party Possibly, Ids of intermediaries Means to Correlate a reply to the sent message. originIntermediatedestination Copyright © 2001 Microsoft Corporation, All Rights Reserved
7
13-Sep-15: 7 Security Digital Signature Prove who sent the message (actually, prove that the message’s creator had access to a certain secret.) Prove that the message was not altered en route. Encryption: Prevent third parties from reading the message. Whole message or specific parts of messages. Not channel-level. Either per message or associated with long- running “business” transaction. Copyright © 2001 Microsoft Corporation, All Rights Reserved
8
13-Sep-15: 8 Guaranteed Delivery At least once Not more than once In Order If the above are not achieved in an agreed-on time, both parties detect that failure has occurred. Copyright © 2001 Microsoft Corporation, All Rights Reserved
9
13-Sep-15: 9 Issue: Scope Often, parties don’t just send one message in isolation, but exchange a number of messages back and forth. E.g. Inventory Inquiry, Inventory Confirmation, Purchase Order, PO Confirmation, Shipment notice, Invoice, Payment Advice Should influence our thinking about correlation, security and guaranteed delivery. Implies that there is a pattern of messages between the parties. Copyright © 2001 Microsoft Corporation, All Rights Reserved
10
13-Sep-15: 10 Wire Protocol Elements Wire Syntax (XML) XML Protocol : Envelope and Extensibility (SOAP) Attachments Routing Security Reliability Envelope and Extensibility BLOBs To, From, Via, Correlation DSIG, Encryption Guaranteed Delivery Copyright © 2001 Microsoft Corporation, All Rights Reserved
11
13-Sep-15: 11 Service Description Description Structure (XML Schemas) Service Description (WSDL) Process Flow Pattern Description Copyright © 2001 Microsoft Corporation, All Rights Reserved
12
13-Sep-15: 12 Schemas Atomic Datatypes Structured Datatypes Subtypes and Classification Copyright © 2001 Microsoft Corporation, All Rights Reserved
13
13-Sep-15: 13 Web Service Description What to send: Messages Collection of abstract types that may be sent and received. May have named internal parts. Bound to specific syntax. Where to send: Ports Collection of abstract types to which to send the messages. Bound to specific Addresses. Copyright © 2001 Microsoft Corporation, All Rights Reserved
14
13-Sep-15: 14 Process Flow Patterns Which patterns of messages are valid Built on the elements of the service description Purchase Order Confirm Invoice PaymentA B Copyright © 2001 Microsoft Corporation, All Rights Reserved
15
13-Sep-15: 15 Issue: Scope Again A pattern of messages suggests a long-running dialogue between the parties. Defense against replay attacks suggests connection between security and at-most-once delivery. Should influence our thinking about wire protocols and the description of services. These should be thought about in the context of potentially long- running dialogues. Copyright © 2001 Microsoft Corporation, All Rights Reserved
16
13-Sep-15: 16 Service Description Description Structure (XML Schemas) Service Description (WSDL) Process Flow Pattern Description Data Structure Set of Messages, Set of Ports Message Flow Structure Copyright © 2001 Microsoft Corporation, All Rights Reserved
17
13-Sep-15: 17 Discovery Discovery Inspection Directory (UDDI) Given a Service, what is its Description? Find a Service based on some characteristics. Copyright © 2001 Microsoft Corporation, All Rights Reserved
18
13-Sep-15: 18 Conclusions Protocols are the basis for Interoperability Protocols are not just individual messages, but patterns of messages. The Web Services Framework is an integrated design. Each part needs to be designed and tested in the context of the others. Copyright © 2001 Microsoft Corporation, All Rights Reserved
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.