I am not much familiar with webservices or SOAP/REST, but i have been trying to figure out why xml file wont load with the following url (which i found in error log),
example.com/index.php/api/v2_soap
which says
<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 'example.com/index.php/api/v2_soap/index/?wsdl=1' : failed to load external entity "example.com/index.php/api/v2_soap/index/?wsdl=1"
</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
and after searching forms and magento SE, i found to test my url like the following, and it worked
example.com/index.php/api/v2_soap?wsdl=1
i am confused, as of why the first url will throw error, and second url will load. I also see in the error and second url the placement of /index right before ?wsdl=1 whereas on the second url, it doesn't have.
What is the best place to learn all about SOAP and API related to magento?
127.0.0.1 yourdomain.com
to the server /etc/hosts it will solve the first issue. If you call now the URL you get the ErrorInvalid XML
and thats in my opinion the second Problem. – Pawel Aug 19 '16 at 12:38