|
7#
楼主 |
发表于 2011-5-31 10:31:45
|
只看该作者
char * x;
web_custom_request("httpXmlServlet_17",
"URL=http://172.16.2.15:16955/tradeweb/httpXmlServlet",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t19.inf",
"Mode=HTML",
"Body=<?xml version=\"1.0\" encoding=\"gb2312\"?><GNNT><REQ name=\"order\"><USER_ID>001888005</USER_ID><CUSTOMER_ID>00188800500</CUSTOMER_ID><BUY_SELL>1</BUY_SELL><COMMODITY_ID>99BCK</COMMODITY_ID><PRICE>2222</PRICE><QTY>1</QTY><SETTLE_BASIS>1</SETTLE_BASIS><CLOSEMODE>0</CLOSEMODE><TIMEFLAG>0</TIMEFLAG><L_PRICE>0</L_PRICE><SESSION_ID>{UserSession}</SESSION_ID><BILLTYPE>0</BILLTYPE></REQ></GNNT>",
LAST);
web_reg_save_param("Oderid", "LB=<REC><OR_N>", "RB=<","Ord=All",
LAST);
web_custom_request("httpXmlServlet_18",
"URL=http://172.16.2.15:16955/tradeweb/httpXmlServlet",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t20.inf",
"Mode=HTML",
"Body=<?xml version=\"1.0\" encoding=\"gb2312\"?><GNNT><REQ name=\"my_weekorder_query\"><USER_ID>001888005</USER_ID><BUY_SELL>0</BUY_SELL><ORDER_NO>0</ORDER_NO><COMMODITY_ID></COMMODITY_ID><STARTNUM>0</STARTNUM><RECCNT>0</RECCNT><UT>1306396699133</UT><SESSION_ID>{UserSession}</SESSION_ID><MARKET_ID></MARKET_ID></REQ></GNNT>",
LAST);
x = lr_paramarr_idx("Oderid",atoi(lr_eval_string("{Oderid_count}")));
lr_output_message("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Oderid's value is %s",lr_eval_string("{Oderid}"));
lr_output_message("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Oderno's value is %s",lr_eval_string(x));
-------------------------------------------------------------------------------------------------------------------------------------------------------
Action.c(18): F><B_T_T>0</B_T_T></REC></RESULTLIST></REP></GNNT>
Action.c(18): Notify: Saving Parameter "Oderid_5 = 705043"
Action.c(18): Notify: Saving Parameter "Oderid_6 = 705050"
Action.c(18): Notify: Saving Parameter "Oderid_7 = 705045"
Action.c(18): Notify: Saving Parameter "Oderid_8 = 705046"
Action.c(18): Notify: Saving Parameter "Oderid_9 = 705048"
Action.c(18): Notify: Saving Parameter "Oderid_10 = 705047"
Action.c(18): t=1781ms: Request done "http://172.16.2.15:16955/tradeweb/httpXmlServlet" [MsgId: MMSG-26000]
Action.c(18): Notify: Saving Parameter "Oderid_count = 10"
Action.c(18): web_custom_request("httpXmlServlet_18") was successful, 3169 body bytes, 141 header bytes [MsgId: MMSG-26386]
Action.c(29): Notify: Parameter Substitution: parameter "Oderid_count" = "10"
Action.c(29): Notify: Parameter Substitution: parameter "Oderid_10" = "705047"
Action.c(30): Warning: The string 'Oderid' with parameter delimiters is not a parameter.
Action.c(30): &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Oderid's value is {Oderid}
Action.c(31): &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Oderno's value is 705047
-------------------------------------------------------------------------------------------------------------
没有列出来最大的一个!!! |
|