在使用soap_request时报错:Expected SOAP result, received SOAP fault
原脚本:Action()
{
web_add_auto_header("SOAPAction","test");
soap_request("StepName=SOAP Request",
"URL=http://192.168.10.166:8084/services/DecSyncWebService",
"SOAPEnvelope="
"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:tran=\"http://transform.sxoa.gsb.essp.com/\">"
"<soapenv:Header/>"
"<soapenv:Body>"
"<tran:SendFile>"
"<filexml>"
"<!]>"
"</filexml>"
"</tran:SendFile>"
"</soapenv:Body>"
"</soapenv:Envelope>",
"SOAPAction=",
"ResponseParam=response",
"Snapshot=t1329878267.inf",
LAST);
return 0;
}
输出:
Starting action Action.
Action.c(3): web_add_auto_header("SOAPAction") was successful
Action.c(6): SOAP request "SOAP Request" started
Action.c(6): Warning: HTTP status code 500 returned by the server
Action.c(6): Error: <CENTER><STRONG><FONT COLOR=#FF0031>Expected SOAP result, received SOAP fault</FONT></STRONG></CENTER>
Action.c(6): Error: SOAP request "SOAP Request" execution failed
Ending action Action.
求达人留解决方法!
页:
[1]