Web Services Flashcards
What does a web service provide?
An interface that clients can access over the internet.
What is a web service?
An application specific client-server paradigm over the Internet.
What is a URN?
Uniform Resource Name
What does the SOAP protocol do?
Specifies rules on how to use XML to package messages.
Defines: How msgs are exchanged
Why is SOAP independent of communication protocols?
To be more flexible for the heterogeneity of networks.
SOAP messages do not contain endpoints.
What does RESTful stand for?
REpresentational State Transfer
Why do we need RESTful?
To fix the problem of clients needing to be updated every time an interface changes.
What does RESTful focus on?
Resources rather than operations.
Accessed by URI from a directory structure.
What does RESTful use?
A minimal set of HTTP operations for flexibility.
GET, PUT, POST, DELETE
Why does RESTful say to be stateless?
Better scaling - clients send complete, independent messages
No concept of sessions - less memory burden on servers.
What are the data formats supported by RESTful?
XML, JSON, or both