执行默认故障序列错误代码303001 wso2 esb

时间:2016-08-03 04:50:32

标签: wso2 wso2esb esb

我有一个调用Web服务的代理服务。有时它发出错误代码303001并在刷新后再次工作。我刷新的想法是我在服务列表中打开管理面板选择我的服务的设计视图,然后单击下一步完成。在该服务正常工作后,1小时后它会抛出错误代码 我的服务:

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
   name="BillVerification"
   transports="https,http"
   statistics="disable"
   trace="disable"
   startOnLoad="true">
<target>
  <inSequence>
     <class name="org.sample.mediators.citydi.HashMediatorCityDI"/>
     <log level="full" category="FATAL">
        <property name="fprever" value="justyou"/>
     </log>
     <property name="DISABLE_CHUNKING"
               value="true"
               scope="axis2"
               type="STRING"/>
     <send>
        <endpoint>
           <address uri="http://checkbill2.citydi.net/CheckBill.asmx?wsdl" format="soap12">
              <suspendOnFailure>
                 <initialDuration>100000000</initialDuration>
                 <progressionFactor>1.0</progressionFactor>
                 <maximumDuration>100000000</maximumDuration>
              </suspendOnFailure>
           </address>
        </endpoint>
     </send>
     <log level="full" category="FATAL">
        <property name="send1" value="send1"/>
     </log>
  </inSequence>
  <outSequence>
     <log level="full">
        <property name="beforeSENDout" value="2"/>
     </log>
     <send/>
     <log level="full" category="FATAL">
        <property name="send2" value="send2"/>
     </log>
  </outSequence>
</target>
<publishWSDL uri="http://checkbill2.citydi.net/CheckBill.asmx?wsdl"/>
<description/>
</proxy>

1 个答案:

答案 0 :(得分:1)

303001 =地址端点尚未准备好连接

也许是因为公司代理/防火墙?

您错误地认为您的端点始终处于活动状态:使用命名端点而不是匿名端点并查看wso2 Web控制台:我猜它将被停用(“操作”变为“开启”)< / p>

在您的情况下,使用匿名端点,当您编辑/保存代理时,端点将打开。

如果您不希望暂停端点,请添加以下内容:

<suspendOnFailure>
    <errorCodes>-1</errorCodes>
    <initialDuration>0</initialDuration>
    <progressionFactor>1.0</progressionFactor>
    <maximumDuration>0</maximumDuration>
</suspendOnFailure>

如果您不希望端点管理特定超时,请添加如下内容:

<markForSuspension>
    <errorCodes>-1</errorCodes>
    <retriesBeforeSuspension>0</retriesBeforeSuspension>
    <retryDelay>0</retryDelay>
</markForSuspension>
相关问题