代理服务给出错误"读取请求后的连接超时"

时间:2017-02-23 12:29:00

标签: wso2 esb

我们在eclipse中使用esb项目在wso2 esb中创建了代理服务。

我们有两个网络服务电话和一个数据映射器。

代理服务给出错误" 2017-02-23 12:06:32,131 [ - ] [HTTP-Listener I / O dispatcher-4] WARN SourceHandler读取请求后的连接超时:http-incoming- 40套接字超时:180000远程地址:/10.65.0.75:52864"当我们添加数据映射器时。

没有数据映射器代理服务正在成功运行。有时它也可以使用数据映射器成功运行。

有人可以指导这个问题吗?

以下是代理来源

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
       name="EslSfaOFAOMSOIntegrationPS"
       startOnLoad="true"
       statistics="disable"
       trace="disable"
       transports="http,https">
   <target>
      <inSequence>
         <call>
            <endpoint>
               <address format="soap11"
                        uri="http://10.1.6.175:9763/services/EslSfaOMSODataService.SOAP11Endpoint/"/>
            </endpoint>
         </call>
         <log level="full"/>
         <datamapper config="gov:datamapper/EslSfaOFAOMSOIntegrationMapping.dmc"
                     inputSchema="gov:datamapper/EslSfaOFAOMSOIntegrationMapping_inputSchema.json"
                     inputType="XML"
                     outputSchema="gov:datamapper/EslSfaOFAOMSOIntegrationMapping_outputSchema.json"
                     outputType="XML"/>
         <log description="" level="full"/>
         <header name="Authorization"
                 scope="transport"
                 value="Basic --"/>
         <log level="full"/>
         <call>
            <endpoint>
               <address format="soap11"
                        uri="https://oraclefusionhost:443/soa-infra/services/default/DooDecompReceiveOrderExternalComposite/ReceiveOrderRequestService"/>
            </endpoint>
         </call>
         <log level="full"/>
         <drop/>
      </inSequence>
      <outSequence/>
      <faultSequence/>
   </target>
   <description/>
</proxy>

通过计划任务调用代理,附加是源

<task class="org.apache.synapse.startup.tasks.MessageInjector"
        group="synapse.simple.quartz" name="testtask2">
        <trigger count="1" interval="60"/>
        <property name="proxyName" value="EslSfaOFAOMSOIntegrationPS" xmlns:task="http://www.wso2.org/products/wso2commons/tasks"/>
        <property name="soapAction" value="operation" xmlns:task="http://www.wso2.org/products/wso2commons/tasks"/>
        <property name="injectTo" value="proxy" xmlns:task="http://www.wso2.org/products/wso2commons/tasks"/>
        <property name="message" xmlns:task="http://www.wso2.org/products/wso2commons/tasks">
            <soapenv:Envelope xmlns:esl="esl" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
                <soapenv:Header/>
                <soapenv:Body>
                    <esl:operation/>
                </soapenv:Body>
            </soapenv:Envelope>
        </property>
    </task>

其次,我们如何才能获得代理服务的响应。我们的web服务在db中创建记录,并在运行独立表单soap ui时返回状态成功。

1 个答案:

答案 0 :(得分:0)

<drop/>替换为<respond />

相关问题