标注调解员doe没有在WSO2 ESB 4.7.0中给出任何响应

Kan*_*eel 0 wso2 apache-synapse wso2esb wso2carbon

当我在wso2 esb中使用call out mediator时,使用DSS Endpoint我只收到请求,我没有得到响应,即使我把登录按顺序排列.我在这里发送我的代理服务.

 <proxy xmlns="http://ws.apache.org/ns/synapse"
           name="Binaryformat"
           transports="https http"
           startOnLoad="true"
           trace="disable">
       <description/>
       <target>
          <inSequence>
    <property name="messageType" value="application/json" scope="axis2"/>
             <property name="ContentType" value="application/json" scope="axis2"/>
             <log level="full">
                <property name="M1" value="*************Callout  PROXY*************"/>
             </log>

             <callout serviceURL="http://192.168.1.201:9769/services/emp_DataService/">
                <source type="envelope"/>
                <target key="response"/>
             </callout>
             <log level="full">
                <property name="Status" expression="get-property('response')"/>
             </log>
             <header name="To" action="remove"/>
             <property name="RESPONSE" value="true"/>
             <!--<property name="OUT_ONLY" value="true"/>-->
             <send/>
          </inSequence>
          <outSequence>
            <log level="full">
                <property name="Status" expression="get-property('response')"/>
             </log>
    <payloadFactory media-type="xml">
                <format>
    <response>outonly</response>
                </format>
                <args/>
             </payloadFactory>
             <property name="OUT_ONLY" value="true"/>
             <send/>
          </outSequence>
       </target>
    </proxy>
Run Code Online (Sandbox Code Playgroud)

小智 5

我认为你错误地配置了callout mediator.在此处检查callout mediator示例

http://docs.wso2.org/display/ESB470/Sample+430%3A+Simple+Callout+Mediator+for+Synchronized+Web+Service+Invocation

除了OUT-ONLY设置为"true"意味着在消息上指示一旦从ESB转发它就不会有响应消息.你可以在这里阅读更多关于OUT_ONLY和其他属性的信息http://docs.wso2.org/display/ESB470/Generic+Properties