Hear from Salesforce leaders on how to create and deploy Agentforce agents.
Contact Us 1-800-596-4880

SAP S/4HANA SOAP Connector 2.6 Examples - Mule 4

Send an XML Request and Print the Response

This example sends an XML request to SAP S/4HANA’s SOAP API and prints the response:

First flow with Listener and Parse Template and second flow with Listener, Transform Message, Logger, Invoke, Logger, and Transform Message

POM File for This Example

XML Code for This Example

Send an XML Request and Receive the Replication Outbound Message

In this example, an XML request is sent to SAP S/4HANA’s SOAP API and then receives the replication outbound message, which is saved to the object store:

First flow with Listener and Parse Template and second flow with Outbound Message Listener, Logger, Transform Message, Store, and Logger

This flow is used to get the outbound message from the object store:

First flow with Listener, Retrieve, Transform Message, and Logger and second flow with Listener, Transform Message, Invoke, Logger, and Transform Message

POM File for This Example

XML Code for This Example

View on GitHub