SOAP - 连接被拒绝
SOAP - connection refused
我无法连接到 SOAP 服务
new SoapClient('https://stest.bankconnect.dk/2017/02/02/services/CorporateService?wsdl');
错误
SoapClient::SoapClient(http://stest.bankconnect.dk/2017/02/02/services/CorporateService?xsd=xsd/xmldsig-core-schema.xsd):
failed to open stream: Connection refused
/var/www/dyntest.dk/php/class/Bankconnect.php(7)
在浏览器中请求 URL 时.. 没问题.. 我得到 XML 文档
您可以浏览 wsdl,但是 link 到 xml 不工作:
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://stest.bankconnect.dk/2017/02/02/services/CorporateService?xsd=xsd/xmldsig-core-schema.xsd"/>
它可能是错误的,无法正常工作,或者很可能受到防火墙或其他阻止连接的保护。
我无法连接到 SOAP 服务
new SoapClient('https://stest.bankconnect.dk/2017/02/02/services/CorporateService?wsdl');
错误
SoapClient::SoapClient(http://stest.bankconnect.dk/2017/02/02/services/CorporateService?xsd=xsd/xmldsig-core-schema.xsd): failed to open stream: Connection refused /var/www/dyntest.dk/php/class/Bankconnect.php(7)
在浏览器中请求 URL 时.. 没问题.. 我得到 XML 文档
您可以浏览 wsdl,但是 link 到 xml 不工作:
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://stest.bankconnect.dk/2017/02/02/services/CorporateService?xsd=xsd/xmldsig-core-schema.xsd"/>
它可能是错误的,无法正常工作,或者很可能受到防火墙或其他阻止连接的保护。