SAP 调用webservice 报 Error MustUnderstand headers not understood

博主在调用Webservice时遇到报错,经查找,问题原因是发布方设置不对。可通过soamanager的messenging,将message id (synchronous)设为suppress id transfer来解决,还给出了sap官方论坛的原文回答。

我在调用一个webservice的时候报错:MustUnderstand headers:[{http://schemas.xmlsoap.org/ws/2004/08/addressing}Action, {http://schemas.xmlsoap.org/ws/2004/08/addressing}To] are not understood。查了半天也没搞清楚原因,后来到sap官方论坛找到了答案

https://answers.sap.com/questions/8152784/webservice-doesnt-work-with-soapenvmustunderstand1.html

问题原因应该是由于发布webservice方,有些设置不对导致:可以通过soamanager的messenging,设置message id (synchronous)为suppress id transfer。这样问题就解决了:

原文回答:

You can not modify the SOAP Request just like that. But it seems that your provider does not understand the WS-Addressing protocol properties. If this is synchrnous WS call ,you can try via soamanager to eclude addressing protocol via SOAMANAGER transaction.Find your logical port , go to Messaging Tab and set Message ID Protocol to "suppressTransfer".

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值