|
soap_request("StepName=getData",
"URL=http://{LOGINIP}/safe/ApplicationTransactionWebService",
"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"GB2312\" standalone=\""
"no\"?><soap:Envelope xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" "
"xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:soap=\""
"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body><getData xmlns="
"\"http://www.openuri.org/\"><inParam xmlns=\"java"
":ecsolutions.safe.parameters\"><action>C</action><authHash"
">fa5709a8f995a77e2b2edd76a67cf6f3</authHash><funcID>013</funcID>"
"<menuID>getData</menuID><methodID>getData</methodID><organCode"
">{LOGINCODE}</organCode><sessionID"
">20070626130309{LOGINCODE}fOJWdQRsrdPRXUVUZ47aQC001</sessionID>"
"<sessionIDSSO/><userID>QC001</userID><warningCheck>N</warningCheck>"
"<batchKey xsi:nil=\"true\"/><chkDate xsi:nil=\"true\"/><chkType xsi"
":nil=\"true\"/><currentCode xsi:nil=\"true\"/><currentLevel xsi:nil=\""
"true\"/><currentSide xsi:nil=\"true\"/><data><ParamDataSet><test xsi"
":nil=\"true\"/><dataRows><ParamRow><test xsi:nil=\"true\"/>"
"<fieldValues><string xmlns=\"java:language_builtins.lang\""
">{LOGINCODE}0706{RptDate}N{RandValue}</string></fieldValues></ParamRow></dataRows>"
"<fieldNames><string xmlns=\"java:language_builtins.lang\">KEYDATA</"
"string></fieldNames><updInd xsi:nil=\"true\"/></ParamDataSet></data>"
"<dataType xsi:nil=\"true\"/><exportFromDate xsi:nil=\"true\"/>"
"<exportToDate xsi:nil=\"true\"/><filePath xsi:nil=\"true\"/><funcType"
">1</funcType><isAck xsi:nil=\"true\"/><journalNo xsi:nil=\"true\"/>"
"<keyData xsi:nil=\"true\"/><msgFromAddr xsi:nil=\"true\"/><msgFromSide"
" xsi:nil=\"true\"/><msgFromSideCode xsi:nil=\"true\"/><msgRouter xsi"
":nil=\"true\"/><msgToAddr xsi:nil=\"true\"/><msgToSide xsi:nil=\"true"
"\"/><msgToSideCode xsi:nil=\"true\"/><organLevel xsi:nil=\"true\"/>"
"<organType>B</organType><receiveDate xsi:nil=\"true\"/><rptType>B</"
"rptType><sendDate xsi:nil=\"true\"/><sendSeqNo xsi:nil=\"true\"/>"
"<sendType xsi:nil=\"true\"/><submitDate xsi:nil=\"true\"/><txType xsi"
":nil=\"true\"/></inParam></getData></soap:Body></soap:Envelope>",
"Snapshot=t4.inf",
"ResponseParam=response",
LAST);
if (LR_PASS ==1)
{lr_log_message(lr_eval_string("response"),LAST);}
//获取tblPayReceiveSts1表中的数据
lr_xml_extract("XML={response}",
"FastQuery=/Envelope/Body/getDataResponse/workFlowResult/dataset/ParamDataSet/dataRows/ParamRow/fieldValues",
"XMLFragmentParam=tblPayReceiveSts1",
LAST);
//获取tblPayReceiveBFChk1表中的数据
lr_xml_extract("XML={response}",
"FastQuery=/Envelope/Body/getDataResponse/workFlowResult/dataset/ParamDataSet[2]/dataRows/ParamRow/fieldValues",
"XMLFragmentParam=tblPayReceiveBFChk1",
LAST);
//获得申报单基础信息的总的金额
lr_xml_get_values("XML={response}",
"FastQuery=/Envelope/Body/getDataResponse/workFlowResult/dataset/ParamDataSet[2]/dataRows/ParamRow/fieldValues/string[46]",
"ValueParam=TxAmt",
LAST);
lr_xml_replace("XML={tblPayReceiveBFChk1}", "ResultParam=tblPayReceiveBFChk1",
"Query=/fieldValues/string[55]",
"XmlFragment=<string xmlns=\"java:language_builtins.lang\">{TxAmt}</string>",
LAST);
lr_xml_replace("XML={tblPayReceiveBFChk1}", "ResultParam=tblPayReceiveBFChk1",
"Query=/fieldValues/string[58]",
"XmlFragment=<string xmlns=\"java:language_builtins.lang\">{LOGINCODE}{RandValue}</string>",
LAST);
lr_xml_replace("XML={tblPayReceiveBFChk1}", "ResultParam=tblPayReceiveBFChk1",
"Query=/fieldValues/string[57]",
"XmlFragment=<string xmlns=\"java:language_builtins.lang\">{LOGINCODE}{RandValue}</string>",
LAST);
lr_xml_replace("XML={tblPayReceiveBFChk1}", "ResultParam=tblPayReceiveBFChk1",
"Query=/fieldValues/string[36]",
"XmlFragment=<string xmlns=\"java:language_builtins.lang\">O</string>",
LAST); |
|