在PHP Soap连接中排除Schema

时间:2016-04-26 18:26:50

标签: php web-services soap wsdl

我能够在Soap UI中发出请求并获得响应,但是甚至无法通过PHP连接到我的WSDL。我一直收到这个错误:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: can't import schema from 'http://www.w3.org/2005/05/xmlmime'

错误中的架构在Soap UI的代理设置和WSDL设置中都被排除。

enter image description here

enter image description here

如何在PHP中排除此架构? 这是我现在的代码:

$wsdl = $_POST["url"];
$client = new SoapClient($wsdl);

0 个答案:

没有答案