I am unable to connect to generate the sessionid using soap api in magento1.9.

I am getting the following error message:

Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://test.com/api/soap/?wsdl=1' : Premature end of data in tag html line 3


1 Answer 1


Please to add index.php after base url like below

https://test.com/api/soap/?wsdl=1' to https://test.com/index.php/api/soap/?wsdl=1'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.