postnl / postnl-magento2

This is the official Magento 2 extension for the logistics company PostNL. Add shipping options and parcelshops to your checkout. Create labels with track and trace functionality from the backend.
58 stars 61 forks source link

Hello, pickup locations are not showing due to this error on my magento 2 site . yogini.nl, please help #365

Closed ishanchatterjee closed 11 months ago

ishanchatterjee commented 1 year ago

[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" [] []

h1hosting commented 1 year ago

Hi @ishanchatterjee ,

The issue might be related to your server configuration.

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>