TA的每日心情 | 奋斗 2016-8-6 15:15 |
---|
签到天数: 11 天 连续签到: 1 天 [LV.3]测试连长
|
Action()
{
web_add_header("Accept-Encoding","gzip,deflate");
web_add_header("Content-Type","text/xml;charset=UTF-8");
web_add_header("SOAPAction","\"\"");
web_add_header("Host","10.10.70.192:7001");
web_add_header("Connection","Keep-Alive");
web_add_header("User-Agent","Apache-HttpClient/4.1.1 (java 1.5)");
web_custom_request("LoginLogSave",
"Method=POST",
"URL=http://10.10.70.192:7001/logwebservice/webservice/LoginLogService",
//"RecContentType=text/xml",
"Mode=HTML",
//"EncType=text/xml;charset=UTF-8",
//"UserAgent=Apache-HttpClient/4.1.1",
// "ContentEncoding=gzip,deflate",
"Resource=0",
"Body=<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:web=\"http://webservice.loginLog.log.pisp.telchina.cn/\">"
"<soapenv:Header/>"
"<soapenv:Body>"
"<web:loginLogSave>"
"<arg0>"
"{'DLZH':'superadmin','DLRZID':'test1234567','RYMC':'ӬܶڜmԱ','IP':'16.13.216.140','DLXTBH':'04','DLXTMC':'־ϱąۧ','DLSJ':'2015-11-08 12:25:16.426'}"
"</arg0>"
"</web:loginLogSave>"
"</soapenv:Body>"
"</soapenv:Envelope>",
LAST);
return 0;
}
报错信息见图:
|
|