Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOAP-ERROR: Parsing WSDL #23

Open
amitpatelx opened this issue Oct 18, 2017 · 0 comments
Open

SOAP-ERROR: Parsing WSDL #23

amitpatelx opened this issue Oct 18, 2017 · 0 comments

Comments

@amitpatelx
Copy link

amitpatelx commented Oct 18, 2017

client = Savon.client(wsdl: "http://local.magento/api/v2_soap/index?wsdl=1", read_timeout: 300)

params = {:message=>{:username=>"myuser", :api_key=>"randomapikey123"}}
client.operations # works. Lists all operations

client.call(:login, params) 

The last line gives following Error

Savon::SOAPFault: (WSDL) SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://local.magento/index.php/api/v2_soap/index/?wsdl=1' : failed to load external entity "http://local.magento/index.php/api/v2_soap/index/?wsdl=1"

The port mappings is 80:80

As you can see, it adds /index.php to the host

Similar issue with Vagrant rjbaker/simple-magento-vagrant#7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant