My use case is : SAP sends a payload to the MuleSoft SAP function listener.
The payload from SAP looks like this:
<LAST_NAME>exampleć</LAST_NAME>
However, the payload received by the MuleSoft SAP function listener becomes:
<LAST_NAME>example#</LAST_NAME>
The ć character is replaced with #, while other special characters like ä, ü, ö, ç are processed correctly.
Why is this happening, and how can it be fixed?
Below is the SAP function listener configuration:
<sap:function-listener doc:name="Function listener" doc:id="54a4bb95-3a7e-477e-b3e9-c9438ecb222e"
config-ref="SAP_Config" gatewayHost="${sap.gwhost}" gatewayService="${sap.gwserv}"
programID="${sap.progid}" connectionCount="${sap.connection_count}"
targetedFunction="${sap.rfcFunction}">
</sap:function-listener>
<sap:sap-config name="SAP_Config" doc:name="SAP Config" doc:id="f6913aeb-d17c-4f5f-b785-c896e9ab8cc9">
<sap:simple-connection-provider-connection username="${sap.user}"
password="${secure::sap.password}" systemNumber="${sap.sysnr}"
client="${sap.client}" applicationServerHost="${sap.ahost}"/>
</sap:sap-config>
What could be causing this issue, and how can it be fixed? Any suggestion or hints are more than welcome!