php - SOAP Magento create product -


i push information database magento website. @ end of the soap documentation on catalog_product.create, there example of how connect soap , how create product.

here problem, first line not working:

$client = new \soapclient($host."/api/v2_soap/?wsdl"); 

this failing , return error:

soap-error: parsing wsdl: couldn't load 'xxxxxxxx/api/v2_soap/?wsdl' : failed load external entity "xxxxxxxxxxx/api/v2_soap/?wsdl"

i tried other url work, not find on these methods , don't know how use them. example, soap/default?wsdl&services=bundleproductlinkmanagementv1

depending on server configuration, might need use index.php:

$client = new \soapclient($host."index.php/api/v2_soap/?wsdl"); 

i've double checked on of own magento installs , wsdl appear.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -