Webservices Flashcards

1
Q

What is a

Web Service

A

A standard representation of a computational or information resource that can be used by other programs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are Two Primary Approaches for developing web services?

A
  • Service-Oriented Architecture
  • RESTful Web Services
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Service-Oriented Architecture (SOA)

There are 4 points.

A
  • Service providers design and implement services, and they specify the interface for these services.
  • An accessible service registry maintains information about published services.
  • Clients discover a service and locate the service provider.
  • Post discovery, clients can bind to a service using standard service protocols.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What XML technologies are service-oriented architectures governed by?

A
  • SOAP
  • WSDL
  • WS-BPEL
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does REST stand for?

A

Representation State Transfer Architecture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Briefly describe

RESTful Architecture

A

In REST, resources are transferred between clients and servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an

Example of RESTful Architecture

A

The Web is an example of RESTful architecture.

Web pages are resources with URLs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the

Fundamental Element in RESTful Architecture

A

A resource

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a resource’s unique identifier?

A

A URL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the

4 Associated Operations of Resources

A
  • Create: Bring the resource into existence
  • Read: Return a representation of the resource
  • Update: Change the value of the resource
  • Delete: Make the resource inaccessible
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The corresponding actions for CRUD for web protocols HTTP and HTTPs

A
  • POST: Create a resource
  • GET: Read a resource and render it in the client
  • PUT: Update an existing resource
  • DELETE: Remove the resource
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Limitations of RESTful

A
  • A service is complex and is not a simple resource.
  • There is no standard for RESTful interface description.
  • The service provider has to implement its own quality of service and reliability and cannot rely on standards.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly