we are trying to devolop a android app for magento site

we followed the follwing link to create a api username and key in magento admin panel.


from this api key and username we are getting the session id .

but we did lot of customization for this site.

after customization we can not able to get the session id.

please help what i have to do to get the session id for the customized site.

this error we are getting : http://sitename.com/index.php/api/v2_soap/

2 Answers 2


Call like this http://videomergerapp.com/index.php/api/v2_soap/?wsdl=1

And you can get session token by trying codes as follow:

$client = new SoapClient('http://videomergerapp.com/index.php/api/v2_soap/?wsdl=1');
$session = $client->login('username', 'password');
  • How to check existing session token,if it is valid or not? Commented Dec 7, 2016 at 14:03

I got a solution. There was a problem with an extension.

once we disabled that extension. we got the session id.

From now onwards, once we use any exxtension, than we have to check whether it supports our app or not-:)

Your Answer

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

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