|
原脚本:
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>"
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?><sxoa><text><id>131409347123468</id><title>ssss</title><contentdoc></contentdoc><filesxml><filemember><filename>13140685887181.jpg</filename><filexml>...</pathcontent></text></sxoa>]]>"
"</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 [MsgId: MMSG-26392]
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.
求达人留解决方法! |
|