Hej Economic
I am completly new to Economic.
I want to simply try to make a logon to the API just to see if i can. I cant!
I use PHP with following code:
$client = new SoapClient(
'https://api.e-conomic.com/secure/api1/EconomicWebservice.asmx?WSDL',
array( 'trace' => 1,
'exceptions' => 1,
'cache_wsdl' => WSDL_CACHE_NONE,
'keep_alive' => 0,
'connection_timeout' => 10
)
);
$client->Connect(array( 'agreementNumber' => 'xxxxxx',
'userName' => 'xxx',
'password' => 'xxxxxxxx'
)
);
And yes - SOAP is turned on in my php.ini.
I get following failure:
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.e-conomic.com/secure/api1/EconomicWebservice.asmx?WSDL' : failed to load external entity "https://api.e-conomic.com/secure/api1/EconomicWebservice.asmx?WSDL" in C:\xampp\htdocs\economic\connect_to_economic.php:22 Stack trace: #0 C:\xampp\htdocs\economic\connect_to_economic.php(22): SoapClient->SoapClient('https://api.e-c...', Array) #1 {main} thrown in C:\xampp\htdocs\economic\connect_to_economic.php on line 22
Can anybody give me a hint to the problem
Regards Christian