|
在公司测试OA提供的webservices接口,试用了两种方式,为何soap_request可以请求成功,而web_service_call请求就报错了呢?请问大虾们,这是为什么?两个函数有何区别?
两个请求函数如下:
soap_request("StepName=SOAP Request",
"URL= http://192.168.17.218:8080/dipAp ... SSImplServices?wsdl",
"SOAPEnvelope="
"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:foss=\"http://foss.errors.businessManagement.integrateportal.dip\">"
"<soapenv:Header></soapenv:Header>"
"<soapenv:Body>"
"<foss:hangdingid>201103100103</foss:hangdingid>"
"</soapenv:Body>"
"</soapenv:Envelope>",
"SOAPAction=",
"ResponseParam=response",
"Snapshot=t1358759330.inf",
LAST);
web_service_call( "StepName=queryVirtrualWaybill_101",
"SOAPMethod=OAErrorsForFOSSImplService|OAErrorsForFOSSImplServices|queryVirtrualWaybill",
"ResponseParam=response",
"Service=OAErrorsForFOSSImplService",
"ExpectedResponse=SoapResult",
"Snapshot=t1362193957.inf",
BEGIN_ARGUMENTS,
"hangdingid=201103100103",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST); |
|