Web Service Flashcards
A set of clearly defined methods of communication between various components.
API
Refer to a published document that defines how these methods of communication can be used.
API
Refers to the actual implementation of an interface that other app/programs can call on.
API
API is also used informally to refer to the ____________ that describes the usage of this interface.
document
Web Services involve __________________
network communication
Web Services are APIs designed to support interoperable _______________________.
machine-machine interaction over a network
WS expose services to clients over a ________, using a uniform interface.
network
Since many systems do not inherently interoperate well, thus the need for _______________.
APIs/web services.
2 types of Web Service Implementations
- Simple Object Access Protocol (SOAP)
- Representational State Transfer (REST)
This web service usage revolves around the exchange of XML messages.
SOAP
True or False: SOAP is transport agnostic.
True
In SOAP web services, req/res formats are formally defined in ____________________ files.
Web Service Definition (WSD) files.
WSDs are written in Web Service Definition Language (WSDL), which has an _________________.
XML-like structure.
The API for SOAP.
WSD - Web Service Definition
Discovery services use the __________________________ framework for sharing and finding WSDs.
Universal Description, Discovery, and Integration (UDDI)
REST
Representational State Transfer
REST uses the HTTP/HTTPS protocol for message _________.
transport.
True or False: Request/response payloads for RESTful web services can use any data format.
True
True or False: RESTful web services are stateful.
False, stateless.
RESTful Web Services use HTTP, and thus use ________.
HTTP urls.
6 constraints of designing RESTful ws that limit the ways the server can process and respond to requests.
- Client-Server
- Stateless
- Cache
- Uniform Contract
- Layered System
- Code-on-Demand* (optional)
_____________ is separated into consumer and service logic.
Solution Logic
Consumers invoke services using a published _____________.
technical contract.
Each request sent and processed is ________________. It doesn’t depend on context from an earlier message.
self-contained