| |||||||||
在 SAP Cloud Platform Integration 中检查 MPL 日志后,错误消息显示以下内容:
“端点 /receiveIDOC 中的入站处理失败,并显示消息”Fault:[com.ctc.wstx.exc.WstxLazyException] 非法字符实体:扩展字符(代码 0x2)
位于 [row,col {unknown-source}]: [########]",由“WstxParsingException:非法字符实体:扩展字符(代码 0x2)引起
at [row,col {unknown-source}]: [########]"
有效负载包含 SAP Cloud Platform Integration 中入站适配器级别拒绝的非法字符。
在将数据发送到 SAP Cloud Platform Integration 租户端点之前对发送方 SAP ERP 系统执行检查,并查找特定字符,例如 # , < , > , & , " , '。这些字符需要在 XML 中进行转义,因为它们由 XML 本身使用。
如果入站 IDOC 有效负载中存在任何特殊或非法字符,则必须从 IDOC 中移除这些字符,然后必须使用事务代码 WE19 在 SAP ERP 中手动重新处理 IDOC。
要提取 IDOC XML,请通过提供 IDOC 编号使用 ABAP 程序 RCOD_DOWNLOAD_IDOC_AS_XML。
SAP Integration Suite 托管网关 > 托管网关基础和工具 > 面向托管网关门户的托管网关
SAP Integration Suite 托管网关 > 面向寻源的托管网关集成