Master's Thesis Submission Form

Master's Thesis Submission Form

MASTER’S THESIS SUBMISSION FORM Type of Document M. S. Thesis Author BIJU T MANIAMPADAVTHU Author’s e-mail Thesis Title Message Optimization Enhanced Logger System Degree Master of Science Subject Computer Science Keywords XML SOAP XOP MTOM Logging “binary XML” Committee Members 1. Prof. 2. Prof. 3. Prof. 4. Prof. Date of Defense Availability Abstract This document describes about extending the functionality of a Web services based logger system using SOAP Message Transmission Optimization (MTOM) recommendation from W3C. MTOM uses XML binary optimized packaging (XOP) recommendation from W3C to provide an optimized XML serialization for binary data in XML. This work adds binary transport and locale specific translation (localization) feature for the binary log messages stored in the log repository. Signature_________________________ Date:___________________ CSIS THESIS/DISSERTATION USE AND ELECTRONIC PUBLICATION CONSENT FORM I, BIJU T MANIAMPADAVATHU, (the “Author”) herby grant to Pace University the right to display on Pace’s Web site my thesis titled “Message Optimization Enhanced Logger System” (the “Materials”) alone or in combination with other thesis papers for use by researchers, students and faculty in any and all formats and by means of technology now known or hereafter to become known, and to reserve copies in its libraries in hard copy or electronic form. Pace University shall give the Author credit in connection with the use of the Materials by identifying Author in a prominent manner. Signature_________________________ Date:___________________ Pace University Date: Student’s Name: Biju T. Maniampadavathu Date of Graduation: Spring 2005 Title of Thesis: Message Optimization Enhanced Logger System This will certify that the above thesis has been approved in fulfillment of the thesis option for the Degree of Master of Science in Computer Science. Student’s Signature ______________________________ Thesis Advisor ______________________________ Committee Member ______________________________ Committee Member ______________________________ Committee Member ______________________________ Department Chair ______________________________ Dean ______________________________ Date ______________________________ Thesis Project for the degree of Master of Science in Computer Science Message Optimization Enhanced Logger System Pace University School of Computer Science and Information Systems Biju T. Maniampadavathu Professor Mehdi Badii – Thesis Advisor Fall 2004 – Spring 2005 Table of Contents Abstract............................................................................................................................... 8 1 Introduction................................................................................................................. 9 1.1 Web services ....................................................................................................... 9 1.2 Extended Markup Language (XML) .................................................................. 9 1.3 Simple Object Access Protocol (SOAP)........................................................... 10 1.4 XML and Binary Data ...................................................................................... 10 1.5 XML Binary Optimized Packaging (XOP)....................................................... 10 1.6 Message Transmission Optimization (MTOM)................................................ 11 1.7 A Logger system based on Web services ......................................................... 11 2 Web Services ............................................................................................................ 12 2.1 What is Web Services? ..................................................................................... 12 2.2 Web Services Architecture ............................................................................... 13 2.3 Web Services Resource Framework (WSRF)................................................... 15 3 Extensible Markup Language (XML)....................................................................... 19 3.1 XML Namespaces............................................................................................. 20 3.2 XML Schema.................................................................................................... 21 3.3 XML Information Set ....................................................................................... 22 3.4 XML Parsers ..................................................................................................... 25 4 Web Services Description Language (WSDL)......................................................... 27 4.1 WSDL 2.0 (Working Draft).............................................................................. 31 5 Simple Object Access Protocol (SOAP)................................................................... 33 5.1 What is SOAP? ................................................................................................. 33 6 SOAP Binary XML and Opaque data....................................................................... 40 6.1 Base64 Encoding .............................................................................................. 42 7 SOAP Attachments History...................................................................................... 44 7.1 SOAP with Attachments (SwA) ....................................................................... 44 7.1.1 SOAP with Attachments API for Java (SAAJ)......................................... 45 7.2 DIME and WS-Attachment............................................................................... 48 7.3 WS-I Attachment Profile .................................................................................. 49 7.4 Proposed Infoset Addendum to SOAP with Attachments (PaSwA) ................ 49 8 MTOM & XOP......................................................................................................... 50 8.1 Message Optimization Use cases...................................................................... 50 8.2 SOAP Message Transmission Optimization Mechanism (MTOM)................. 51 8.2.1 Abstract SOAP Transmission Optimization Feature ................................... 52 8.2.2 An Optimized MIME Multipart/Related Serialization of SOAP Messages 53 8.2.3 HTTP SOAP Transmission Optimization Feature....................................... 54 8.3 XML Binary Optimized Packaging (XOP)....................................................... 55 8.4 Resource Representation of SOAP Header Block............................................ 59 8.5 Assigning Media Types to Binary Data in XML.............................................. 61 9 A Logger System based on Web Services................................................................ 64 9.1 Logger System interfaces.................................................................................. 64 9.1.1 The log:LogManager interface........................................................... 65 9.1.2 The log:Log interface............................................................................ 66 9.1.3 The log:LogConnection interface ................................................... 66 9.1.4 The log:LogBrowseSession interface ............................................ 67 10 Proposed Enhancement to Logger System the based on Web Services ................... 68 10.1 Enhanced Logger System Architecture ............................................................ 69 11 Implementation ......................................................................................................... 71 11.1 MTOM Implementation.................................................................................... 71 11.1.1 Java Mail Specification............................................................................. 71 11.1.2 JavaBeans Activation Framework ............................................................ 73 11.1.3 XOP Implementation ................................................................................ 75 11.1.4 MTOM Implementation............................................................................ 75 12 Conclusion and Future Work.................................................................................... 77 References......................................................................................................................... 78 Appendix........................................................................................................................... 81 6 Table of Figures Figure 1 Service Oriented Architecture ............................................................................ 14 Figure 2 XML Infoset Model............................................................................................ 23 Figure 3 WSDL Information Model ................................................................................. 27 Figure 4 SOAP Envelope.................................................................................................. 36 Figure 5 SOAP Processing Model .................................................................................... 38 Figure 6 The Base64 alphabet.......................................................................................... 43 Figure 7 SOAP Message with 2 attachments.................................................................... 45 Figure 8 SAAJ Class Design............................................................................................. 48 Figure 9 XOP Framework Architecture...........................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    171 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us