Error using Soap Client in Magento
-
13-12-2019 - |
Question
Hi there i am facing the following error when trying to test whether soap client is working or not:
XML Parsing Error: mismatched tag. Expected: </schema>.
Location: http://localhost/magento/index.php/api/?wsdl=1
Line Number 13, Column 15: </complexType
i am hitting the following url to reach out to the wsdl
http://localhost/magento/index.php/api/?wsdl=1
i have started working with magento and trying to access its webservice.
Solution
As mentioned in the comments above:
The right URL to use with SOAPv2 API is:
http://localhost/magento/index.php/api/v2_soap?wsdl=1
(with or without index.php)
Further information on the SOAP API usage can be found in the Magento SOAP API introduction: http://magentocommerce.com/api/soap/introduction.html
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange