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
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:80As you can see, it adds
/index.phpto the hostSimilar issue with Vagrant rjbaker/simple-magento-vagrant#7