0
任何可用的綁定服務,我想打一個werbservice調用,但它給了我下面的錯誤:SOAP的錯誤:解析WSDL:找不到在WSD
SOAP的錯誤:解析WSDL:找不到任何可用在
這裏裝訂服務是代碼
error_reporting(E_ALL);
ini_set('display_errors', '1');
define('URI', 'http://200.31.114.39/Servicio-Rest/STMPOST_SMAR.svc?singlewsdl');
try {
$client = new SoapClient(URI);
print_r($client);
//~ $result = $client->SomeFunction();
} catch (SoapFault $fault) {
trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR);
}
出了什麼問題?
FYI:
我有肥皂啓用
$ php -i | grep -i soap
soap
Soap Client => enabled
Soap Server => enabled
soap.wsdl_cache => 1 => 1
soap.wsdl_cache_dir => /tmp => /tmp
soap.wsdl_cache_enabled => 1 => 1
soap.wsdl_cache_limit => 5 => 5
soap.wsdl_cache_ttl => 86400 => 86400