clarkk
clarkk

Reputation: 27685

SOAP - connection refused

I can't connect to a SOAP service

new SoapClient('https://stest.bankconnect.dk/2017/02/02/services/CorporateService?wsdl');

error

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)

When requesting the URL in the browser.. No problem.. I get the XML document

Upvotes: 0

Views: 3106

Answers (1)

M K
M K

Reputation: 76

You can browse the wsdl but the link to the xml is not working :

<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"/> 

its either wrong, not working, or most likely to be secured with a firewall or something else that prevents the connection.

Upvotes: 1

Related Questions