Web Services Flashcards

1
Q

What does a web service provide?

A

An interface that clients can access over the internet.

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

What is a web service?

A

An application specific client-server paradigm over the Internet.

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

What is a URN?

A

Uniform Resource Name

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

What does the SOAP protocol do?

A

Specifies rules on how to use XML to package messages.

Defines: How msgs are exchanged

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

Why is SOAP independent of communication protocols?

A

To be more flexible for the heterogeneity of networks.

SOAP messages do not contain endpoints.

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

What does RESTful stand for?

A

REpresentational State Transfer

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

Why do we need RESTful?

A

To fix the problem of clients needing to be updated every time an interface changes.

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

What does RESTful focus on?

A

Resources rather than operations.

Accessed by URI from a directory structure.

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

What does RESTful use?

A

A minimal set of HTTP operations for flexibility.

GET, PUT, POST, DELETE

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

Why does RESTful say to be stateless?

A

Better scaling - clients send complete, independent messages

No concept of sessions - less memory burden on servers.

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

What are the data formats supported by RESTful?

A

XML, JSON, or both

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