【发布时间】:2016-08-03 15:11:07
【问题描述】:
我有一个调用网络服务的代理服务。有时它会发出错误代码 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>
【问题讨论】:
-
您不应该在发送中介之后添加任何中介。您可以在发送中介后删除所有日志中介并检查。此外,完整的堆栈跟踪可能有助于调试问题。
-
错误代码 303001 [1] 似乎表明地址端点存在问题。您能否验证端点是否始终处于活动状态 [1] docs.wso2.com/display/ESB451/Error+Handling+and+Error+Codes
-
是的,杰森,它始终处于活动状态。肥皂版本有问题吗?
-
我看到问题后插入此日志调解器。
-
您可以启用wirelogs并共享日志吗?你可以参考这个:mytecheye.blogspot.com/2013/09/…