Blog

Magento Installation SOAP error in loading WSDL

Tags: magentoSOAPWSDL

Published on: July 16, 2009 by George K.

Magento Installation SOAP error in loading WSDL

Scenario:

We provide Magento installation service to our clients and sometimes after installation we got the SOAP error on loading WSDL.Let us see the issue in detail, When you are trying to access the URL at http://www.example.com/api/soap/index/ , it gets redirected to http://www.example.com/index.php/api/soap/index/ you get the following error. But if you try to load the API directly, you get the WSDL as it should be in a XML format.

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<
SOAP-ENV:Body>
<
SOAP-ENV:Fault>
<
faultcode>WSDL</faultcode>
<
faultstring>SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.example.com/api/soap/index/wsdl/1/'</faultstring>
</SOAP-ENV:Fault>
</
SOAP-ENV:Body>
</
SOAP-ENV:Envelope>

There could be many reasons for this. But the issue with us for that particular issue is that www.example.com was not resolving from the server. A simple /etc/hosts entry in the server (poor solution) or making it resolve from the server should solve the issue.

Category : Howtos, Linux, magento, Snippets, Troubleshooting

George K.

George K.

George started his career in web hosting and Linux technical support in the year 2004 and is with SupportSages since 2009. He has keen interest in server optimizations, custom security solutions, hacked server recovery, cyber forensic and high availability fail over system design and implementation. George loves long drives and is passionate about art and literature.

You may also read:

Comments

Add new commentSIGN IN

Let's Connect

Get new updates

Categories

$0.000 items