Skip to content
BENIBIX Learn

SOAP (Simple Object Access Protocol)

Development🔌 APIsAPI Architecture Styles

Also known as SOAP, SOAP API, SOAP Web Service

An older kind of web API. Every message is strict XML in an envelope.

Think of it like

Think of it like a formal letter with a fixed layout. Every part must be in its place.

Example

Lucy's bank still sends payment files over a SOAP service. Each request is a long XML envelope, even to fetch one balance.

Why it matters

Many banks, airlines and government systems still speak SOAP. You may need to call one.

Definition

SOAP is an older kind of web API where every message is strict XML. Each message has an envelope, an optional header and a body. A WSDL file lists every call the service offers. It has its own rules for safety and errors, which banks and big firms liked. Most new APIs use REST or gRPC instead. But many SOAP services are still running.

Common mistake

Building a SOAP request by gluing strings together. Use a SOAP library that reads the WSDL file for you.

Key takeaways

  1. 1
    Strict XML. Envelope, header, body.
  2. 2
    Described by WSDL. Every call listed.
  3. 3
    Still in big systems. Banks and government.