Closed ishanchatterjee closed 11 months ago
Hi @ishanchatterjee ,
The issue might be related to your server configuration.
php_openssl
and/or SOAP PHP
extensions are available and enabled. You could try the following command on your server:php -r '$client = new \SoapClient("https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl", ["trace" => 1,"exceptions" => true]); var_dump($client->__getFunctions());'
It should return something like this:
array(2) {
[0]=>
string(80) "GetDeliveryDateResponse GetDeliveryDate(GetDeliveryDateRequest $GetDeliveryDate)"
[1]=>
string(71) "GetSentDateResponse GetSentDate(GetSentDateRequest $GetSentDateRequest)"
}
Additionally,
php -m
command will allow you to check if all necessary PHP extensions are installed.
<H1>
[2023-06-02 11:12:25] postnl_logging.CRITICAL: [] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl' : failed to load external entity "https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl" [] [] [2023-06-02 11:12:26] postnl_logging.CRITICAL: [] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl' : failed to load external entity "https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl" [] [] [2023-06-02 11:12:36] postnl_logging.CRITICAL: [] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl' : failed to load external entity "https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl" [] [] [2023-06-02 11:12:36] postnl_logging.CRITICAL: [] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl' : failed to load external entity "https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl" [] [] [2023-06-02 11:12:36] postnl_logging.CRITICAL: [] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl' : failed to load external entity "https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl" [] [] [2023-06-02 11:12:37] postnl_logging.CRITICAL: [] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl' : failed to load external entity "https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl" [] [] [2023-06-02 11:19:01] postnl_logging.CRITICAL: [] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl' : failed to load external entity "https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl" [] [] [2023-06-02 11:26:58] postnl_logging.CRITICAL: [] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl' : failed to load external entity "https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl" [] [] [2023-06-02 11:26:59] postnl_logging.CRITICAL: [] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl' : failed to load external entity "https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl" [] [] [2023-06-02 11:26:59] postnl_logging.CRITICAL: [] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl' : failed to load external entity "https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl" [] [] [2023-06-02 11:27:00] postnl_logging.CRITICAL: [] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl' : failed to load external entity "https://api.postnl.nl/shipment/v2_2/calculate/date/soap.wsdl" [] []