Protocols
24.11.2026
Standardized rules for communication between systems
After this lecture, you should be able to:
GET, POST, PUT, and DELETE$filter, $orderby, $top, and $expandA brief history of integration protocols
| Protocol | Year | Key idea |
|---|---|---|
| RPC | 1980s | execute procedures on remote systems |
| CORBA | 1991 | language-independent distributed objects (OMG) |
| SOAP | 1998 | standardized XML web services (W3C) |
| REST | 2000 | architectural style based on the web and HTTP |
| OData | 2007 | REST plus standardized querying and metadata |
Remote Procedure Call (1980s)
Common Object Request Broker Architecture (1991)
Both RPC and CORBA are powerful but complex to implement and maintain in large-scale, heterogeneous environments.
Simple Object Access Protocol
SOAP is robust for enterprise applications but heavy and complex to use.
Representational State Transfer
REST’s simplicity made it the dominant approach for modern web APIs.
Open Data Protocol
$filter, $orderby, and $expandFormal protocol, architectural style, and data protocol
| Aspect | SOAP | REST | OData |
|---|---|---|---|
| Type | formal protocol | architectural style | protocol on top of REST |
| Message format | XML | JSON, XML, … | JSON over HTTP |
| Contract | WSDL | documentation (e.g. OpenAPI) | $metadata document |
| Querying | operation-based | custom query parameters | standardized ($filter, …) |
| Strengths | security, reliability, transactions | simplicity, scalability | rich querying, metadata |
| Typical use | finance, healthcare, government | modern web APIs | enterprise data, BI |
OData extends REST wherever data-centric applications need more than basic CRUD.
An architectural style, not a protocol
REST is an architectural style, not a protocol specification
Foundations of RESTful services
The uniform interface
Accept header)A product catalog service
GET /products — retrieve a list of productsGET /products/1 — retrieve the product with ID 1POST /products — create a new product
PUT /products/1 — update the product with ID 1
DELETE /products/1 — delete the product with ID 1Retrieving one product
The
Acceptheader requests a JSON representation of the resource.
Step 1: Interacting with RESTful APIs
/posts/1)GETGET404 Not FoundStep 2: Explore popular REST APIs like the GitHub REST API or the OpenWeatherMap API
Querying and metadata
?filter=...) lead to inconsistent APIs$filter, $orderby, $top, $skip, $expand$metadata document describing entity types, relationships, and data typesRelationships, pagination, and batching
$expand retrieves related data in a single call$top, $skip, and $orderby$batch groups operations into one HTTP callStandardized URI conventions
| Option | Purpose | Example |
|---|---|---|
$filter |
filter results | $filter=price gt 100 |
$orderby |
sort results | $orderby=name desc |
$top |
limit the result size | $top=10 |
$skip |
skip results (pagination) | $skip=20 |
$expand |
include related entities | $expand=category |
$metadata |
describe the data model | GET /odata/v1/$metadata |
$batch |
group multiple operations | POST /odata/v1/$batch |
Standardized options eliminate custom query logic and make data services consistent.
$metadata lets clients understand the data model dynamically$expand fetches related entities in a single request$top, $skip, and $orderby behave uniformly across services$batch reduces network overhead for multiple operationsWorking with OData services
Combine query options such as
$filter,$orderby, and$expandin your requests.
GET, POST, PUT, DELETE$metadata, $expand, and $batch solve REST’s shortcomingsWhy are protocols important for systems integration?
When would you use SOAP, REST, or OData?
Systems Integration | Protocols | Prof. C. Drumm