soap_request("StepName=getData",
"URL=http://{LOGINIP}/safe/ApplicationTransactionWebService",
"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"zh_cn\" 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><getDataxmlns="
"\"http://www.openuri.org/\"><inParamxmlns=\"java"
":ecsolutions.safe.parameters\"><action>C</action><authHash"
">ee009ee6e85a6237c6d29f17bcf727d4</authHash><funcID>033</funcID>"
"<menuID>getData</menuID><methodID>getData</methodID><organCode"
">{LOGINCODE}</organCode><sessionID"
">{sessionID}</sessionID>"
"<sessionIDSSO/><userID>QC{USERID}</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}E{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);
//获取tblPayReceiveSts3表中的数据
lr_xml_extract("XML={response}",
"FastQuery=/Envelope/Body/getDataResponse/workFlowResult/dataset/ParamDataSet/dataRows/ParamRow/fieldValues",
"XMLFragmentParam=tblPayReceiveSts3",
LAST);
//获取tblPayReceiveBFChk3表中的数据
lr_xml_extract("XML={response}",
"FastQuery=/Envelope/Body/getDataResponse/workFlowResult/dataset/ParamDataSet[2]/dataRows/ParamRow/fieldValues",
"XMLFragmentParam=tblPayReceiveBFChk3",
LAST);
//获得申报单的状态数值ID
lr_xml_get_values("XML={response}",
"FastQuery=/Envelope/Body/getDataResponse/workFlowResult/dataset/ParamDataSet/dataRows/ParamRow/fieldValues/string[61]",
"ValueParam=tblPayReceiveSts3StatusID",
LAST);
//选择付款,退款,其他
lr_xml_get_values("XML={response}",
"FastQuery=/Envelope/Body/getDataResponse/workFlowResult/dataset/ParamDataSet[2]/fieldNames/string[37]",
"ValueParam=tblPayReceiveBFChk3PayType",
LAST);
lr_xml_replace("XML={tblPayReceiveBFChk3}", "ResultParam=tblPayReceiveBFChk3",
"Query=/fieldValues/string[37]",
"XmlFragment=<string xmlns=\"java:language_builtins.lang\">O</string>",
LAST);
lr_xml_replace("XML={tblPayReceiveBFChk3}", "ResultParam=tblPayReceiveBFChk3",
"Query=/fieldValues/string[58]",
"XmlFragment=<string xmlns=\"java:language_builtins.lang\">WCQ{RandValue}</string>",
LAST);
lr_xml_replace("XML={tblPayReceiveBFChk3}", "ResultParam=tblPayReceiveBFChk3",
"Query=/fieldValues/string[57]",
"XmlFragment=<string xmlns=\"java:language_builtins.lang\">021{RandValue}</string>",
LAST);
//发票号码
lr_xml_replace("XML={tblPayReceiveBFChk3}", "ResultParam=tblPayReceiveBFChk3",
"Query=/fieldValues/string[22]",
"XmlFragment=<string xmlns=\"java:language_builtins.lang\">{RandValue}{InvoiceNo}</string>",
LAST);
//进口合同号码
lr_xml_replace("XML={tblPayReceiveBFChk3}", "ResultParam=tblPayReceiveBFChk3",
"Query=/fieldValues/string[8]",
"XmlFragment=<string xmlns=\"java:language_builtins.lang\">{InvoiceNo}</string>",
LAST);
lr_xml_replace("XML={tblPayReceiveBFChk3}", "ResultParam=tblPayReceiveBFChk3",
"Query=/fieldValues/string[19]",
"XmlFragment=<string xmlns=\"java:language_builtins.lang\">2007-06-02</string>",
LAST);