SlideShare a Scribd company logo
1 of 31
IT6801
SERVICE ORIENTED
ARCHITECTURE
-
OBJECTIVES
• Learn XML fundamentals.
• Be exposed to build applications based on XML.
• Understand the key principles behind SOA.
• Be familiar with the web services technology elements for
realizing SOA.
• Learn the various web service standards.
Text Books
1. Ron Schmelzer et al. “XML and Web Services”,
Pearson Education, 2002.
2. Thomas Erl, “Service Oriented Architecture: Concepts,
Technology, and Design”, Pearson Education, 2005.
Reference Books
1. Frank P.Coyle, “XML, Web Services and the Data Revolution”,
Pearson Education, 2002
2. Eric Newcomer, Greg Lomow, “Understanding SOA with Web
Services”, Pearson Education, 2005
3. Sandeep Chatterjee and James Webber, “Developing Enterprise Web
Services: An Architect's Guide”, Prentice Hall, 2004.
4. James McGovern, Sameer Tyagi, Michael E.Stevens, Sunil Mathew,
“Java Web Services Architecture”, Morgan Kaufmann Publishers,
2003.
SYLLABUS
• UNIT I INTRODUCTION TO XML 9
• UNIT II BUILDING XML-BASED APPLICCATIONS 9
• UNIT III SERVICE ORIENTED ARCHITECTURE 9
• UNIT IV WEB SERVICES 9
• UNIT V BUILDING SOA-BASED APPLICATIONS 9
UNIT I INTRODUCTION TO XML
XML document structure – Well formed and valid
documents – Namespaces – DTD – XML Schema
– X-Files.
Markup Language
Set of words and symbols that highlight text
to define it for a web document.
Introduction
• Markup language
– A set of words and symbols that highlight text to define it for a web
document.
• For example,
– When creating an Internet page, you want to be able the separate
paragraphs and put letters in a bold-face type.
– This is accomplished through a markup language.
SGML
• In this family of markup languages,
– Standard Generalized Markup Language (SGML) is the parent.
• SGML
– Provides the basic structure of the markup language, and
– Sets the standard for their form.
• As a parent, it passes on genetic behavior to a child,
– SGML passes structure and format rules to other markup languages.
HTML
• HyperText Markup Language (HTML) is a child of SGML.
– It usually designs the page for an Internet browser.
• Using HTML, we can
– Embed images, create page sections, establish fonts & direct the flow of page.
• In HTML, we can add other functions to a website via scripting languages,
– Such as JavaScript.
• HTML is the predominant language used for website design.
XML
• Extensible Markup Language (XML) - Cousin to HTML & a nephew to SGML.
• XML is a subset of SGML,
– This give it rights that an application, such as HTML, doe not have.
• XML can define applications of its own.
– Resource Description Format (RDF) is an application of XML.
– HTML is limited to design and does not have subsets or applications.
• XML inherited genetic qualities from SGML,
– But is created to make its own family.
• Subsets of XML include XSL and XSLT.
XML
• Advantages of XML are:
– It is much simpler compare to SGML
– XML documents can be Valid or Well Formed without a DTD
(deducing the semantics from the structure of the document)
– Linking is much simpler in XML than in SGML, but also much more intelligent than HTML
– No longer restricted a limited set of tags, you can create your own set of tags.
– XML is very powerful, yet easy to implement, not limited on data structures
– It is in text format, Human readable and easy to edit
• Disadvantages of XML are:
– DTD's can't located on the Internet
– There is no guarantee that all browser currently support XML, although now some
browser now currently capable of interpreting XML, example are IE 5 and Netscape.
eXtensible Markup Language 
(XML)
XML is a markup language much like HTML
What is XML?
• XML is the metamarkup language.
– That means it specify the rules for creating markup languages
• XML was designed to describe data, not to display data
• XML tags are not predefined.
– You must define your own tags
• XML is designed to be self-descriptive
– Self-describing language simplifies document creation, maintenance, and
debugging
• XML is a W3C Recommendation
Difference Between XML and HTML
• XML is not a replacement for HTML.
• XML and HTML were designed with different goals:
– XML was designed to describe data, with focus on what data is
– HTML was designed to display data, with focus on how data looks
• HTML is about displaying information,
– While XML is about carrying information.
Use of XML
• XML can be used to encode any structured information
• XML is good at representing
– Information that has an extensible, hierarchical format and requires
encoding of metadata.
XML Does Not DO Anything
• <note>
  <to>Tove</to>
  <from>Jani</from>
  <heading>Reminder</heading>
  <body>Don't forget me this weekend!</body>
</note>
• XML document does not DO anything
• It is just information wrapped in tags.
– One must write a piece of s/w to send, receive or display it.
It has
Sender and receiver information,
A heading and a message body.
How Can XML be Used?
• XML Separates Data from HTML
• XML Simplifies Data Sharing
• XML Simplifies Platform Changes
• Internet Languages Written in XML
XML Delimiter Characters
• XML language has 4 special delimiters
Character Meaning
< Start of an XML markup tag
> End of an XML markup tag
& Start of an XML entity
; End of an XML entity
XML Syntax Rules
• All XML Elements Must Have a Closing Tag
• XML Tags are Case Sensitive
Example:
<message>This is incorrect</Message>
<message>This is correct</message>
• XML Elements Must be Properly Nested
• XML Documents Must Have a Root Element
• XML Attribute Values Must be Quoted
Empty XML Elements
• An element with no content is said to be empty.
• <element></element>
OR
• <element />
XML Attributes
• XML elements can have attributes, just like HTML.
• Attributes provide additional information about an element.
• Attributes often provide information that is not a part of the
data.
• XML Attribute value must be Quoted (single or double quotes)
<person gender="female">
XML Tree
• XML documents form a tree structure
– That starts at "the root" and branches to "the leaves".
<?xml version="1.0" encoding="UTF-8"?>
<note>
  <to>Tove</to>
  <from>Jani</from>
  <heading>Reminder</heading>
  <body>Don't forget me this weekend!
</body>
</note>
• First line is the XML declaration. 
      It defines the XML version 
• Next line describes the 
root element of the document. 
      <note>
• Next 4 lines describe 
4 child elements of root 
(to, from, heading, body)
• Last line defines the 
end of the root element: </note>
Example
<bookstore>
  <book category="CHILDREN">
    <title>Harry Potter</title>
    <author>J K. Rowling</author>
    <year>2005</year>
    <price>29.99</price>
  </book>
  <book category="WEB">
    <title>Learning XML</title>
    <author>Erik T. Ray</author>
    <year>2003</year>
    <price>39.95</price>
  </book>
</bookstore>
<bookstore>
  <book category="CHILDREN">
    <title>Harry Potter</title>
    <author>J K. Rowling</author>
    <year>2005</year>
    <price>29.99</price>
  </book>
  <book category="WEB">
    <title>Learning XML</title>
    <author>Erik T. Ray</author>
    <year>2003</year>
    <price>39.95</price>
  </book>
</bookstore>
An XML element is everything from 
(including) the element's start tag to 
(including) the element's end tag.
An element can contain:
– other elements
– text
– attributes
– or a mix of all of the above...
XML Elements vs. Attributes
<person gender="female">
  <firstname>Anna</firstname>
  <lastname>Smith</lastname>
</person>
<person>
  <gender>female</gender>
  <firstname>Anna</firstname>
  <lastname>Smith</lastname>
</person>
• There are no rules about
when to use attributes or
when to use elements.
• In XML best advice is to avoid
them. Use elements instead.
XML Elements are Extensible
• XML elements can be extended to carry more information.
<note>
<to>Tove</to>
<from>Jani</from>
<body>Don't forget me this weekend!</body>
</note>
MESSAGE
To: Tove
From: Jani
Don't forget me this weekend!
XML Elements are Extensible
• Previous XML document added some extra information to it:
<note>
  <date>2008-01-10</date>
  <to>Tove</to>
  <from>Jani</from>
  <heading>Reminder</heading>
  <body>Don't forget me this weekend!</body>
</note>
Should the application break or crash?
No. 
Application should be able to find <to>, <from>, and <body> elements 
in the XML document and produce the same output.
One of the beauties
of XML, is that it can
be extended without
breaking
applications.
Best way of using XML
<note date="2008-01-10">
  <to>Tove</to>
  <from>Jani</from>
  <heading>Reminder</heading>
  <body>Don't forget me this weekend!</body>
</note>
A date attribute is used in the first example:
<note>
  <date>2008-01-10</date>
  <to>Tove</to>
  <from>Jani</from>
  <heading>Reminder</heading>
  <body>Don't forget me this weekend!</body>
</note>
A date element is used in the second example:
• An expanded date element is used in the third:
<note>
  <date>
    <year>2008</year>
    <month>01</month>
    <day>10</day>
  </date>
  <to>Tove</to>
  <from>Jani</from>
  <heading>Reminder</heading>
  <body>Don't forget me this weekend!</body>
</note>
Problems With Using Attributes
1. Attributes cannot contain multiple values (elements can)
2. Attributes cannot contain tree structures (elements can)
3. Attributes are not easily expandable (for future changes)
00 introduction

More Related Content

What's hot (20)

Xml
XmlXml
Xml
 
Xml basics for beginning
Xml basics for beginningXml basics for beginning
Xml basics for beginning
 
XML Schema
XML SchemaXML Schema
XML Schema
 
Basics of XML
Basics of XMLBasics of XML
Basics of XML
 
1 xml fundamentals
1 xml fundamentals1 xml fundamentals
1 xml fundamentals
 
02 xml schema
02 xml schema02 xml schema
02 xml schema
 
XML, DTD & XSD Overview
XML, DTD & XSD OverviewXML, DTD & XSD Overview
XML, DTD & XSD Overview
 
XML
XMLXML
XML
 
Publishing xml
Publishing xmlPublishing xml
Publishing xml
 
Xml schema
Xml schemaXml schema
Xml schema
 
Xml
XmlXml
Xml
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xml
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xmlXml theory 2005_[ngohaianh.info]_1_introduction-to-xml
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xml
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
XML
XMLXML
XML
 
Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)
 
eXtensible Markup Language (By Dr.Hatem Mohamed)
eXtensible Markup Language (By Dr.Hatem Mohamed)eXtensible Markup Language (By Dr.Hatem Mohamed)
eXtensible Markup Language (By Dr.Hatem Mohamed)
 
Xml schema
Xml schemaXml schema
Xml schema
 
Markup Languages
Markup Languages Markup Languages
Markup Languages
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 

Similar to 00 introduction (20)

BITM3730 10-31.pptx
BITM3730 10-31.pptxBITM3730 10-31.pptx
BITM3730 10-31.pptx
 
BITM3730 10-18.pptx
BITM3730 10-18.pptxBITM3730 10-18.pptx
BITM3730 10-18.pptx
 
XML
XMLXML
XML
 
XML
XMLXML
XML
 
Xml passing in java
Xml passing in javaXml passing in java
Xml passing in java
 
Xml
XmlXml
Xml
 
Xml
XmlXml
Xml
 
XML - Extensible Markup Language for Network Security.pptx
XML - Extensible Markup Language for Network Security.pptxXML - Extensible Markup Language for Network Security.pptx
XML - Extensible Markup Language for Network Security.pptx
 
xml
xmlxml
xml
 
Xml iet 2015
Xml iet 2015Xml iet 2015
Xml iet 2015
 
Xml
XmlXml
Xml
 
BITM3730Week5.pptx
BITM3730Week5.pptxBITM3730Week5.pptx
BITM3730Week5.pptx
 
Xml programming language myassignmenthelp.net
Xml programming  language myassignmenthelp.netXml programming  language myassignmenthelp.net
Xml programming language myassignmenthelp.net
 
XML.pptx
XML.pptxXML.pptx
XML.pptx
 
XML
XMLXML
XML
 
WT UNIT-2 XML.pdf
WT UNIT-2 XML.pdfWT UNIT-2 XML.pdf
WT UNIT-2 XML.pdf
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Xml unit1
Xml unit1Xml unit1
Xml unit1
 
Java Web Services
Java Web ServicesJava Web Services
Java Web Services
 
Xmll
XmllXmll
Xmll
 

More from Baskarkncet

More from Baskarkncet (16)

Unit_I.pptx
Unit_I.pptxUnit_I.pptx
Unit_I.pptx
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
Unit 1
Unit 1Unit 1
Unit 1
 
HCI
HCIHCI
HCI
 
03 namespace
03 namespace03 namespace
03 namespace
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagrams
 
10 component diagram
10 component diagram10 component diagram
10 component diagram
 
09 package diagram
09 package diagram09 package diagram
09 package diagram
 
08 state diagram and activity diagram
08 state diagram and activity diagram08 state diagram and activity diagram
08 state diagram and activity diagram
 
07 interaction diagrams
07 interaction diagrams07 interaction diagrams
07 interaction diagrams
 
06 class diagrams
06 class diagrams06 class diagrams
06 class diagrams
 
05 use case
05 use case05 use case
05 use case
 
03 unified process
03 unified process03 unified process
03 unified process
 
02 uml
02 uml02 uml
02 uml
 
04 uml diagrams
04 uml diagrams04 uml diagrams
04 uml diagrams
 
01 introduction
01 introduction01 introduction
01 introduction
 

Recently uploaded

Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 

Recently uploaded (20)

Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 

00 introduction

  • 2. OBJECTIVES • Learn XML fundamentals. • Be exposed to build applications based on XML. • Understand the key principles behind SOA. • Be familiar with the web services technology elements for realizing SOA. • Learn the various web service standards.
  • 3. Text Books 1. Ron Schmelzer et al. “XML and Web Services”, Pearson Education, 2002. 2. Thomas Erl, “Service Oriented Architecture: Concepts, Technology, and Design”, Pearson Education, 2005.
  • 4. Reference Books 1. Frank P.Coyle, “XML, Web Services and the Data Revolution”, Pearson Education, 2002 2. Eric Newcomer, Greg Lomow, “Understanding SOA with Web Services”, Pearson Education, 2005 3. Sandeep Chatterjee and James Webber, “Developing Enterprise Web Services: An Architect's Guide”, Prentice Hall, 2004. 4. James McGovern, Sameer Tyagi, Michael E.Stevens, Sunil Mathew, “Java Web Services Architecture”, Morgan Kaufmann Publishers, 2003.
  • 5. SYLLABUS • UNIT I INTRODUCTION TO XML 9 • UNIT II BUILDING XML-BASED APPLICCATIONS 9 • UNIT III SERVICE ORIENTED ARCHITECTURE 9 • UNIT IV WEB SERVICES 9 • UNIT V BUILDING SOA-BASED APPLICATIONS 9
  • 6. UNIT I INTRODUCTION TO XML XML document structure – Well formed and valid documents – Namespaces – DTD – XML Schema – X-Files.
  • 7. Markup Language Set of words and symbols that highlight text to define it for a web document.
  • 8. Introduction • Markup language – A set of words and symbols that highlight text to define it for a web document. • For example, – When creating an Internet page, you want to be able the separate paragraphs and put letters in a bold-face type. – This is accomplished through a markup language.
  • 9. SGML • In this family of markup languages, – Standard Generalized Markup Language (SGML) is the parent. • SGML – Provides the basic structure of the markup language, and – Sets the standard for their form. • As a parent, it passes on genetic behavior to a child, – SGML passes structure and format rules to other markup languages.
  • 10. HTML • HyperText Markup Language (HTML) is a child of SGML. – It usually designs the page for an Internet browser. • Using HTML, we can – Embed images, create page sections, establish fonts & direct the flow of page. • In HTML, we can add other functions to a website via scripting languages, – Such as JavaScript. • HTML is the predominant language used for website design.
  • 11. XML • Extensible Markup Language (XML) - Cousin to HTML & a nephew to SGML. • XML is a subset of SGML, – This give it rights that an application, such as HTML, doe not have. • XML can define applications of its own. – Resource Description Format (RDF) is an application of XML. – HTML is limited to design and does not have subsets or applications. • XML inherited genetic qualities from SGML, – But is created to make its own family. • Subsets of XML include XSL and XSLT.
  • 12. XML • Advantages of XML are: – It is much simpler compare to SGML – XML documents can be Valid or Well Formed without a DTD (deducing the semantics from the structure of the document) – Linking is much simpler in XML than in SGML, but also much more intelligent than HTML – No longer restricted a limited set of tags, you can create your own set of tags. – XML is very powerful, yet easy to implement, not limited on data structures – It is in text format, Human readable and easy to edit • Disadvantages of XML are: – DTD's can't located on the Internet – There is no guarantee that all browser currently support XML, although now some browser now currently capable of interpreting XML, example are IE 5 and Netscape.
  • 13. eXtensible Markup Language  (XML) XML is a markup language much like HTML
  • 14. What is XML? • XML is the metamarkup language. – That means it specify the rules for creating markup languages • XML was designed to describe data, not to display data • XML tags are not predefined. – You must define your own tags • XML is designed to be self-descriptive – Self-describing language simplifies document creation, maintenance, and debugging • XML is a W3C Recommendation
  • 15. Difference Between XML and HTML • XML is not a replacement for HTML. • XML and HTML were designed with different goals: – XML was designed to describe data, with focus on what data is – HTML was designed to display data, with focus on how data looks • HTML is about displaying information, – While XML is about carrying information.
  • 16. Use of XML • XML can be used to encode any structured information • XML is good at representing – Information that has an extensible, hierarchical format and requires encoding of metadata.
  • 17. XML Does Not DO Anything • <note>   <to>Tove</to>   <from>Jani</from>   <heading>Reminder</heading>   <body>Don't forget me this weekend!</body> </note> • XML document does not DO anything • It is just information wrapped in tags. – One must write a piece of s/w to send, receive or display it. It has Sender and receiver information, A heading and a message body.
  • 18. How Can XML be Used? • XML Separates Data from HTML • XML Simplifies Data Sharing • XML Simplifies Platform Changes • Internet Languages Written in XML
  • 19. XML Delimiter Characters • XML language has 4 special delimiters Character Meaning < Start of an XML markup tag > End of an XML markup tag & Start of an XML entity ; End of an XML entity
  • 20. XML Syntax Rules • All XML Elements Must Have a Closing Tag • XML Tags are Case Sensitive Example: <message>This is incorrect</Message> <message>This is correct</message> • XML Elements Must be Properly Nested • XML Documents Must Have a Root Element • XML Attribute Values Must be Quoted
  • 21. Empty XML Elements • An element with no content is said to be empty. • <element></element> OR • <element />
  • 22. XML Attributes • XML elements can have attributes, just like HTML. • Attributes provide additional information about an element. • Attributes often provide information that is not a part of the data. • XML Attribute value must be Quoted (single or double quotes) <person gender="female">
  • 23. XML Tree • XML documents form a tree structure – That starts at "the root" and branches to "the leaves". <?xml version="1.0" encoding="UTF-8"?> <note>   <to>Tove</to>   <from>Jani</from>   <heading>Reminder</heading>   <body>Don't forget me this weekend! </body> </note> • First line is the XML declaration.        It defines the XML version  • Next line describes the  root element of the document.        <note> • Next 4 lines describe  4 child elements of root  (to, from, heading, body) • Last line defines the  end of the root element: </note>
  • 24. Example <bookstore>   <book category="CHILDREN">     <title>Harry Potter</title>     <author>J K. Rowling</author>     <year>2005</year>     <price>29.99</price>   </book>   <book category="WEB">     <title>Learning XML</title>     <author>Erik T. Ray</author>     <year>2003</year>     <price>39.95</price>   </book> </bookstore> <bookstore>   <book category="CHILDREN">     <title>Harry Potter</title>     <author>J K. Rowling</author>     <year>2005</year>     <price>29.99</price>   </book>   <book category="WEB">     <title>Learning XML</title>     <author>Erik T. Ray</author>     <year>2003</year>     <price>39.95</price>   </book> </bookstore> An XML element is everything from  (including) the element's start tag to  (including) the element's end tag. An element can contain: – other elements – text – attributes – or a mix of all of the above...
  • 25. XML Elements vs. Attributes <person gender="female">   <firstname>Anna</firstname>   <lastname>Smith</lastname> </person> <person>   <gender>female</gender>   <firstname>Anna</firstname>   <lastname>Smith</lastname> </person> • There are no rules about when to use attributes or when to use elements. • In XML best advice is to avoid them. Use elements instead.
  • 26. XML Elements are Extensible • XML elements can be extended to carry more information. <note> <to>Tove</to> <from>Jani</from> <body>Don't forget me this weekend!</body> </note> MESSAGE To: Tove From: Jani Don't forget me this weekend!
  • 27. XML Elements are Extensible • Previous XML document added some extra information to it: <note>   <date>2008-01-10</date>   <to>Tove</to>   <from>Jani</from>   <heading>Reminder</heading>   <body>Don't forget me this weekend!</body> </note> Should the application break or crash? No.  Application should be able to find <to>, <from>, and <body> elements  in the XML document and produce the same output. One of the beauties of XML, is that it can be extended without breaking applications.
  • 28. Best way of using XML <note date="2008-01-10">   <to>Tove</to>   <from>Jani</from>   <heading>Reminder</heading>   <body>Don't forget me this weekend!</body> </note> A date attribute is used in the first example: <note>   <date>2008-01-10</date>   <to>Tove</to>   <from>Jani</from>   <heading>Reminder</heading>   <body>Don't forget me this weekend!</body> </note> A date element is used in the second example:
  • 29. • An expanded date element is used in the third: <note>   <date>     <year>2008</year>     <month>01</month>     <day>10</day>   </date>   <to>Tove</to>   <from>Jani</from>   <heading>Reminder</heading>   <body>Don't forget me this weekend!</body> </note>
  • 30. Problems With Using Attributes 1. Attributes cannot contain multiple values (elements can) 2. Attributes cannot contain tree structures (elements can) 3. Attributes are not easily expandable (for future changes)