Magento Forum

Is SOAPClient gonna work if SSL is Self-Signed? 
 
Richard Feraro
Jr. Member
 
Avatar
Total Posts:  23
Joined:  2009-02-12
Manila
 

My Server is running on PHP 5.x

I have these codes in my index.php

$client = new SoapClient("https://www.mydomain.com/magento/index.php/api/?wsdl");

$session $client->login('test''4325435');
$result$client->call($session'customer.list');

echo 
'<pre>';
print_r($result);
echo 
'<pre>';

Result is:

<SOAP-ENV:Envelope>
<
SOAP-ENV:Body>
<
SOAP-ENV:Fault>
<
faultcode>WSDL</faultcode>
<
faultstring>
SOAP-ERRORParsing WSDLCouldn't load from 'https://www.mydomain.com/magento/index.php/api/index/index/wsdl/1/'
</faultstring>
</
SOAP-ENV:Fault>
</
SOAP-ENV:Body>
</
SOAP-ENV:Envelope>
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top