TA的每日心情 | 擦汗 2014-11-26 10:12 |
---|
签到天数: 2 天 连续签到: 2 天 [LV.1]测试小兵
|
脚本如下
Action()
{
web_service_call( "StepName=dispatchCommand_108",
"SOAPMethod=IDispatchControl|IDispatchControlHttpPort|dispatchCommand",
"ResponseParam=response",
"Service=IDispatchControl",
"ExpectedResponse=SoapResult",
"Snapshot=t1418272009.inf",
BEGIN_ARGUMENTS,
"in0=",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
soap_request("StepName=SOAP Request",
"URL=http://172.17.162.100:8000/provfront/services/businessService",
"SOAPEnvelope="
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:con=\"http://control.ppcore.haobai.huateng.com\">"
"<soapenv:Header/>"
"<soapenv:Body>"
"<con:dispatchCommand>"
"<con:in0>200901|440000-TIS-1-121.33.197.198|1|121.33.197.198</con:in0>"
"<con:in1>"
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?><PayPlatRequestParameter> <CTRL-INFO WEBSVRNAME=\" \" WEBSVRCODE=\"200901\" APPFROM=\"350000-YZF-1.0-10.21.32.34\" KEEP=\"012013052910628913\" /> <PARAMETERS> <PRODUCTNO>13812038709</PRODUCTNO> <ACCOUNTTYPE>1</ACCOUNTTYPE> <TXNAMOUNT>250000</TXNAMOUNT> <FEEFLAG>1</FEEFLAG> <FEEAMT>0</FEEAMT> <TRANSFERORGCODE></TRANSFERORGCODE> <PAYORGCODE></PAYORGCODE> <BUSINESSTYPE>121030</BUSINESSTYPE> <TXNTYPE>121030</TXNTYPE> <SUPPLYORGCODE>111350060110000</SUPPLYORGCODE> <TERMINALSEQNO></TERMINALSEQNO> <MERCHANTCODE>113350100000000</MERCHANTCODE> <ACCEPTORGCODE>001350000000000</ACCEPTORGCODE> <ACCEPTUID>FJCRM</ACCEPTUID> <ACCEPTAREACODE>350000</ACCEPTAREACODE> <ACCEPTCITYCODE>350100</ACCEPTCITYCODE> <ACCEPTCHANNEL>07</ACCEPTCHANNEL> <ACCEPTSEQNO>2014111810628918</ACCEPTSEQNO> <ACCEPTTRANSDATE>20130529</ACCEPTTRANSDATE> <ACCEPTTRANSTIME>000834</ACCEPTTRANSTIME> <INPUTTIME>20141118000834</INPUTTIME> </PARAMETERS></PayPlatRequestParameter> ]]>"
"</con:in1>"
"</con:dispatchCommand>"
"</soapenv:Body>"
"</soapenv:Envelope>",
"SOAPAction=",
"ResponseParam=response",
"Snapshot=t1418272106.inf",
LAST);
return 0;
}
我想问下web_service_call、 soap_request函数的区别。这样就能跑起来了么,怎么接受返回的报文????
|
|