WSRP Description and Transport Issues SC Andre Kramer, Citrix Systems Inc. 8 th WSRP F2F, Gluecode Software, LA 1.

Slides:



Advertisements
Similar presentations
Conceptual Architecture Description Business Level Agreements Service Level Agreements XML Schema Interface Description Implementation Description Composition.
Advertisements

MgmtSecurity QOS Transport Packaging Extensions Wire Inspection Discovery Publication Registry Description Business Level Agreements Service Level Agreements.
Introduction to Web Services Protocols. Talk titledate2 Communication and standards Efficient (or indeed any) communication is dependent on a shared vocabulary.
Additional Data related to an Emergency Call draft-ietf-ecrit-additional-data-00.txt Hannes Tschofenig Brian Rosen.
WSDL SC 10 th WSRP F2F, Washington DC, Nov 2004 Andre Kramer.
SOAP.
Web Services Seminar: Service Description Languages
SE 370: Programming Web Services Week 4: SOAP & NetBeans Copyright © Steven W. Johnson February 1, 2013.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
XML Technologies and Applications Rajshekhar Sunderraman Department of Computer Science Georgia State University Atlanta, GA 30302
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
ΗΛΕΚΤΡΟΝΙΚΟ ΕΜΠΟΡΙΟ Web Services Overview Mary Grammatikou 9/06/2009.
WSDL Web Services Description Language Neet Wadhwani University of Colorado 3 rd October, 2001.
1 HTML’s Transition to XHTML. 2 XHTML is the next evolution of HTML Extensible HTML eXtensible based on XML (extensible markup language) XML like HTML.
CS 415 N-Tier Application Development By Umair Ashraf July 6,2013 National University of Computer and Emerging Sciences Lecture # 9 Introduction to Web.
Secure Systems Research Group - FAU Web Services Standards Presented by Keiko Hashizume.
Processing of structured documents Spring 2003, Part 6 Helena Ahonen-Myka.
TP2653 Adv Web Programming SOAP and WSDL. SOAP Simple Object Access Protocol – Lightweight XML-based messaging protocol – A protocol for accessing a Web.
Chapter 9 Web Services Architecture and XML. Objectives By study in the chapter, you will be able to: Describe what is the goal of the Web services architecture.
Grid Computing, B. Wilkinson, 20043b.1 Web Services Part II.
XML The Overview. Three Key Questions What is XML? What Problems does it solve? Where and how is it used?
DP&NM Lab. POSTECH, Korea - 1 -Interaction Translation Methods for XML/SNMP Gateway Interaction Translation Methods for XML/SNMP Gateway Using XML Technologies.
Web Services (SOAP, WSDL, and UDDI)
Simple Object Access Protocol (SOAP) Mark H Needleman Data Research Associates, Inc. ZIG Meeting December 2000.
2005/08/31ACS WG - Data transport with SOAP message 1 Data transport with SOAP message There is a W3C note proposing the SOAP with attachment: –
WSDL 1.2 Binding Changes Sanjiva Weerawarana WSDL WG F2F – July 2003 Raleigh, NC.
Web Services Standards. Introduction A web service is a type of component that is available on the web and can be incorporated in applications or used.
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
IRS e-file Transmission Packaging Strategy Based on exploratory work by IBM and IRS Presented by Glenda Hayes/MITRE International Tax Agencies Conference.
Web Services. ASP.NET Web Services  Goals of ASP.NET Web services:  To enable cross-platform, cross- business computing  Great for “service” based.
 Contains services or interfaces that can be accessed over Internet.  Provides certain functionalities and attributes for other applications.  Application.
Evolution of WADO towards Web Services Emmanuel Cordonnier ETIAM, Emmanuel Cordonnier ETIAM,
Web Services Presented By : Noam Ben Haim. Agenda Introduction What is a web service Basic Architecture Extended Architecture WS Stacks.
Establishing a foundation for web services Ashraf Memon.
Simple Object Access Protocol. Web Services: SOAP2 Why Simple Object Access Protocol Light weight replacement for complicated distributed object technology.
XDP Public Comments July 11, XDS comments list XDP Comments from Eric Poiseau11eric XDP comment log attached22felhofer XDP comments from GE33John.Moehrke.
XML, XSL, and SOAP Building Object Systems from Documents CSC/ECE 591o Summer 2000.
WSRP Description and Transport Issues SC Andre Kramer, Citrix Systems Inc. 6 th WSRP F2F, Grenoble, France 12 th -14.
May 24, 2004IVOA Interop Meeting1 An AXIS-based Java SkyNode Ramon Williamson NCSA T HE US N ATIONAL V IRTUAL O BSERVATORY.
SOAP Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Introduction to Web Services. SOAP SOAP originally stood for "Simple Object Access Protocol". Web Services expose useful functionality to Web users through.
What is SOAP? Luciano Piccoli. SOAP – Simple Object Access Protocol  SOAP is an XML based protocol to let software components and applications communicate.
2005/08/25ACS WG - Data transport with SOAP message 1 Data transport with SOAP message There is a W3C note proposing the SOAP with attachment: –
DAP4, SOAP and THREDDS James Gallagher OPeNDAP Presented by Steve Hankin.
WSRP Description and Transport Issues SC Andre Kramer, Citrix Systems Inc. 7 th WSRP F2F, BEA, Manhattan New York.
EGEE is a project funded by the European Union under contract IST SOAP Simple Object Access Protocol 3 – 4 June
The goal of XML Protocol Develop technologies allowing peers to communicate…....in a distributed environment......using XML as encapsulation language.
SOAP Attachments in 4 slides An example of a SOAP binding.
BEA position on W3C ‘Web Services’ Standards Jags Ramnarayan 11th April 2001.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
Lecture VI: SOAP-based Web Service CS 4593 Cloud-Oriented Big Data and Software Engineering.
XML The Overview. Three Key Questions What is XML? What Problems does it solve? Where and how is it used?
1 G52IWS: Web Services Description Language (WSDL) Chris Greenhalgh
SIP Event Lists Adam Roach 3/17/2003. Major Changes No longer a template; now simply an extension (using Supported/Require). Arbitrary nesting of lists.
ACS F2F 1st/2nd Aug, 2005 ACS Data Transport Sachiko Wada ASCADE, Inc.
SOAP, Web Service, WSDL Week 14 Web site:
Challenges in XML It’s good… but is it good enough? Siddhesh Bhobe Persistent eBusiness Solutions.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 9 Web Services: JAX-RPC,
Web Protocols: SOAP COMP6017 Topics on Web Services Dr Nicholas Gibbins –
XCON WG IETF-64 Meeting XCON Framework Overview & Issues
Implementing a service-oriented architecture using SOAP
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
Web services, WSDL, SOAP and UDDI
Introduction to Web Services Protocols
Deepak Shenoy Agni Software
Techniques to Invoke Web Services from SAS
Presentation transcript:

WSRP Description and Transport Issues SC Andre Kramer, Citrix Systems Inc. 8 th WSRP F2F, Gluecode Software, LA 1 st to 4 th March, 2004 Andre Kramer, Citrix Systems Inc. 8 th WSRP F2F, Gluecode Software, LA 1 st to 4 th March, 2004

Our 1.1 topic: Binary Attachments Per-last F2F: - Citrix DIME support documented - “SOAP Message Transmission Optimization Mechanism” W3C Working Draft 21 July 2003 Since last F2F: - Proposal written up to use SwA for out-of-band markupBinary & uploadData - Performance advantages demonstrated - WS-I.org Basic Profile 1.1 expected to add attachments, scheduled for mid-year “Attachments Profile Version 1.0” WS-I.org Working Group draft, 2003/12/ new W3C XML Protocol WG Drafts (9 th Feb 2004) Per-last F2F: - Citrix DIME support documented - “SOAP Message Transmission Optimization Mechanism” W3C Working Draft 21 July 2003 Since last F2F: - Proposal written up to use SwA for out-of-band markupBinary & uploadData - Performance advantages demonstrated - WS-I.org Basic Profile 1.1 expected to add attachments, scheduled for mid-year “Attachments Profile Version 1.0” WS-I.org Working Group draft, 2003/12/ new W3C XML Protocol WG Drafts (9 th Feb 2004)

W3C XMLP Drafts “XML-binary Optimized Packaging” W3C Working Draft 09 Feb 2004 – XOP (XML-binary Optimized Packaging) – For base64Binary Data only :-( – But a quite simple solution “SOAP Message Transmission Optimization Mechanism”, W3C Working Draft 09 Feb 2004 – Optimize the transmission and the wire format of SOAP – Uses XOP & Data Model (type info to select binary data) – Hop by hop but talks about intermediaries (nodes may optimize pass through) – Aims to supersede SOAP 1.2 Attachment Feature – Optimized MIME multipart serialization - how to serialize Soap envelope using XOP format & MIME multipart/related. – HTTP transmission optimization feature - for http binding “XML-binary Optimized Packaging” W3C Working Draft 09 Feb 2004 – XOP (XML-binary Optimized Packaging) – For base64Binary Data only :-( – But a quite simple solution “SOAP Message Transmission Optimization Mechanism”, W3C Working Draft 09 Feb 2004 – Optimize the transmission and the wire format of SOAP – Uses XOP & Data Model (type info to select binary data) – Hop by hop but talks about intermediaries (nodes may optimize pass through) – Aims to supersede SOAP 1.2 Attachment Feature – Optimized MIME multipart serialization - how to serialize Soap envelope using XOP format & MIME multipart/related. – HTTP transmission optimization feature - for http binding

XOP More efficient means of serializing XML Query 1.0 and XPath 2.0 Data Model – Need schema / type info to identify serialization candidates. Hence use of Data Model. – base64Binary data only XOP packages: – Placing serialization into extensible packaging format such as MIME multipart/related – Replacing seralization with a special element ( xop:Include ) that links to the packaged data using URIs – Spec sections: – Format of XOP packages – XOP Data Model – Processing Model (seems not very optimal to me :-( – Security (TBD) More efficient means of serializing XML Query 1.0 and XPath 2.0 Data Model – Need schema / type info to identify serialization candidates. Hence use of Data Model. – base64Binary data only XOP packages: – Placing serialization into extensible packaging format such as MIME multipart/related – Replacing seralization with a special element ( xop:Include ) that links to the packaged data using URIs – Spec sections: – Format of XOP packages – XOP Data Model – Processing Model (seems not very optimal to me :-( – Security (TBD)

XOP

XOP Example <soap:Envelope xmlns:soap=' xmlns:xop=' xmlns:xop-mime=' /aWKKapGGyQ= Faa7vROi2VQ=

MIME-Version: 1.0 Content-Type: Multipart/Related;boundary=MIME_boundary; type=text/xml;start=" " Content-Description: An XML document with my picture and signature in it --MIME_boundary Content-Type: text/xml; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-ID: <soap:Envelope xmlns:soap=' xmlns:xop=' xmlns:xop-mime=' --MIME_boundary Content-Type: image/png Content-Transfer-Encoding: binary Content-ID: // binary octets for png --MIME_boundary Content-Type: application/pkcs7-signature Content-Transfer-Encoding: binary Content-ID: // binary octets for signature --MIME_boundary--

XOP and WSRP XOP currently only for base64Binary Markup strings require XML encoding or wrapping in CDATA sections Overhead of passing through XML parser Could convert: string bytes base64binary bytes string Consumer URL rewriting is an issue Problem of charset conversions Signed markup may be a 2.0 issue XOP currently only for base64Binary Markup strings require XML encoding or wrapping in CDATA sections Overhead of passing through XML parser Could convert: string bytes base64binary bytes string Consumer URL rewriting is an issue Problem of charset conversions Signed markup may be a 2.0 issue

What to binary encode in WSRP? MarkupContext.markupBinary (H) MarkupContext.markupString (H) UploadContext.uploadData (H) Property.value (H) ResourceList (M) RegistrationState.registrationState (M) RuntimeContext.templates (M) PortletContext.portletState (M) UserContext.userProfile (M) ModelType (L) ClientData.extensions? (L) UserContext.extensions? (L) fault.details? (L) …

Strawman for XOP Minimal proposal: – Use markupString for small fragments (UTF-8) – Else use markupBinary and UploadContext.uploadData (these are already base64binary ) – Add a Property.value base64binary element - so that XOP can pull out property get/set data – Need a standard way to name the new binding (An aside: SOAP1.2 binding will also need to be named) More elaborate MTO scheme possible, e.g.: – Could use X Pointer to reference any element that should be optimized – Use WSRP schema to encode/decode selected elements – Could be added as additional bindings Minimal proposal: – Use markupString for small fragments (UTF-8) – Else use markupBinary and UploadContext.uploadData (these are already base64binary ) – Add a Property.value base64binary element - so that XOP can pull out property get/set data – Need a standard way to name the new binding (An aside: SOAP1.2 binding will also need to be named) More elaborate MTO scheme possible, e.g.: – Could use X Pointer to reference any element that should be optimized – Use WSRP schema to encode/decode selected elements – Could be added as additional bindings

WS-I.org Basic Profile 1.1 draft Splits out SOAP binding from Basic Profile 1.0 Draft adds Attachments “1.0” Profile – SOAP Messages with Attachments (SwA) – MIME multipart/related structure for packaging – Root part MUST be soap:Envelope – Supports ref:swaRef – from WSDL 1.1 Section 5 – Good for markup but not for our uploadData or properties – Could add new unparsedUploadData message part for attachment – Or use our out-of-band approach? What to name this binding? – WSRP_v1_1_Markup_Binding_SwA ? – Does it need to be in a separate service.wsdl? Splits out SOAP binding from Basic Profile 1.0 Draft adds Attachments “1.0” Profile – SOAP Messages with Attachments (SwA) – MIME multipart/related structure for packaging – Root part MUST be soap:Envelope – Supports ref:swaRef – from WSDL 1.1 Section 5 – Good for markup but not for our uploadData or properties – Could add new unparsedUploadData message part for attachment – Or use our out-of-band approach? What to name this binding? – WSRP_v1_1_Markup_Binding_SwA ? – Does it need to be in a separate service.wsdl?

How to proceed? Encourage XOP to handle other data types? XML-encoded Strings use case Live with minimal base64Binary proposal? Allow non-interoperable aggressive serialization optimization schemes? Wait for WS-I.org Basic Profile 1.1? Encourage XOP to handle other data types? XML-encoded Strings use case Live with minimal base64Binary proposal? Allow non-interoperable aggressive serialization optimization schemes? Wait for WS-I.org Basic Profile 1.1?