WSDL has invalid url at soap location: Magento address

I am working on the Magento Soap API, but when I log in, I get a full HTML index page on the site instead of the actual data.

After debugging using the Soap user interface, I found that the soap: URL is invalid.

URL: http://SITENAME/index.php/?type=v2_soap
http://SITENAME/api/v2_soap/?wsdl=1 URL: http://SITENAME/api/v2_soap/?wsdl=1

I also checked in wsdl xml. It has default values.

Does anyone face the same problem? Please, help!

+5
source share
1 answer

If you haven’t changed anything in the Magento code, you should use this URL:

https://yourmagentosite.com/index.php/api/v2_soap/index/

if it does not work, try using: https://yourmagentosite.com/index.php/api/v2_soap/

Also, keep in mind that some URLs may not work due to incorrect web server configuration, so you should examine the web server configuration.

0
source

Source: https://habr.com/ru/post/1213303/


All Articles