|
就是把你取出来的数值,放到你需要的地方
lr_xml_get_values("XML={response}",
"FastQuery=/Envelope/Body/loginResponse/loginResult/sessionID",
"ValueParam=sessionID",
LAST);
soap_request("StepName=login_2",
"URL=http://192.2.104.250:9080/safe/LoginWebService",
"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><login xmlns=\""
"http://www.openuri.org/\"><inParam xmlns=\"java"
":ecsolutions.safe.parameters\"><action xsi:nil=\"true\"/><authHash"
">{authHashvalue}</authHash><funcID>2E1</funcID>"
"<menuID xsi:nil=\"true\"/><methodID xsi:nil=\"true\"/><organCode"
">330000000201</organCode>"
"<sessionID>{sessionID}</sessionID>"
"<sessionIDSSO xsi:nil=\"true\"/><userID>QC001</userID><warningCheck "
"xsi:nil=\"true\"/><authList xsi:nil=\"true\"/><authListHash xsi:nil=\""
"true\"/><authMethod>digest</authMethod><password xsi:nil=\"true\"/>"
"<sessionStatus xsi:nil=\"true\"/><verno>7011</verno></inParam></login>"
"</soap:Body></soap:Envelope>",
"Snapshot=t2.inf",
"ResponseParam=response",
LAST);
放在需要的><sessionID>{sessionID}</sessionID>" |
|