API call:
http://{magento_host}/soap/default?wsdl&services=all
XML Response:
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" >
<env:Body>
<env:Fault>
<env:Code>
<env:Value>env:Receiver</env:Value>
</env:Code>
<env:Reason>
<env:Text xml:lang="en">Internal Error. Details are available in Magento log file. Report ID: webapi-580089c36e0eb</env:Text>
</env:Reason>
</env:Fault>
</env:Body>
</env:Envelope>This is the stack trace:
Next Exception: Report ID: webapi-5800793bdf54b; Message: Warning: ksort() expects parameter 1 to be array, string given in /var/www/html/magento/vendor/magento/module-webapi/Model/AbstractSchemaGenerator.php on line 98 in /var/www/html/magento/vendor/magento/framework/Webapi/ErrorProcessor.php:195
Stack trace:
#0 /var/www/html/magento/vendor/magento/framework/Webapi/ErrorProcessor.php(139): Magento\Framework\Webapi\ErrorProcessor->_critical(Object(Exception))
#1 /var/www/html/magento/var/generation/Magento/Framework/Webapi/ErrorProcessor/Proxy.php(95): Magento\Framework\Webapi\ErrorProcessor->maskException(Object(Exception))
#2 /var/www/html/magento/vendor/magento/module-webapi/Controller/Soap.php(181): Magento\Framework\Webapi\ErrorProcessor\Proxy->maskException(Object(Exception))
#3 /var/www/html/magento/vendor/magento/module-webapi/Controller/Soap.php(148): Magento\Webapi\Controller\Soap->_prepareErrorResponse(Object(Exception))
#4 /var/www/html/magento/var/generation/Magento/Webapi/Controller/Soap/Interceptor.php(24): Magento\Webapi\Controller\Soap->dispatch(Object(Magento\Framework\App\Request\Http))
#5 /var/www/html/magento/vendor/magento/framework/App/Http.php(135): Magento\Webapi\Controller\Soap\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#6 /var/www/html/magento/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#7 /var/www/html/magento/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#8 {main} [] []
To get a list of the available services please use this url http://example.com/soap/all?wsdl_list=1
Hi MrLewisV
Do you have any solution for the same . I am facing same issue and didn't get any solution ??