When I use port with URL I get error:
Code:
try {
$options = [
'login' => "999999",
'password' => "999999testtest"
];
$request = new SoapClient("https://erpefaturatest.cs.com.tr:8043/efatura/ws/connectorService?wsdl", $options);
print_r($request);
} catch (Exception $exc) {
print_r($exc);
}
Error: SOAP-ERROR: Parsing WSDL: Couldn't load from
But wihthout port I don't get error:
Code:
try {
$options = [
'login' => "999999",
'password' => "999999testtest"
];
$request = new SoapClient("https://connectortest.efinans.com.tr/connector/ws/connectorService?wsdl", $options);
print_r($request);
} catch (Exception $exc) {
print_r($exc);
}
I don't understand the problem. Any idea?