- 论坛徽章:
- 0
|
满足下列条件:
1、发送报文节点Busicode =MyKey
2、接收报文节点resp_code 不等于0
满足1和2条件的,将发送报文和接收报文重定向保存下来,
文件如下:
--发送报文
[00:00:32 000931 <700750> Send...]
<?xml version="1.0" encoding="GBK" ?>
<busi_in>
<Busicode>MyKey</Busicode>
<busitype>01</busitype>
此处省略n行
</busi_in>
--接收报文
[00:00:32 059931 <700750> Recv...]
HTTP/1.1 200 OK
Date: Fri, 04 Feb 2011 16:00:31 GMT
Server: Apache/2.0.63 (Unix) mod_fastcgi/2.4.2
Content-Length: 366
Connection: close
Content-Type: text/xml
<?xml version="1.0" encoding="GBK" standalone="no" ?><operation_out><req_seq>88022859803580</req_seq><resp_seq>20110205000032</resp_
seq><resp_time>20110205000032</resp_time><response><resp_type>0</resp_type><resp_code>0</resp_code><resp_desc><![CDATA[成功]]></resp
_desc></response><content><invalid_date></invalid_date><balance>0</balance></content></operation_out> |
|