Web Services Flashcards

1
Q

web services

A
  • implementation of business logic that operates independent of other services
  • consumer/provider applications that interact through HTTP protocol
  • exchange data using some structured language
    • SOAP, XML, JSON, etc.
  • programs developed in different languages can interact
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

SOAP

A
  • Messages structured in XML
  • Messages sent with POST
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

REST

A
  • Use various HTTP methods
  • Support mutiple data formats
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

SOA

A
  • Service-oriented architecture
  • Architectural principles where programs consist of
    • Small services with well-defined interfaces
    • Services are loosely coupled
  • Implemented with web services
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

WSDL

A
  • Web Service Definition Language
  • defines the contract for a SOAP service
  • implemented with XML
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

WADL

A
  • Web Application Definition Language
  • defines the contract of a REST service
  • implemented with XML
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

XML

A
  • extensible markup language
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

XSD

A
  • XML schema definition
  • Refers to:
    1. a schema used by a particular XML document
    2. the language in which said schemas are written
  • XSD files have an .xsd ending
  • XSD files are also written in XML (using the XSD language)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

XML namespace

A
  • an approach to preventing name conflicts by differentating between attributes with the same names
  • achieved through a prefix
  • Example:
    New York
  • targetNamespace
    • an arbitrary unique identifier for a schema
    • typically the URL of the company
  • prefix
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

xmlns

A
  • a pre-defined XML attribute that is used to define a namespace prefix
  • Syntax:
    xmlns: pre=”www.website.com”
  • where pre is the prefix that will be used throughout the XML file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly