|
2#
楼主 |
发表于 2008-11-10 17:40:32
|
只看该作者
关联一个问题,实在找不出错误,帮个忙
服务器返回值:
---------------------------
<?xml version="1.0" encoding="GBK"?>
<root>
<status>1</status>
<rows>
<row>
<id>5512</id>
</row>
</rows>
</root>
-------------------------
脚本:
Action()
{
//关联函数
web_reg_save_param("user_id",
"NOTFOUND=ERROR",
"LB=id>",
"RB=</id>",
"Ord=1",
"RelFrameId=1",
"Search=Body",
LAST);
web_custom_request("LoadXml.action_4",
"URL=http://192.168.1.146:7001/uc/default/LoadXml.action?transaction=index.member.reg&_k_=1226302172181",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=http://192.168.1.146:7001/uc/velocity/memberReg.vm",
"Snapshot=t9.inf",
"Mode=HTML",
"EncType=text/xml; charset=UTF-8",
"Body=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22gbk%22%3F%3E%3Croot%3E%3Crows%3E%3Crow%3E%3Ckey/%3E%3CbannerBigCateg/%3E%3Cword/%3E%3CloginName%3E{loginName}%3C/loginName%3E%3Cpassword%3E111111%3C/password%3E%3ColdPassword%3E111111%3C/oldPassword%3E%3Cnickname%3E{nickname}%3C/nickname%3E%3Cemail%3EnickEmail@163.com%3C/email%3E%3Cquestion%3EPASSQUESTION%3C/question%3E%3Canswer%3EPASSANSWER%3C/answer%3E%3CvalidateCode%3E7669%3C/validateCode%3E%3Cagree%3Etrue%3C/"
"agree%3E%3CbuttonName%3E%u6CE8%A0%A0%u518C%3C/buttonName%3E%3Cid/%3E%3CselTianYear%3E1950%3C/selTianYear%3E%3CselTianMonth%3E1%3C/selTianMonth%3E%3CselTianHour%3E0%3C/selTianHour%3E%3CselTianMinute%3E0%3C/selTianMinute%3E%3C/row%3E%3C/rows%3E%3C/root%3E",
LAST);
web_custom_request("LoadXml.action_5",
"URL=http://192.168.1.146:7001/uc/default/LoadXml.action?transaction=authority.user.add&_k_=1226302172655",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=http://192.168.1.146:7001/uc/velocity/memberReg.vm",
"Snapshot=t10.inf",
"Mode=HTML",
"EncType=text/xml; charset=UTF-8",
"Body=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22gbk%22%3F%3E%3Croot%3E%3Crows%3E%3Crow%3E%3Ckey/%3E%3CbannerBigCateg/%3E%3Cword/%3E%3CloginName%3E{loginName}%3C/loginName%3E%3Cpassword%3E111111%3C/password%3E%3ColdPassword%3E111111%3C/oldPassword%3E%3Cnickname%3E{nickname}%3C/nickname%3E%3Cemail%3EnickEmail@163.com%3C/email%3E%3Cquestion%3EPASSQUESTION%3C/question%3E%3Canswer%3EPASSANSWER%3C/answer%3E%3CvalidateCode%3E7669%3C/validateCode%3E%3Cagree%3Etrue%3C/"
"agree%3E%3CbuttonName%3E%u6CE8%A0%A0%u518C%3C/buttonName%3E%3Cid%3E{user_id}%3C/id%3E%3CselTianYear%3E1950%3C/selTianYear%3E%3CselTianMonth%3E1%3C/selTianMonth%3E%3CselTianHour%3E0%3C/selTianHour%3E%3CselTianMinute%3E0%3C/selTianMinute%3E%3C/row%3E%3C/rows%3E%3C/root%3E",
LAST);
/*
lr_output_message("*******************************************");
lr_output_message("user_id=%s", lr_eval_string("user_id"));
lr_end_transaction("reg", LR_AUTO);
*/
return 0;
}
我这么设置怎么是错误的???
----------------------------------
Action.c(12): Error -26377: No match found for the requested parameter "user_id". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
Action.c(12): web_custom_request("LoadXml.action_4") highest severity level was "ERROR", 361 body bytes, 314 header bytes, 16 chunking overhead bytes [MsgId: MMSG-26387]
Ending action Action.
帮我看一下吧,谢谢哦 |
|