-
Notifications
You must be signed in to change notification settings - Fork 62
Closed
Description
To Reproduce
Steps to reproduce the behavior:
- Go to PostNL > Configuration
- Configure test credentials in Test mode
- Click on validate API Credentials
Please note that when we work with the Live config it works. But we really need Test mode to work as well.
Expected result
No error and positive feedback
Actual result
We get an error as below:
2 exception(s):
Exception #0 (TIG\PostNL\Webservices\Api\Exception): [] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api-sandbox.postnl.nl/shipment/v1_1/barcode/soap.wsdl' : failed to load external entity "https://api-sandbox.postnl.nl/shipment/v1_1/barcode/soap.wsdl"
Exception #1 (SoapFault): SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api-sandbox.postnl.nl/shipment/v1_1/barcode/soap.wsdl' : failed to load external entity "https://api-sandbox.postnl.nl/shipment/v1_1/barcode/soap.wsdl"
Exception #0 (TIG\PostNL\Webservices\Api\Exception): [] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api-sandbox.postnl.nl/shipment/v1_1/barcode/soap.wsdl' : failed to load external entity "https://api-sandbox.postnl.nl/shipment/v1_1/barcode/soap.wsdl"
<pre>#1 TIG\PostNL\Webservices\ExceptionHandler->handle() called at [vendor/tig/postnl-magento2/Webservices/Soap.php:93]
#2 TIG\PostNL\Webservices\Soap->call() called at [vendor/tig/postnl-magento2/Controller/Adminhtml/Config/Validate/ApiCredentials.php:149]
#3 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials->validateApiCredentials() called at [vendor/tig/postnl-magento2/Controller/Adminhtml/Config/Validate/ApiCredentials.php:118]
#4 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials->execute() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#5 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#6 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#7 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->___callPlugins() called at [generated/code/TIG/PostNL/Controller/Adminhtml/Config/Validate/ApiCredentials/Interceptor.php:23]
#8 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:111]
#9 Magento\Framework\App\Action\Action->dispatch() called at [vendor/magento/module-backend/App/AbstractAction.php:151]
#10 Magento\Backend\App\AbstractAction->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#11 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#12 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-backend/App/Action/Plugin/Authentication.php:145]
#13 Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#14 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#15 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->___callPlugins() called at [generated/code/TIG/PostNL/Controller/Adminhtml/Config/Validate/ApiCredentials/Interceptor.php:32]
#16 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->dispatch() called at [vendor/magento/framework/App/FrontController.php:245]
#17 Magento\Framework\App\FrontController->getActionResponse() called at [vendor/magento/framework/App/FrontController.php:212]
#18 Magento\Framework\App\FrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:146]
#19 Magento\Framework\App\FrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#20 Magento\Framework\App\FrontController\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#21 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#22 Magento\Framework\App\FrontController\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:23]
#23 Magento\Framework\App\FrontController\Interceptor->dispatch() called at [vendor/magento/framework/App/Http.php:116]
#24 Magento\Framework\App\Http->launch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#25 Magento\Framework\App\Http\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#26 Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-application-performance-monitor/Plugin/ApplicationPerformanceMonitor.php:38]
#27 Magento\ApplicationPerformanceMonitor\Plugin\ApplicationPerformanceMonitor->aroundLaunch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#28 Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#29 Magento\Framework\App\Http\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:23]
#30 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:264]
#31 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:30]
</pre>
Exception #1 (SoapFault): SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api-sandbox.postnl.nl/shipment/v1_1/barcode/soap.wsdl' : failed to load external entity "https://api-sandbox.postnl.nl/shipment/v1_1/barcode/soap.wsdl"
<pre>#1 Laminas\Soap\Client\Common->__construct() called at [vendor/laminas/laminas-soap/src/Client.php:1120]
#2 Laminas\Soap\Client->initSoapClientObject() called at [vendor/laminas/laminas-soap/src/Client.php:1293]
#3 Laminas\Soap\Client->getSoapClient() called at [vendor/laminas/laminas-soap/src/Client.php:1205]
#4 Laminas\Soap\Client->__call() called at [vendor/tig/postnl-magento2/Webservices/Soap.php:91]
#5 TIG\PostNL\Webservices\Soap->call() called at [vendor/tig/postnl-magento2/Controller/Adminhtml/Config/Validate/ApiCredentials.php:149]
#6 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials->validateApiCredentials() called at [vendor/tig/postnl-magento2/Controller/Adminhtml/Config/Validate/ApiCredentials.php:118]
#7 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials->execute() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#8 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#9 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#10 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->___callPlugins() called at [generated/code/TIG/PostNL/Controller/Adminhtml/Config/Validate/ApiCredentials/Interceptor.php:23]
#11 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:111]
#12 Magento\Framework\App\Action\Action->dispatch() called at [vendor/magento/module-backend/App/AbstractAction.php:151]
#13 Magento\Backend\App\AbstractAction->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#14 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#15 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-backend/App/Action/Plugin/Authentication.php:145]
#16 Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#17 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#18 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->___callPlugins() called at [generated/code/TIG/PostNL/Controller/Adminhtml/Config/Validate/ApiCredentials/Interceptor.php:32]
#19 TIG\PostNL\Controller\Adminhtml\Config\Validate\ApiCredentials\Interceptor->dispatch() called at [vendor/magento/framework/App/FrontController.php:245]
#20 Magento\Framework\App\FrontController->getActionResponse() called at [vendor/magento/framework/App/FrontController.php:212]
#21 Magento\Framework\App\FrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:146]
#22 Magento\Framework\App\FrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#23 Magento\Framework\App\FrontController\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#24 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#25 Magento\Framework\App\FrontController\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:23]
#26 Magento\Framework\App\FrontController\Interceptor->dispatch() called at [vendor/magento/framework/App/Http.php:116]
#27 Magento\Framework\App\Http->launch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#28 Magento\Framework\App\Http\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#29 Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-application-performance-monitor/Plugin/ApplicationPerformanceMonitor.php:38]
#30 Magento\ApplicationPerformanceMonitor\Plugin\ApplicationPerformanceMonitor->aroundLaunch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#31 Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#32 Magento\Framework\App\Http\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:23]
#33 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:264]
#34 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:30]
Workaround
None
** Please complete the following information**
- Magento version: 2.4.8-p2
- PHP version: 8.2.30
- TIG PostNL version: 1.23.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
