【求破】web_custom_request自定义写http webservice Soap报错的问题
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;
}
报错信息见图:
不知道地址腰写到哪一层?要加wsdl么? 可能需要加session值吧 可能需要加session值吧 要加?wsdl
页:
[1]