1

We have configured our Magento installation so that the admin panel is accessible using a different domain from the main website i.e.

admin.thewebsite.com

Accessing the the SOAP API using

www.thewebsite.com/api/v2_soap?wsdl=1

Results in the WSDL being displayed, however the the soap:address location value in here references the admin.thewebsite.com domain

Which is where the problem lies, as this URL can not be accessed, and simply redirects to the admin panel.

I have switched off the 'Redirect to Base URL' setting in Magento, as suggested in another stack overflow post.

Is there a way to resolve this so Magento does not need to access the admin.thewebsite.com domain for the SOAP API to work?

asked Jul 8, 2015 at 10:51

1 Answer 1

2

The problem in the end was how we had setup the admin domain. We had configured it through ngnix to use the 'admin' store code. Fix was to change the ngnix configuration so if a request to the api route was made, it would not set the store code to admin

answered Jul 21, 2015 at 12:42

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.