|
本帖最后由 kuangquanshui 于 2014-3-24 15:01 编辑
1、使用关联后不能获取到关联内容。输出的时候只有关联中保存的参数名称。使用的webservice协议
2、使用验证点函数时无乱验证什么都提示成功,web_find、web_reg_find都使用过了。大家遇到过吗
脚本如下:
Action()
{
char *lr_save;
lr_start_transaction("AUTHOR");
web_reg_save_param("XML",
"LB=",
"RB=",
"Search=Body",
LAST);
lr_save_string(lr_eval_string("{XML}"),"lr_save");
//lr_output_message("test_str=%s",lr_eval_string("{XML}"));
lr_output_message("lr_save");
soap_request("StepName=SOAP Request", "URL=http://IP/WebService/MmsWebInterface.asmx",
"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>"
"<soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:mms=\"http://MmsWebInterface.org/\">"
"<soap:Header></soap:Header>"
"<soap:Body>"
"<mms:SubmitMms>"
"<mms:UserID>kwsm</mms:UserID>"
"<mmsassword>1234</mmsassword>"
"<mms:CorpID></mms:CorpID>"
"<mmsrdID>2012116</mmsrdID>"
"<mmsstID>15200000000</mmsstID>"
"<mms:MmsSubject>testcaixin</mms:MmsSubject>"
"<mms:TmsBuffer>字符串内容</mms:TmsBuffer>"
"</mms:SubmitMms>"
"</soap:Body>"
"</soap:Envelope>",
//"SOAPAction=http://MmsWebInterface.org/SubmitMms",
"ResponseParam=response",
//"Snapshot=t952747096.inf",
LAST);
web_find("web_find",
"What=<State>123</State>",
LAST);
return 0;
}
日志关联部分结果:
Action.c(8): web_reg_save_param started [MsgId: MMSG-26355]
Action.c(8): Registering web_reg_save_param was successful [MsgId: MMSG-26390]
Action.c(13): Warning: The string 'XML' with parameter delimiters is not a parameter.
Action.c(13): Notify: Saving Parameter "lr_save = {XML}"
Action.c(16): lr_save
Action.c(25): SOAP request "SOAP Request" started |
|