SOAP
Quick answer
Use SOAP when integrating with systems or middleware that require it, or where a formal contract and WS-* capabilities matter.
Key takeaways
- SOAP services exchange XML messages defined by a WSDL contract, offering strong typing and formal contracts suited to enterprise…
- SOAP services are configured and managed with SOAMANAGER (endpoints, bindings, security).
- Format: SOAP is XML; OData is JSON.
- Watch out: Choosing SOAP for new lightweight integrations (prefer OData).
What SOAP provides
SOAP services exchange XML messages defined by a WSDL contract, offering strong typing and formal contracts suited to enterprise SOA. SAP can expose function modules/BAPIs as SOAP services (via SOAMANAGER) and consume external SOAP services. Middleware like SAP PI/PO heavily used SOAP.
SOAP vs REST/OData
- Format: SOAP is XML; OData is JSON.
- Contract: SOAP has a formal WSDL; OData has a metadata document.
- Style: SOAP is operation-centric; OData is resource-centric.
- Direction: new work favours OData; SOAP remains for legacy SOA.
Configuring SOAP in SAP
SOAP services are configured and managed with SOAMANAGER (endpoints, bindings, security). Both provider (SAP exposing a service) and consumer (SAP calling one) scenarios are supported. Security (WS-Security, transport encryption) and correct WSDL handling are key.
When to use it
Use SOAP when integrating with systems or middleware that require it, or where a formal contract and WS-* capabilities matter. For new, lightweight or UI integrations, prefer REST/OData.
Common pitfalls
- Choosing SOAP for new lightweight integrations (prefer OData).
- WSDL/contract mismatches.
- Weak SOAP security configuration.
Want to learn this properly?
Our live, instructor-led SAP Training covers this hands-on, with real projects and a certification path.
Check your understanding
Which statement is true of SOAP?
- A. Security best practice protects SAP and its data through least-privilege access, separation of duties, secure…
- B. SAP can expose function modules/BAPIs as SOAP services (via SOAMANAGER) and consume external SOAP services.
- C. SAP’s use cases span the end-to-end processes that run a business.
Show answer
B. SAP can expose function modules/BAPIs as SOAP services (via SOAMANAGER) and consume external SOAP services.
Covered in the “What SOAP provides” section of this lesson.
Which of these also applies to SOAP?
- A. Not handling RFC exceptions (system down/unreachable).
- B. SELECT inside a loop, the top performance killer.
- C. Middleware like SAP PI/PO heavily used SOAP.
Show answer
C. Middleware like SAP PI/PO heavily used SOAP.
Covered in the “What SOAP provides” section of this lesson.
Which part of the Learn SAP curriculum covers SOAP?
- A. SAP APIs
- B. SAP release notes
- C. SAP how-to guides
Show answer
A. SAP APIs
This lesson sits in the SAP APIs section of the Learn SAP course.