Web Services Flashcards
1
Q
What does SOAP stand for?
A
Simple Object Access Protocol
2
Q
What does REST stand for?
A
REpresentational State Transfer
3
Q
What does a SOAP interaction consist of?
A
- Wire protocol
- Marshalling
- Endpoint addresses
4
Q
What are the advantages of SOAP?
A
- Leverages XML
- Uses HTTP and gets secure for free from HTTPS
- Makes features accessible across the web
- Underlying middleware for web services
- Fast and non-blocking (asynchronous)
5
Q
What are the advantages of REST?
A
- Encapsulates a fragment of state within the document
- Cacheable
- Uniform way to interact
- Layered so can pass documents through to other services
6
Q
What are the disadvantages of REST?
A
- May not be applicable to some applications
- Could be considered generic
7
Q
What are the 6 RESTful principles?
A
- Client-server
- Stateless
- Uniform
- Cacheable
- Layered
- Code on demand