Skip to content

Home · Blog · Web services: what they are and why sites need them

Send a request

New format

Web services: what they are and why sites need them

A web service is a programmatic interface over the network: one resource sends or receives data under clear rules; another consumes it. For the user it’s the “magic” of a tour aggregator or checkout on a site; for engineering — a contract between systems.

Below: the architecture idea, where services get used, and what business should watch. We don’t inflate outdated UDDI/SOAP accents from 2000s guides: today it’s more often REST, JSON, and ready APIs for payments, delivery, and CRM.

Share
Telegram

What a web service does

A service has an address (endpoint), request/response rules, and usually identity (key, OAuth). A client (your site, mobile app, another server) calls a method and gets a structured reply.

Classic example: a flight or tour aggregator asks suppliers for availability and prices via their APIs and shows a combined listing — without manually copying every site.

Players, simplified:

  • data/operations provider (executor)
  • consumer (your site, app, partner)
  • contract: format, errors, limits, authorization

Test yourself

Mini quiz: web services

Two checks.

1 A web service is primarily…
2 For new e-commerce you more often start with…

Architecture without UDDI nostalgia

Under the hood it’s always network and protocols (TCP/IP, HTTP/HTTPS). Data is more often packed as JSON; XML/SOAP stay where the counterparty requires them.

Old roundups talked a lot about UDDI catalogs and WSDL. For small and mid-size digital what matters more is clear API docs, a sandbox, stable versions, and error monitoring — not 2000s registry theory.

What to check when choosing/ordering an integration:

  • current documentation and examples exist
  • request limits and SLA
  • how prices and inventory refresh
  • key security and logging
  • what happens when the provider is down

HTTP protocol

Practice

Before an API integration

Contract and monitoring beat acronyms.

0 / 7 done

Where they’re used

Payments and fiscalization, delivery and tracking, CRM and email, telephony, maps and geocoding, marketplaces and product feeds, exchange with 1C/ERP — a typical modern site stack.

Business benefits:

  • less manual data moving
  • one source of truth for inventory and statuses
  • faster to connect new sales channels
  • you can change the front without breaking accounting if the API contract stays stable

Online payment on the site YML file for Market

FAQ

Is a web service the same as a website?

No. A site is an interface for people. A service is an interface for programs (often JSON/XML over HTTP). Sometimes a service also has browser docs.

What is an API?

A set of methods and exchange formats. In everyday talk “web service” often means an HTTP API.

Why does an online store need this?

Payments, delivery, inventory, Market/feeds, CRM, telephony — almost everything connects via services, not manual copy-paste.

Is SOAP still alive?

It still appears in enterprise stacks. For new integrations REST/JSON is more common. The choice depends on the counterparty, not article fashion.

What is risky about integrations?

Third-party API outages, format changes, keys in public code, inventory/price drift. You need monitoring, access rights, and clear data ownership.

Is an aggregator a web service?

An aggregator is a product. It usually calls supplier services, collects data, and shows a storefront to the user.

Do you need your own service from scratch?

Not always. Ready APIs (payments, email, maps) often suffice. Build your own when logic is unique or no fit provider exists.

Integrations are “just glue” — until the payment API goes dark?

We’ll map the business scenario, contract, and failure plan — docs and monitoring before trendy acronyms.

Discuss the task