|
I’m a little unsure of how to get started with API....could someone please advise? I created a PHP file and put in this code:
<?
$proxy = new SoapClient('http://mydomain.com/api/?wsdl'); $sessionId = $proxy->login('apiUser', 'apiKey'); var_dump($proxy->call($sessionId, 'product.info', 'InvOf_78'));
?>
but then I got this error:
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://mydomain.com/api/soap/?wsdl' in /home/liquncom/public_html/custom/soap.php:3 Stack trace: #0 /home/liquncom/public_html/custom/soap.php(3): SoapClient->SoapClient('http://liquidat...') #1 {main} thrown in /home/liquncom/public_html/custom/soap.php on line 3
|