Hello i am new to magento. i have a issue about login using SOAPProxy
My code look like
from SOAPpy import *
server = SOAPProxy('http://localhost/magento/api/soap/?wsdl')
session = server.login('admin','my_password')
but it gives me a syntax error like
xml.sax._exceptions.SAXParseException: <unknown>:1:0: syntax error
I am sure that my userid and password are correct.
It looks like the URL to the WSDL could be wrong:
!== null, i.e.?wsdl=1(look intoapp/code/core/Mage/Api/Server/.../Adapter/Soap.php, replace ‘…’ with one of ‘Wsi’, ‘V2’, or ”)index.phpto your url. In your example, this would behttp://localhost/magento/index.php/api/soap/?wsdl=1