最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin1浏览0评论

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!

发布评论

评论列表(0)

  1. 暂无评论