0

I want to create a login for ERP in my magento store. I have created a user and role in web services->soap/xml-RPC how can login via soap?

asked Feb 16, 2018 at 8:10

1 Answer 1

1

Endpoint: http://(your host)/api/soap/?wsdl

Endpoint v2: http://(your host)/api/v2_soap/?wsdl

Use soap call login to generate session

$session = $client->login('apiUser', 'apiKey');

then you can use it for other calls

$client->call($session, 'somestuff.method', 'arg1');

Full doc: http://devdocs.magento.com/guides/m1x/api/soap/introduction.html

answered Feb 16, 2018 at 12:29
2
  • where call login to generate session. Commented Feb 16, 2018 at 13:19
  • login is a regular soap call in magento wsdl. Your soap client code depends on where and how you implement it. Commented Feb 16, 2018 at 13:25

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.