dongsui5464 2019-07-19 15:38
浏览 235



I am working on a web service and I am unable to connect always get this error message:

SOAP-ERROR: Parsing Schema: can't import schema from

I did went to all of the SO questions I did not find a solution.


Linux, php7.1

PHP Modules Enabled

bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd,
gettext, hash, iconv, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd,
openssl, pcntl, pcre, PDO, pdo_dblib, pdo_mysql, pdo_sqlite, Phar, posix,
readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL,
sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, 
xmlreader, xmlwriter, xsl, zip, zlib


$wsdlFile = **fullpathtowsdlfile**;
$context = stream_context_create([
            'ssl' => [
                // set some SSL/TLS specific options
                'verify_peer' => false,
                'verify_peer_name' => false,
                'allow_self_signed' => true



$options = array(
            //'stream_context'=>$context, // disable but leaved for reference.
            'local_cert'=> **fullpath**,
            'soap_version'=> SOAP_1_1

$client =  new \SoapClient($wsdlFile, $options);

Also tried the Url instead of the Wsdl file and I get the same error. I can connect to the url via telnet domain 80 , telnet domain 413 and with my browser.

What I am missing? Any help will be appreciated.

  • 写回答



      相关推荐 更多相似问题


      • ¥30 如何用matlab表达以下公式?
      • ¥15 在arm架构芯片上基于32位linux操作系统做内存检查
      • ¥15 怎么样才能禁止VS自动调整Windows窗体布局
      • ¥15 mysql5.7.40安装到Initializing database报错,如何解决?
      • ¥30 如何降低hdfs中datanode的JVM内存用量
      • ¥15 Android URL如何转成视频/音频,可行吗?
      • ¥20 Hive SQL数据查询,子查询
      • ¥15 c++字符串分割问题
      • ¥15 vue+uniapp
      • ¥15 android freedom