encoding issue for sap - > mulesoft's sap function listener - Stack Overflow

My use case is : SAP sends a payload to the MuleSoft SAP function listener.The payload from SAP looks

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!

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743773018a4504717.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信