SlideShare une entreprise Scribd logo
1  sur  47
NAME OF STAFF :S.SAYI PRIYASS
NAME OF STUDENT :K.TAMIL MOZHIYAL
REGISTER NUMBER :CB17S 250446
CLASS :III-BCA-B
BATCH :2017-2020
YEAR :2020
SUBJECT CODE :MCA511
WHAT IS WEB SERVICES
 “The World Wide Web is more and more used for application to
application communication.
The programmatic interfaces made available are referred to as Web
services”
A Web service is a software system designed to support interoperable
machine-to-machine interaction over a network.
It has an interface described in a machine- format processble
(specifically WSDL).
Other systems interact with the Web service in a manner prescribed
by its description using SOAP messages, typically conveyed using
HTTP with an XML serialization in conjunction with other Web-related
standards.”
INTRODUCATION
 Contemporary Service-Oriented Architectures (SOA)
represents an architecture that promotes service-orientation through the
use of Web services.
 All functions, or services, are defined using a description language
and have invokable interface that are called to perform business
processes.
• Client
• Third party system
• Legacy
• Resources
• Modern Moves
Web service example
A stock quote service.
An application requires the current value of a stock, the
web service returns it.
A route finder for delivery of goods.
Given an initial and a final location, find the most cost-
effective delivery route.
A weather service, a map service, a web search service…
any composition of Web services.
Dickson Chiu 2006 Web Service-5
UDDI
Registry WSDL
Web
Service
SOAP
Service
Consumer
Points to description
Describes
ServiceFinds
Service
Communicates with
XML Messages
SOA Technologies
Why web services for important
From business standpoint
– Integration
• Within an organization
• Between companies
• Allows time/cost efficiencies
– Purchase orders
– Answering inquiries
– Processing shipment requests
• Do this without locking in to a single partner.
Issues distributed computing
platform
Platform Dependency
Management and Optimization
What do 99,99% availability mean?
How can I guarantee 3 seconds response time?
Who owns the Log? Who owns the context?
Load Balancing, Caching, Replication?
Change a Process: All or Nothing
Whole system fails when a component is upgraded
Versioning, Schema Evolution while process runs
How do we send a Java double value to a web service
using XML?
Is scientific notation allowed?
 How large can the value be?
Etc.
What if we want to send an object?
And what if the object contains references to other
objects?
Web services enterprises
The emergence of Web services is transforming traditional
enterprises. However, the industry hype surrounding these
technologies obscures the understanding of their impact and
implications to enterprises.
 The challenges and opportunities they present, how they fit
into the enterprise stack, how they relate to the business and
IT layers of the enterprise, as well as the existing and
emerging standards and their relevance.
XML fundamentals XML
XML Fundamentals:
 In this first of three chapters in Part One, we start with a discussion
of the fundamentals of the extensible Markup Language (XML), the
basic technology on which Web services are based.
 From network protocols up the stack to back-end databases, XML
in all its forms has had a commoditizing effect on enterprise
computing systems and being both platform and language
independent is a natural choice for the level of interoperability
required of Web services.
XML fundamentals XML
What is XML?
XML stands for Extensible Markup Language.
XML is a markup language like HTML and not a
programming language.
It uses tags, just like HTML.
XML is not a replacement for HTML.
XML was created to transport or store data.
XML is very easy to learn compared to learn any
programming language.
Some XML History:
XML is an application profile of an ISO standard SGML,
and most of XML comes from SGML unchanged.
XML version 1.0 was defined in 1998. It had many minor
revisions since then XML 1.0 is the recommended version.
XML version 1.1 was published in February of 2004, the
same day as version 1.0’s third edition. 1.0 is generally
suggested over 1.1 unless the project needs specific features
of 1.1.
There have been discussions of an XML 2.0, although no
organization has announced plans for work on such a
project.
XML vs. HTML:
There is no comparison between HTML and XML.
 They are completely different and are used in different
situations.
XML is a Data Interchange Format; it’s a way to structure and
store data and also to transport data.
XML was created to transport and store data and is more
behind the scenes.XML has no pre-defined tags.
HTML is used to display data in a browser and focus on
physical presentation. HTML has pre-defined tags.
Document structure
In the XML file structure, the first line is the declaration that
contains the document information like version information,
character set, etc.
Declaration must come first in the document.
Every opening tag should have a closing tag.
Each XML document has a root element.
Root element contains the child elements which can in turn
have sub-child elements.
All the sub-child elements in a child element are called
the siblings of each other.
Attributes like gender=”male” can also be given to the tags.
WEB SERVICES:
XML is a standard for data mark-up backed by the
World Wide Web Consortium, which has been branded
"the universal format for structured documents and data
on the Web.“
The entire XML suite of standards, models, and
processing technologies have been under development
since 1998 with the initial XML specification, and has
since been augmented by several additional supporting
standards and notes that have brought XML to its current
rich state.
In fact, though XML is undeniably a richly specified
technology, it has retained its simplicity and the entire
XML is for Structuring Data:
 Structured data includes things like spreadsheets,
address books, configuration parameters, financial
transactions, and technical drawings.
XML is a set of rules for designing text formats that support
the developer in creating structured data. Though it vaguely
resembles source code, XML is not a programming language,
but it does make it easy for a computer to generate data, read
data, and ensure that the data structure is unambiguous.
XML avoids common pitfalls in language design. It is
extensible, platform-independent, supports internationalization
and localization, and is fully Unicode-compliant.
XML Resembles HTML:
o Like HTML, XML makes use of tags (words surrounded by
angle brackets, "<" and ">") and attributes (of the
form name="value"). While HTML specifies what each tag and
attribute means and often how the text between them will render in
a browser, XML uses the tags only to delimit pieces of data and
leaves the interpretation of the data completely to the application
that reads it.
XML is Human Readable, but Humans Shouldn't Read
It:
 Programs that produce structured data often store that data on
disk, using either a binary or text format. An advantage of a textual
format is that it allows people, if necessary, to look at the data without
the program that produced it, using tools like text editors.
XML files are text files that people shouldn't have to read, but may
read as and when the need arises. Care must be taken when manually
editing XML since its rules are strict.
The official XML specification forbids applications from trying to
second-guess the creator of a broken XML file; if the file is broken, an
application has to stop and report an error.
XML is Verbose:
 Since XML is a textual format and uses tags to delimit
the data, XML files are nearly always larger than
comparable binary formats. That was a conscious decision
by the designers of XML. The advantages of a text format
are evident, and the disadvantages can usually be
compensated at a different level by compression
applications.
XML is a Suite of Technologies:
 XML 1.0 is the specification that defines what "tags"
and "attributes" are. Beyond that specification, the XML
family is a growing set of modules that offer useful
services to accomplish important and frequently demanded
tasks.
XML is Modular:
XML allows you to define a new document format by combining and
reusing other formats. Since two formats developed independently may
have elements or attributes with the same name, care must be taken
when combining those formats.
To eliminate name confusion when combining formats, XML
provides a namespace mechanism that is supported in all XML-based
technologies.
XML is License-Free, Platform-Independent, and Well-
Supported:
Basing Web services on XML is similar to basing a database strategy
on SQL you still have to build your own database, programs, and
procedures that manipulate it, but there are many tools and commodity
components available to help. since XML is license-free, Web services
can be built without incurring royalty payments.
What is namespaces:
•As an example, let's assume we have an RDB with a table of the
following structure (employee Table, section Table). What kind of
SQL statement would you create to obtain a list of Employee ID,
Employee Department Name, and Employee Name? If we merged
employee Table and section Table with the sec ID column, then we
would be able to obtain a list of employee IDs, employee departments
and employee names. However, since the name column and sec ID
column exist in both tables, we would have to designate the table name
before the name and sec ID columns, or designate the alias of the table
in order to clarify the table of the name and sec ID columns in
question.
Solving the Name Conflict Using a Prefix:
Name conflicts in XML can easily be avoided using a name prefix.
This XML carries information about an HTML table, and a piece of
furniture:
<h:table>
<h:tr>
<h:td>Apples</h:td>
<h:td>Bananas</h:td>
</h:tr>
</h:table>
<f:table>
<f:name>African Coffee Table</f:name>
<f:width>80</f:width>
<f:length>120</f:length>
</f:table>
XML Namespaces - The xmlns Attribute:
When using prefixes in XML, a namespace for the prefix must be
defined.The namespace can be defined by an xmlns attribute in the start
tag of an element.
The namespace declaration has the following syntax. Xmlns :
prefix="URI".
<root>
<h:table xmlns : h="http://www.w3.org/TR/html4/">
<h:tr>
<h:td>Apples</h:td>
<h:td>Bananas</h:td>
</h:tr>
</h:table>
<f:table xmlns :f="https://www.w3schools.com/furniture">
<f:name>African Coffee Table</f:name>
<f:width>80</f:width>
<f:length>120</f:length> </f:table>
</root >
Uniform Resource Identifier (URI):
A Uniform Resource Identifier (URI) is a string of characters which
identifies an Internet Resource.
The most common URI is the Uniform Resource Locator (URL)
which identifies an Internet domain address.
 Another, not so common type of URI is the Uniform Resource
Name (URN)
Default Namespaces:
Defining a default namespace for an element saves us from using
prefixes in all the child elements. It has the following syntax:
xmlns="namespace URI"
This XML carries HTML table information:
<table xmlns="http://www.w3.org/TR/html4/">
<tr>
<td>Apples</td>
<td>Bananas</td>
</tr>
</table>
This XML carries information about a piece of furniture:
<table xmlns="https://www.w3schools.com/furniture">
<name>African Coffee Table</name>
<width>80</width>
<length>120</length>
</table>
Namespaces in Real Use:
XSLT is a language that can be used to transform XML documents into other formats.
The XML document below, is a document used to transform XML into HTML. The
namespace "http://www.w3.org/1999/XSL/Transform" identifies XSLT elements inside
an HTML document:
<html>
<body>
<h2>My CD Collection</h2>
<table border="1">
<tr>
<th style="text-align : left">Title</th>
<th style="text-align : left">Artist</th>
</tr>
<xsl : for-each select="catalog/cd">
<tr>
<td><xsl : value-of select="title"/></td>
<td><xsl : value-of select="artist"/></td>
</tr>
</xsl : for-each>
</table>
</body>
</html>
NAMESPACES AND VISUAL INHERITANCE:
Inheritance namespaces:
INTRODUCTION Namespaces:
 allow you to organize a large number of classes into a hierarchical
structure, which promotes code reuse and inheritance among classes.
Without namespaces, a project quickly becomes cluttered with classes
and other objects that are all on the same root namespace .
 Moving classes into namespaces that grow out of your own custom
root namespace allows you to keep classes separate.
WHAT IS A NAMESPACE?
 A namespace is a hierarchical structure for organizing classes. You can
create and use any namespace name that you want in your programs
 VISUAL INHERITANCE:
INTRODUCTION Visual inheritance is a new feature in VB.NET, which
allows you to reuse forms and controls between projects. Ideally, you
would compile a form or control as a component into a.DLL file, so it
could be shared. For demonstration purposes, I’ll just show you how to
inherit one form into another, within the same project.
 CREATING A REUSABLE FORM :Create a new Window
Application called Visual Inheritance. Add four controls to the default
Form1: a Label, a Text Box, and two Button controls. Now, double-click
the first button to open up the default event for the button and type the
following code: If TextBox1.Text.Length > 0 Then Msg Box(“Hello, “ &
TextBox1.Text & “!
REUSING THE REUSABLE FORM:
 Creating inherited forms is fairly easy, because VB.NET
has a menu item that does all the work for you. And actually,
you can do it yourself because the code that VB.
NET generates is extremely short, as you’ll see. Select
Project, Add Inherited Form.
The Add New Item dialog appears, with the Inherited Form
template already selected.
Schema Overview
Elements
Cardinality
Simple Types
Complex Types
Compositors
Global Types
Attributes
mixed Content
Overview:
An XML schema, commonly Known as an Xml Schema
Definition (XSD), formally describes what a given XML document
can contain, in the same way that a database schema describes the
date that can be contain in a database.
The XML schema defines the shape, or structure, of an XML
document, along with rules for data content and semantics such as
what fields an element an contain which sub elements it can
contain and how many item can be present.
It can also describe the type and values that can be placed into
each elements or attributes.
 The XML data constrains are called facets and include rules
such as min and max length.
XML schema abstract:
This report presents a series of BT user stories which chart our
experience in using XML Schema to describe messages exchanged by
Web services.
We explain how the value of a standard is greatly diminished, even
one as widely used as XML Schema, when it is implemented
inconsistently and offer best practices in conjunction with test cases
targeted at description as the best way of communicating which aspects
of schema maybe relied upon to interoperate.
structure of the global cache:
 the global cache consists of both WSDL documents and XML
schema documents
 the global cache of WSDL documents contains all WSDL
documents that have been imported into API Gateway
 The global cache of schema documents contains:
 user defined catalog-This contains all user defined schema
documents that have been imported into API Gateway.
 System catalog-This contains all common schemas that are
preloaded during API Gateway installation.
manage WSDL and XML schema documents:
Overview:
 WSDL files contain XML schemas that define the elements that
appear in SOAP messages. When you import a WSDL file to register a
web service, the imported WSDL file, and any XML schemas included in
the WSDL, are added to a global cache of WSDL and XML schema
documents.
 If you select a cached WSDL file or XML schema in a Schema
Validation filter, API Gateway can retrieve it from the cache instead of
fetching it from its original location. This improves the runtime
performance of the filter, and also ensures that an administrator has
complete control over the schemas used to validate messages.
 API Gateway can maintain multiple versions of WSDL and XML
schema documents in the global cache, and keeps an explicit version
history as they change over time.
document object model:
document object model (DOM) is a cross-platform and language-
independent interface that treats an XML or HTML documents as a
tree structure wherein each node is an object representing a part of
the document. The DOM represents a document with a logical tree.
each branch of the tree ends in a node, and each node contains
objects. DOM methods allow programmatic access to the tree; with
them one can change the structure, style or content of a document.
Nodes an have event handlers attached to them. Once an event is
triggered, the event handlers get executed
xslt (Extensible style sheet language transformations) is a language
for documents into other XML documents, or other formats such
tranforming XMl as HTML for web pages, plain text or XSL
formatting objects, which may sub sequency be converted to other
formats, such as PDF, Postscript and png
XSLT
Introduction:
oXsl(extensible style sheet language) is a styling language for XML
oxslt stands for XSL transformation
oThis tutorial will teach you how to use XSL t to transform XML
documents into other formats
XPATH
 XPATH(xml path language) is a query language for selecting
nodes from an xml document in addtion path maybe used to compute
values
The global cache consists of both WSDL documents and XML
schema documents
The global cache of WSDL documents contains all WSDL
documents that have been imported into API Gateway
The global cache of schema documents contains:
user defined catalog-This contains all user defined schema
documents that have been imported into API Gateway.
System catalog-This contains all common schemas that are
preloaded during API Gateway installation.
THANK YOU....

Contenu connexe

Tendances

WDSOA'05 Whitepaper: SOA and the Future of Application Development
WDSOA'05 Whitepaper: SOA and the Future of Application DevelopmentWDSOA'05 Whitepaper: SOA and the Future of Application Development
WDSOA'05 Whitepaper: SOA and the Future of Application DevelopmentRajesh Raheja
 
Web services concepts, protocols and development
Web services concepts, protocols and developmentWeb services concepts, protocols and development
Web services concepts, protocols and developmentishmecse13
 
Krishnan SQL Developer
Krishnan SQL DeveloperKrishnan SQL Developer
Krishnan SQL DeveloperKrishnan A
 
Web Service Presentation
Web Service PresentationWeb Service Presentation
Web Service Presentationguest0df6b0
 
Lessly_Resume_6y5m
Lessly_Resume_6y5mLessly_Resume_6y5m
Lessly_Resume_6y5mLessly Raja
 
WCF (Windows Communication Foundation_Unit_01)
WCF (Windows Communication Foundation_Unit_01)WCF (Windows Communication Foundation_Unit_01)
WCF (Windows Communication Foundation_Unit_01)Prashanth Shivakumar
 
cognitive_computing_messages_0601515
cognitive_computing_messages_0601515cognitive_computing_messages_0601515
cognitive_computing_messages_0601515Barbara Neumann
 
Oracle_EBS
Oracle_EBSOracle_EBS
Oracle_EBSbmujahid
 
SugarCRM Power Hour with Jeff Bickart; Module Builder and Studio a developers...
SugarCRM Power Hour with Jeff Bickart; Module Builder and Studio a developers...SugarCRM Power Hour with Jeff Bickart; Module Builder and Studio a developers...
SugarCRM Power Hour with Jeff Bickart; Module Builder and Studio a developers...Jeff Bickart
 
Develop ASP.Net Web Service
Develop ASP.Net Web Service Develop ASP.Net Web Service
Develop ASP.Net Web Service Safaa Farouk
 
saad_anees_cv2_new
saad_anees_cv2_newsaad_anees_cv2_new
saad_anees_cv2_newSaad Anees
 

Tendances (20)

WDSOA'05 Whitepaper: SOA and the Future of Application Development
WDSOA'05 Whitepaper: SOA and the Future of Application DevelopmentWDSOA'05 Whitepaper: SOA and the Future of Application Development
WDSOA'05 Whitepaper: SOA and the Future of Application Development
 
Introduction to Oracle
Introduction to OracleIntroduction to Oracle
Introduction to Oracle
 
Flex Rails Pres
Flex Rails PresFlex Rails Pres
Flex Rails Pres
 
Intro
IntroIntro
Intro
 
ForrestHouletteRevised
ForrestHouletteRevisedForrestHouletteRevised
ForrestHouletteRevised
 
Web services concepts, protocols and development
Web services concepts, protocols and developmentWeb services concepts, protocols and development
Web services concepts, protocols and development
 
Krishnan SQL Developer
Krishnan SQL DeveloperKrishnan SQL Developer
Krishnan SQL Developer
 
XML Unit 01
XML Unit 01XML Unit 01
XML Unit 01
 
Kma share point 2010 overview infra and dev technical info
Kma share point 2010 overview infra and dev   technical infoKma share point 2010 overview infra and dev   technical info
Kma share point 2010 overview infra and dev technical info
 
Web Service Presentation
Web Service PresentationWeb Service Presentation
Web Service Presentation
 
Lessly_Resume_6y5m
Lessly_Resume_6y5mLessly_Resume_6y5m
Lessly_Resume_6y5m
 
WCF (Windows Communication Foundation_Unit_01)
WCF (Windows Communication Foundation_Unit_01)WCF (Windows Communication Foundation_Unit_01)
WCF (Windows Communication Foundation_Unit_01)
 
cognitive_computing_messages_0601515
cognitive_computing_messages_0601515cognitive_computing_messages_0601515
cognitive_computing_messages_0601515
 
Web Services
Web ServicesWeb Services
Web Services
 
Oracle_EBS
Oracle_EBSOracle_EBS
Oracle_EBS
 
Ashish tripath
Ashish tripathAshish tripath
Ashish tripath
 
Web Services ppt
Web Services pptWeb Services ppt
Web Services ppt
 
SugarCRM Power Hour with Jeff Bickart; Module Builder and Studio a developers...
SugarCRM Power Hour with Jeff Bickart; Module Builder and Studio a developers...SugarCRM Power Hour with Jeff Bickart; Module Builder and Studio a developers...
SugarCRM Power Hour with Jeff Bickart; Module Builder and Studio a developers...
 
Develop ASP.Net Web Service
Develop ASP.Net Web Service Develop ASP.Net Web Service
Develop ASP.Net Web Service
 
saad_anees_cv2_new
saad_anees_cv2_newsaad_anees_cv2_new
saad_anees_cv2_new
 

Similaire à Unit 3 WEB TECHNOLOGIES

Web based application of Live Scoreboard using XML.
Web based application of Live Scoreboard using XML.Web based application of Live Scoreboard using XML.
Web based application of Live Scoreboard using XML.Uttam Kumar
 
Investigating Soap and Xml Technologies in Web Service
Investigating Soap and Xml Technologies in Web Service  Investigating Soap and Xml Technologies in Web Service
Investigating Soap and Xml Technologies in Web Service ijsc
 
ITEC 610 Assingement 1 Essay
ITEC 610 Assingement 1 EssayITEC 610 Assingement 1 Essay
ITEC 610 Assingement 1 EssaySheena Crouch
 
XML Tutor maXbox starter27
XML Tutor maXbox starter27XML Tutor maXbox starter27
XML Tutor maXbox starter27Max Kleiner
 
XML - Extensive Markup Language
XML - Extensive Markup LanguageXML - Extensive Markup Language
XML - Extensive Markup Languagewahidullah mudaser
 
IT6801-Service Oriented Architecture
IT6801-Service Oriented ArchitectureIT6801-Service Oriented Architecture
IT6801-Service Oriented ArchitectureMadhu Amarnath
 
xml and xhtml.pptx
xml and xhtml.pptxxml and xhtml.pptx
xml and xhtml.pptxssusere16bd9
 
Xml and xml processor
Xml and xml processorXml and xml processor
Xml and xml processorHimanshu Soni
 
Xml and xml processor
Xml and xml processorXml and xml processor
Xml and xml processorHimanshu Soni
 
Formal Models and Algorithms for XML Data Interoperability
Formal Models and Algorithms for XML Data InteroperabilityFormal Models and Algorithms for XML Data Interoperability
Formal Models and Algorithms for XML Data InteroperabilityThomas Lee
 
Xml programming language myassignmenthelp.net
Xml programming  language myassignmenthelp.netXml programming  language myassignmenthelp.net
Xml programming language myassignmenthelp.netwww.myassignmenthelp.net
 

Similaire à Unit 3 WEB TECHNOLOGIES (20)

Web based application of Live Scoreboard using XML.
Web based application of Live Scoreboard using XML.Web based application of Live Scoreboard using XML.
Web based application of Live Scoreboard using XML.
 
Xml
XmlXml
Xml
 
Investigating Soap and Xml Technologies in Web Service
Investigating Soap and Xml Technologies in Web Service  Investigating Soap and Xml Technologies in Web Service
Investigating Soap and Xml Technologies in Web Service
 
ITEC 610 Assingement 1 Essay
ITEC 610 Assingement 1 EssayITEC 610 Assingement 1 Essay
ITEC 610 Assingement 1 Essay
 
01 Xml Begin
01 Xml Begin01 Xml Begin
01 Xml Begin
 
XML Tutor maXbox starter27
XML Tutor maXbox starter27XML Tutor maXbox starter27
XML Tutor maXbox starter27
 
XML Introduction
XML IntroductionXML Introduction
XML Introduction
 
XML - Extensive Markup Language
XML - Extensive Markup LanguageXML - Extensive Markup Language
XML - Extensive Markup Language
 
Full xml
Full xmlFull xml
Full xml
 
IT6801-Service Oriented Architecture
IT6801-Service Oriented ArchitectureIT6801-Service Oriented Architecture
IT6801-Service Oriented Architecture
 
xml and xhtml.pptx
xml and xhtml.pptxxml and xhtml.pptx
xml and xhtml.pptx
 
XML1.pptx
XML1.pptxXML1.pptx
XML1.pptx
 
Xml and xml processor
Xml and xml processorXml and xml processor
Xml and xml processor
 
Xml and xml processor
Xml and xml processorXml and xml processor
Xml and xml processor
 
Basic concepts of xml
Basic concepts of xmlBasic concepts of xml
Basic concepts of xml
 
dotNETfinal.ppt
dotNETfinal.pptdotNETfinal.ppt
dotNETfinal.ppt
 
dotNETfinal.ppt
dotNETfinal.pptdotNETfinal.ppt
dotNETfinal.ppt
 
Formal Models and Algorithms for XML Data Interoperability
Formal Models and Algorithms for XML Data InteroperabilityFormal Models and Algorithms for XML Data Interoperability
Formal Models and Algorithms for XML Data Interoperability
 
Why XML is important for everyone, especially technical communicators
Why XML is important for everyone, especially technical communicatorsWhy XML is important for everyone, especially technical communicators
Why XML is important for everyone, especially technical communicators
 
Xml programming language myassignmenthelp.net
Xml programming  language myassignmenthelp.netXml programming  language myassignmenthelp.net
Xml programming language myassignmenthelp.net
 

Dernier

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 

Dernier (20)

Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 

Unit 3 WEB TECHNOLOGIES

  • 1. NAME OF STAFF :S.SAYI PRIYASS NAME OF STUDENT :K.TAMIL MOZHIYAL REGISTER NUMBER :CB17S 250446 CLASS :III-BCA-B BATCH :2017-2020 YEAR :2020 SUBJECT CODE :MCA511
  • 2. WHAT IS WEB SERVICES  “The World Wide Web is more and more used for application to application communication. The programmatic interfaces made available are referred to as Web services” A Web service is a software system designed to support interoperable machine-to-machine interaction over a network. It has an interface described in a machine- format processble (specifically WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards.”
  • 3. INTRODUCATION  Contemporary Service-Oriented Architectures (SOA) represents an architecture that promotes service-orientation through the use of Web services.  All functions, or services, are defined using a description language and have invokable interface that are called to perform business processes. • Client • Third party system • Legacy • Resources • Modern Moves
  • 4. Web service example A stock quote service. An application requires the current value of a stock, the web service returns it. A route finder for delivery of goods. Given an initial and a final location, find the most cost- effective delivery route. A weather service, a map service, a web search service… any composition of Web services.
  • 5. Dickson Chiu 2006 Web Service-5 UDDI Registry WSDL Web Service SOAP Service Consumer Points to description Describes ServiceFinds Service Communicates with XML Messages SOA Technologies
  • 6. Why web services for important From business standpoint – Integration • Within an organization • Between companies • Allows time/cost efficiencies – Purchase orders – Answering inquiries – Processing shipment requests • Do this without locking in to a single partner.
  • 7. Issues distributed computing platform Platform Dependency Management and Optimization What do 99,99% availability mean? How can I guarantee 3 seconds response time? Who owns the Log? Who owns the context? Load Balancing, Caching, Replication? Change a Process: All or Nothing Whole system fails when a component is upgraded Versioning, Schema Evolution while process runs
  • 8. How do we send a Java double value to a web service using XML? Is scientific notation allowed?  How large can the value be? Etc. What if we want to send an object? And what if the object contains references to other objects?
  • 9. Web services enterprises The emergence of Web services is transforming traditional enterprises. However, the industry hype surrounding these technologies obscures the understanding of their impact and implications to enterprises.  The challenges and opportunities they present, how they fit into the enterprise stack, how they relate to the business and IT layers of the enterprise, as well as the existing and emerging standards and their relevance.
  • 10. XML fundamentals XML XML Fundamentals:  In this first of three chapters in Part One, we start with a discussion of the fundamentals of the extensible Markup Language (XML), the basic technology on which Web services are based.  From network protocols up the stack to back-end databases, XML in all its forms has had a commoditizing effect on enterprise computing systems and being both platform and language independent is a natural choice for the level of interoperability required of Web services.
  • 11. XML fundamentals XML What is XML? XML stands for Extensible Markup Language. XML is a markup language like HTML and not a programming language. It uses tags, just like HTML. XML is not a replacement for HTML. XML was created to transport or store data. XML is very easy to learn compared to learn any programming language.
  • 12. Some XML History: XML is an application profile of an ISO standard SGML, and most of XML comes from SGML unchanged. XML version 1.0 was defined in 1998. It had many minor revisions since then XML 1.0 is the recommended version. XML version 1.1 was published in February of 2004, the same day as version 1.0’s third edition. 1.0 is generally suggested over 1.1 unless the project needs specific features of 1.1. There have been discussions of an XML 2.0, although no organization has announced plans for work on such a project.
  • 13. XML vs. HTML: There is no comparison between HTML and XML.  They are completely different and are used in different situations. XML is a Data Interchange Format; it’s a way to structure and store data and also to transport data. XML was created to transport and store data and is more behind the scenes.XML has no pre-defined tags. HTML is used to display data in a browser and focus on physical presentation. HTML has pre-defined tags.
  • 14. Document structure In the XML file structure, the first line is the declaration that contains the document information like version information, character set, etc. Declaration must come first in the document. Every opening tag should have a closing tag. Each XML document has a root element. Root element contains the child elements which can in turn have sub-child elements. All the sub-child elements in a child element are called the siblings of each other. Attributes like gender=”male” can also be given to the tags.
  • 15. WEB SERVICES: XML is a standard for data mark-up backed by the World Wide Web Consortium, which has been branded "the universal format for structured documents and data on the Web.“ The entire XML suite of standards, models, and processing technologies have been under development since 1998 with the initial XML specification, and has since been augmented by several additional supporting standards and notes that have brought XML to its current rich state. In fact, though XML is undeniably a richly specified technology, it has retained its simplicity and the entire
  • 16. XML is for Structuring Data:  Structured data includes things like spreadsheets, address books, configuration parameters, financial transactions, and technical drawings. XML is a set of rules for designing text formats that support the developer in creating structured data. Though it vaguely resembles source code, XML is not a programming language, but it does make it easy for a computer to generate data, read data, and ensure that the data structure is unambiguous. XML avoids common pitfalls in language design. It is extensible, platform-independent, supports internationalization and localization, and is fully Unicode-compliant.
  • 17. XML Resembles HTML: o Like HTML, XML makes use of tags (words surrounded by angle brackets, "<" and ">") and attributes (of the form name="value"). While HTML specifies what each tag and attribute means and often how the text between them will render in a browser, XML uses the tags only to delimit pieces of data and leaves the interpretation of the data completely to the application that reads it.
  • 18. XML is Human Readable, but Humans Shouldn't Read It:  Programs that produce structured data often store that data on disk, using either a binary or text format. An advantage of a textual format is that it allows people, if necessary, to look at the data without the program that produced it, using tools like text editors. XML files are text files that people shouldn't have to read, but may read as and when the need arises. Care must be taken when manually editing XML since its rules are strict. The official XML specification forbids applications from trying to second-guess the creator of a broken XML file; if the file is broken, an application has to stop and report an error.
  • 19. XML is Verbose:  Since XML is a textual format and uses tags to delimit the data, XML files are nearly always larger than comparable binary formats. That was a conscious decision by the designers of XML. The advantages of a text format are evident, and the disadvantages can usually be compensated at a different level by compression applications. XML is a Suite of Technologies:  XML 1.0 is the specification that defines what "tags" and "attributes" are. Beyond that specification, the XML family is a growing set of modules that offer useful services to accomplish important and frequently demanded tasks.
  • 20. XML is Modular: XML allows you to define a new document format by combining and reusing other formats. Since two formats developed independently may have elements or attributes with the same name, care must be taken when combining those formats. To eliminate name confusion when combining formats, XML provides a namespace mechanism that is supported in all XML-based technologies. XML is License-Free, Platform-Independent, and Well- Supported: Basing Web services on XML is similar to basing a database strategy on SQL you still have to build your own database, programs, and procedures that manipulate it, but there are many tools and commodity components available to help. since XML is license-free, Web services can be built without incurring royalty payments.
  • 21. What is namespaces: •As an example, let's assume we have an RDB with a table of the following structure (employee Table, section Table). What kind of SQL statement would you create to obtain a list of Employee ID, Employee Department Name, and Employee Name? If we merged employee Table and section Table with the sec ID column, then we would be able to obtain a list of employee IDs, employee departments and employee names. However, since the name column and sec ID column exist in both tables, we would have to designate the table name before the name and sec ID columns, or designate the alias of the table in order to clarify the table of the name and sec ID columns in question.
  • 22.
  • 23. Solving the Name Conflict Using a Prefix: Name conflicts in XML can easily be avoided using a name prefix. This XML carries information about an HTML table, and a piece of furniture: <h:table> <h:tr> <h:td>Apples</h:td> <h:td>Bananas</h:td> </h:tr> </h:table> <f:table> <f:name>African Coffee Table</f:name> <f:width>80</f:width> <f:length>120</f:length> </f:table>
  • 24. XML Namespaces - The xmlns Attribute: When using prefixes in XML, a namespace for the prefix must be defined.The namespace can be defined by an xmlns attribute in the start tag of an element. The namespace declaration has the following syntax. Xmlns : prefix="URI". <root> <h:table xmlns : h="http://www.w3.org/TR/html4/"> <h:tr> <h:td>Apples</h:td> <h:td>Bananas</h:td> </h:tr> </h:table> <f:table xmlns :f="https://www.w3schools.com/furniture"> <f:name>African Coffee Table</f:name> <f:width>80</f:width> <f:length>120</f:length> </f:table> </root >
  • 25. Uniform Resource Identifier (URI): A Uniform Resource Identifier (URI) is a string of characters which identifies an Internet Resource. The most common URI is the Uniform Resource Locator (URL) which identifies an Internet domain address.  Another, not so common type of URI is the Uniform Resource Name (URN)
  • 26. Default Namespaces: Defining a default namespace for an element saves us from using prefixes in all the child elements. It has the following syntax: xmlns="namespace URI" This XML carries HTML table information: <table xmlns="http://www.w3.org/TR/html4/"> <tr> <td>Apples</td> <td>Bananas</td> </tr> </table> This XML carries information about a piece of furniture: <table xmlns="https://www.w3schools.com/furniture"> <name>African Coffee Table</name> <width>80</width> <length>120</length> </table>
  • 27. Namespaces in Real Use: XSLT is a language that can be used to transform XML documents into other formats. The XML document below, is a document used to transform XML into HTML. The namespace "http://www.w3.org/1999/XSL/Transform" identifies XSLT elements inside an HTML document: <html> <body> <h2>My CD Collection</h2> <table border="1"> <tr> <th style="text-align : left">Title</th> <th style="text-align : left">Artist</th> </tr> <xsl : for-each select="catalog/cd"> <tr> <td><xsl : value-of select="title"/></td> <td><xsl : value-of select="artist"/></td> </tr> </xsl : for-each> </table> </body> </html>
  • 28. NAMESPACES AND VISUAL INHERITANCE: Inheritance namespaces: INTRODUCTION Namespaces:  allow you to organize a large number of classes into a hierarchical structure, which promotes code reuse and inheritance among classes. Without namespaces, a project quickly becomes cluttered with classes and other objects that are all on the same root namespace .  Moving classes into namespaces that grow out of your own custom root namespace allows you to keep classes separate. WHAT IS A NAMESPACE?  A namespace is a hierarchical structure for organizing classes. You can create and use any namespace name that you want in your programs
  • 29.  VISUAL INHERITANCE: INTRODUCTION Visual inheritance is a new feature in VB.NET, which allows you to reuse forms and controls between projects. Ideally, you would compile a form or control as a component into a.DLL file, so it could be shared. For demonstration purposes, I’ll just show you how to inherit one form into another, within the same project.  CREATING A REUSABLE FORM :Create a new Window Application called Visual Inheritance. Add four controls to the default Form1: a Label, a Text Box, and two Button controls. Now, double-click the first button to open up the default event for the button and type the following code: If TextBox1.Text.Length > 0 Then Msg Box(“Hello, “ & TextBox1.Text & “!
  • 30. REUSING THE REUSABLE FORM:  Creating inherited forms is fairly easy, because VB.NET has a menu item that does all the work for you. And actually, you can do it yourself because the code that VB. NET generates is extremely short, as you’ll see. Select Project, Add Inherited Form. The Add New Item dialog appears, with the Inherited Form template already selected.
  • 31. Schema Overview Elements Cardinality Simple Types Complex Types Compositors Global Types Attributes mixed Content
  • 32. Overview: An XML schema, commonly Known as an Xml Schema Definition (XSD), formally describes what a given XML document can contain, in the same way that a database schema describes the date that can be contain in a database. The XML schema defines the shape, or structure, of an XML document, along with rules for data content and semantics such as what fields an element an contain which sub elements it can contain and how many item can be present. It can also describe the type and values that can be placed into each elements or attributes.  The XML data constrains are called facets and include rules such as min and max length.
  • 33. XML schema abstract: This report presents a series of BT user stories which chart our experience in using XML Schema to describe messages exchanged by Web services. We explain how the value of a standard is greatly diminished, even one as widely used as XML Schema, when it is implemented inconsistently and offer best practices in conjunction with test cases targeted at description as the best way of communicating which aspects of schema maybe relied upon to interoperate.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38. structure of the global cache:  the global cache consists of both WSDL documents and XML schema documents  the global cache of WSDL documents contains all WSDL documents that have been imported into API Gateway  The global cache of schema documents contains:  user defined catalog-This contains all user defined schema documents that have been imported into API Gateway.  System catalog-This contains all common schemas that are preloaded during API Gateway installation.
  • 39.
  • 40.
  • 41.
  • 42. manage WSDL and XML schema documents: Overview:  WSDL files contain XML schemas that define the elements that appear in SOAP messages. When you import a WSDL file to register a web service, the imported WSDL file, and any XML schemas included in the WSDL, are added to a global cache of WSDL and XML schema documents.  If you select a cached WSDL file or XML schema in a Schema Validation filter, API Gateway can retrieve it from the cache instead of fetching it from its original location. This improves the runtime performance of the filter, and also ensures that an administrator has complete control over the schemas used to validate messages.  API Gateway can maintain multiple versions of WSDL and XML schema documents in the global cache, and keeps an explicit version history as they change over time.
  • 43. document object model: document object model (DOM) is a cross-platform and language- independent interface that treats an XML or HTML documents as a tree structure wherein each node is an object representing a part of the document. The DOM represents a document with a logical tree. each branch of the tree ends in a node, and each node contains objects. DOM methods allow programmatic access to the tree; with them one can change the structure, style or content of a document. Nodes an have event handlers attached to them. Once an event is triggered, the event handlers get executed xslt (Extensible style sheet language transformations) is a language for documents into other XML documents, or other formats such tranforming XMl as HTML for web pages, plain text or XSL formatting objects, which may sub sequency be converted to other formats, such as PDF, Postscript and png
  • 44. XSLT Introduction: oXsl(extensible style sheet language) is a styling language for XML oxslt stands for XSL transformation oThis tutorial will teach you how to use XSL t to transform XML documents into other formats
  • 45.
  • 46. XPATH  XPATH(xml path language) is a query language for selecting nodes from an xml document in addtion path maybe used to compute values The global cache consists of both WSDL documents and XML schema documents The global cache of WSDL documents contains all WSDL documents that have been imported into API Gateway The global cache of schema documents contains: user defined catalog-This contains all user defined schema documents that have been imported into API Gateway. System catalog-This contains all common schemas that are preloaded during API Gateway installation.