无法在Oracle Service Bus OSB的入站变量中插入http:http-response-code

问题描述 投票:0回答:1

我的OSB代理服务遇到问题,我试图根据服务调用期间的结果来提取/插入http-response代码。我尝试了以下]]

插入:

<http:http-response-code>400</http:http-response-code> as last child of ./ctx:transport/ctx:response In Variable – $inbound

奇怪的是,当我插入这样的响应消息时,它是可行的

<tp:response-message>Bad Request</tp:response-message>as last child of ./ctx:transport/ctx:response In Variable – $inbound

enter image description here

但是它仍然没有出现在入站变量中。我希望有人遇到过类似的情况,可以为您提供建议。

谢谢!

我的OSB代理服务遇到问题,我试图根据服务调用期间的结果来提取/插入http-response代码。我尝试了以下插入:

http osb http-response-codes oracle-service-bus
1个回答
0
投票

您找到解决方法了吗?

© www.soinside.com 2019 - 2024. All rights reserved.