|
5#
楼主 |
发表于 2010-7-21 11:40:03
|
只看该作者
Action()
{
//查询北京海淀区
lr_start_transaction("区域");
web_add_auto_header("Accept-Encoding",
"gzip, deflate");
web_add_auto_header("Accept-Language",
"zh-cn");
web_add_auto_header("User-Agent",
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)");
lr_end_transaction("区域", LR_AUTO);
//查询具体位置=中关村
lr_start_transaction("位置");
web_service_call( "StepName=findLocationInfoByName_102",
"SOAPMethod=LocationManage.LocationManagePortType.findLocationInfoByName",
"ResponseParam=response",
"WSDL=http://172.28.75.90:7001/itis_webservice/locationService?wsdl",
"UseWSDLCopy=1",
"Snapshot=t1279679891.inf",
BEGIN_ARGUMENTS,
"xml:in0=<in0><distID>auto string</distID><matchType>auto string</matchType>"
"<maxRowCount>123456789</maxRowCount><name>wudaokou</name><pageNo>"
"123456789</pageNo><pageSize>123456789</pageSize><searchSortType>"
"POI</searchSortType><showCount>123456789</showCount><showStartIdx>"
"123456789</showStartIdx><singleLocateId><long>123456789</long></singleLocateId>"
"<srcServiceModule>HIGHWAY_EVENT</srcServiceModule></in0>",
END_ARGUMENTS,
BEGIN_RESULT,
"out/statusCode=Param_statusCode",
END_RESULT,
LAST);
lr_think_time(3);
web_add_header("Content-Type",
"application/x-www-form-urlencoded; charset=UTF-8");
web_add_header("Content-Type",
"application/x-www-form-urlencoded; charset=UTF-8");
lr_end_transaction("位置", LR_AUTO);
return 0;
} |
|