0

I tried to load for example : https://example.com/soap

It download the SOAP File with Following Content :

    <?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:m="https%3A%2F%2Fwww.example.com%2Fsoap%2Fdefault%3Fwsdl%3D1">
   <env:Body>
      <env:Fault>
         <env:Code>
            <env:Value>env:Receiver</env:Value>
         </env:Code>
         <env:Reason>
            <env:Text xml:lang="en">Invalid XML</env:Text>
         </env:Reason>
         <env:Detail><m:GenericFault><m:Trace>&lt;![CDATA[#0 /home/example/public_html/vendor/magento/module-webapi/Model/Soap/Server.php(121): Magento\Webapi\Model\Soap\Server-&gt;_checkRequest(&#039;&#039;)
#1 /home/example/public_html/generated/code/Magento/Webapi/Model/Soap/Server/Proxy.php(95): Magento\Webapi\Model\Soap\Server-&gt;handle()
#2 /home/example/public_html/vendor/magento/module-webapi/Controller/Soap.php(148): Magento\Webapi\Model\Soap\Server\Proxy-&gt;handle()
#3 /home/example/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Webapi\Controller\Soap-&gt;dispatch(Object(Magento\Framework\App\Request\Http))
#4 /home/example/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Webapi\Controller\Soap\Interceptor-&gt;___callParent(&#039;dispatch&#039;, Array)
#5 /home/example/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Webapi\Controller\Soap\Interceptor-&gt;Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#6 /home/example/public_html/generated/code/Magento/Webapi/Controller/Soap/Interceptor.php(23): Magento\Webapi\Controller\Soap\Interceptor-&gt;___callPlugins(&#039;dispatch&#039;, Array, Array)
#7 /home/example/public_html/vendor/magento/framework/App/Http.php(116): Magento\Webapi\Controller\Soap\Interceptor-&gt;dispatch(Object(Magento\Framework\App\Request\Http))
#8 /home/example/public_html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http-&gt;launch()
#9 /home/example/public_html/pub/index.php(29): Magento\Framework\App\Bootstrap-&gt;run(Object(Magento\Framework\App\Http\Interceptor))
#10 {main}]]&gt;</m:Trace></m:GenericFault></env:Detail>
      </env:Fault>
   </env:Body>
</env:Envelope>

Can Anyone Help me about this? For what reason it causes this error

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.