在WSO2ESB中的发送序列之后获取响应
如何获取从代理返回响应的序列?我试过打电话、呼叫、发送和回复。我的客户提出了服务请求&只得到了200个响应。我的端点服务被调用,但其响应似乎被丢弃。如果我使用传递代理(即没有序列),一切都可以,但我没有日志中介或统计数据在WSO2ESB中的发送序列之后获取响应,wso2,wso2esb,Wso2,Wso2esb,如何获取从代理返回响应的序列?我试过打电话、呼叫、发送和回复。我的客户提出了服务请求&只得到了200个响应。我的端点服务被调用,但其响应似乎被丢弃。如果我使用传递代理(即没有序列),一切都可以,但我没有日志中介或统计数据 <?xml version="1.0" encoding="UTF-8"?> <sequence name="sequence_myservice" trace="enable" xmlns="http://ws.apache.org/ns/synapse"&
<?xml version="1.0" encoding="UTF-8"?>
<sequence name="sequence_myservice" trace="enable" xmlns="http://ws.apache.org/ns/synapse">
<log separator="">
</log>
<send>
<endpoint key="conf:/myservice"/>
</send>
</sequence>
您需要在序列中使用,请检查
- 在序列中生成您的请求,并调用
中介 - 您将在outSequence中得到响应
<sequence name="main" xmlns="http://ws.apache.org/ns/synapse">
<in>
<log level="full"/>
<send>
<endpoint>
<address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
</endpoint>
</send>
</in>
<out>
<!-- here is your response -->
<send/>
</out>
</sequence>
已解决-应(重新)阅读文档,需要输入/输出。对不起,我浪费了任何人的时间。