CPI Proxy Part 2: SOAP Adapter, WSDLs and WS-Security
Full lesson currently free to read · AI practice limits apply separately
Integrate with SOAP web services: SOAP sender and receiver adapters, WSDL-based mappings, SOAP 1. x versus plain SOAP modes, WS-Security for signing and encryption, and handling faults correctly.
Visual overview
Explanation
📌 KEY POINTS
✅ The SOAP adapter exposes iFlows as web services and calls external SOAP services.
✅ WSDLs define operations and message structures used in mappings and adapter configuration.
✅ WS-Security can sign and encrypt messages using keystore certificates.
✅ SOAP faults must be mapped to proper error handling, not swallowed.
⚠️ Synchronous SOAP calls with long processing times cause timeouts for senders.
━━━━━━━━━━━━━━━━━━━━
▶ WHERE WE ARE
Part 1 covered proxies. Part 2 covers standard SOAP services.
━━━━━━━━━━━━━━━━━━━━
▶ 1. SENDER ADAPTER
A SOAP sender adapter turns an iFlow into a web service endpoint. With a WSDL, it publishes operations and validates messages; in a simpler mode it accepts any payload. Senders authenticate with certificates, OAuth or basic authentication.
━━━━━━━━━━━━━━━━━━━━
▶ 2. RECEIVER ADAPTER
A SOAP receiver adapter calls external services using their WSDL, endpoint and operation. Timeouts, authentication and proxy type (internet or on-premise via Cloud Connector) are configured per channel.
━━━━━━━━━━━━━━━━━━━━
▶ 3. WS-SECURITY
Partners may require signed or encrypted SOAP messages. WS-Security settings in the adapter use keys and certificates from the tenant keystore to sign outgoing messages, verify incoming signatures and encrypt or decrypt content.
━━━━━━━━━━━━━━━━━━━━
▶ 4. FAULTS
SOAP faults returned by receivers must be handled: either returned to the sender in synchronous scenarios or handled by exception subprocesses with alerts and retries in asynchronous ones. Swallowing faults creates silent data loss.
━━━━━━━━━━━━━━━━━━━━
▶ 5. SYNC VERSUS ASYNC
Synchronous request-reply scenarios hold the sender until the reply arrives; long back-end processing leads to timeouts. Prefer asynchronous designs with acknowledgements for long-running processing, and keep synchronous calls short.
━━━━━━━━━━━━━━━━━━━━
▶ STEP BY STEP
- Expose an iFlow with a SOAP sender adapter and WSDL.
- Call an external SOAP service with the receiver adapter.
- Enable WS-Security signing with a test certificate.
- Handle a SOAP fault in an exception subprocess.
✅ CHECKPOINT: SOAP calls in both directions work with security and proper fault handling.
How the SAP process fits together
SAP PROCESS EXPLORER · Integration: sender to receiver
ERPClimb.comProxy, SOAP and OData Integration — process breakdown
Topic-specific conceptual flow: how key objects and decisions fit together. SAP configurations and exceptional cases can follow different paths.
Selected process stage
Choose
Pick ABAP proxy, SOAP service or released OData API
What this specific lesson teaches
Integrate with SOAP web services: SOAP sender and receiver adapters, WSDL-based mappings, SOAP 1.x versus plain SOAP modes, WS-Security for signing and encryption, and handling faults correctly.
Key lesson principle: The SOAP adapter exposes iFlows as web services and calls external SOAP services.
Representative SAP learning flow, not a guarantee of system runtime sequence in every scenario. The chapter-specific facts come from the published lesson text.
Real project scenario
A synchronous SOAP interface to a logistics provider timed out during peak hours, and the sender retried, creating duplicate shipments. The design was changed to asynchronous with an acknowledgement and a duplicate check at the receiver, ending the timeouts and duplicates.
Common mistakes
- Long-running synchronous calls.
- Ignored SOAP faults.
- Certificates for WS-Security not monitored.
- No duplicate protection on retries.
Best practices
- Async with acknowledgements for long processing.
- Explicit fault handling.
- Keystore-managed WS-Security.
- Idempotent receivers.
Interview angle
Interviewers ask how SOAP sender and receiver adapters are configured, how WS-Security works and how to handle faults and timeouts.
Practice this lesson
Original educational case studies for SAP consultants, not official SAP certification exam questions. Verify product edition and implementation details against the current SAP documentation.
Quick check
0 of 3 questions attempted
1. What defines the operations and message structures of a SOAP service?
2. Where does WS-Security take signing keys from in Cloud Integration?
3. A synchronous SOAP call often times out at peak. What design change helps?
Interview questions
1. How do you design a secure, reliable SOAP integration in Cloud Integration?
Answer it in your own words first, then compare.
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.