
代理配置:
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="person"
startOnLoad="true"
statistics="disable"
trace="disable"
transports="http,https">
<target>
<inSequence>
<send>
<endpoint>
<address format="pox" uri="http://localhost:8181/person/"/>
</endpoint>
</send>
<log level="full"/>
</inSequence>
<outSequence>
<log level="full"/>
<property name="messageType" scope="axis2" value="text/xml"/>
<send/>
</outSequence>
</target>
<description/>
</proxy>

请求消息无法获取响应消息模板:

模板:

以下是控制台日志输出:

发布于 2019-10-14 15:54:21
你能试试这个吗,
<endpoint name="IdentityDSSserviceEP" template="esbendpoint" uri="http://localhost:8181/person/"/>模板(示例模板)
<template xmlns="http://ws.apache.org/ns/synapse" name="esbendpoint">
<endpoint name="$name">
<address uri="$uri">
<suspendOnFailure>
<errorCodes>-1</errorCodes>
<progressionFactor>1.0</progressionFactor>
</suspendOnFailure>
<markForSuspension>
<errorCodes>-1</errorCodes>
<retriesBeforeSuspension>0</retriesBeforeSuspension>
<retryDelay>0</retryDelay>
</markForSuspension>
<timeout>
<duration>60000</duration>
<responseAction>fault</responseAction>
</timeout>
</address>
</endpoint>
</template>https://stackoverflow.com/questions/58372238
复制相似问题