簡體   English   中英

MessagingException:執行映射時遇到錯誤 - 在哪里查看響應消息?

[英]MessagingException: Error encountered while executing mapping - Where to see response message?

我正在運行 SAP PI/PO 方案,但在查找響應消息(錯誤消息)時遇到問題。

場景:代理(類)-> SAP PI/PO 7.5 -> SOAP (wsdl)

執行場景時的錯誤是:

Transmitting the message using connection SOAP_ http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap. aii.af.service.mapping.MappingException:com.sap.aii.utilxi.misc.api.ResourceException:無法確定消息 3b14b3f8-0860-101ed-a0324-000 的映射步驟

問題是我在 SAP PI 監視器中找不到消息 (3b14b3f8-0860-11ed-a034-000001795062)。 這是響應消息(誰導致了錯誤),正如我在監視器中找到的請求消息,它是正確的。

SAP PI 監視器

我在哪里可以找到它? 為什么不顯示?

根據我的閱讀,這個問題的發生有幾個原因,我只是想找到這個消息。

Web 服務工作正常,我在 SOAP UI 中對其進行了測試。

要找到響應消息(包含錯誤),我們必須首先激活集成配置日志(默認情況下它不活動)。

要激活日志,我們必須按照以下步驟操作(更多信息: https://blogs.sap.com/2012/11/06/message-staging-and-logging-options-in-advanced-adapter-engine-of -pi-73x/ )

  1. Go 到目標集成配置中的“高級設置”。
  2. 在“暫存”和“日志”中將“使用全局配置”單選按鈕更改為“使用場景特定配置”。
  3. 將所有“暫存”列表更改為“存儲”。
  4. 將所有“日志”列表更改為“日志”。
  5. 保存並激活。

現在,在 SAP PO 監視器(Message monitor)中,通過單擊“Related Messages”選項,我們可以看到響應消息錯誤。

相關消息

錯誤內容

在這種情況下,錯誤是:

<sap:Error xmlns:sap='http://sap.com/xi/XI/Message/30' SOAP:mustUnderstand='1'>sap:CategoryXIAdapter</sap:Category><sap:Code area='SOAP '>FAULT</sap:Code>sap:P1http://schemas.microsoft.com/ws/2005/05/addressing/none</sap:P1>sap:P2ActionNotSupported</sap:P2>sap:AdditionalText消息帶有由於 EndpointDispatcher 的 ContractFilter 不匹配,無法在接收方處理 Action ''。 這可能是因為合約不匹配(發送方和接收方之間的操作不匹配)或發送方和接收方之間的綁定/安全不匹配。 檢查發送方和接收方是否具有相同的合同和相同的綁定(包括安全要求,例如 Message、Transport、None)。</sap:AdditionalText><sap:ApplicationFaultMessage namespace='http://schemas.microsoft.com/ws /2005/05/addressing/none'>ActionNotSupported</sap:ApplicationFaultMessage></sap:Error>

其中 Action 為空。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM