I cannot call method of sugar by using webservice. Can someone help me?
This is my client code
<?php
$client = new SoapClient('https://[SITE]/testenv/soap.php?wsdl');
$result = $client->end_session("test");
?>
This is output :
Warning: SoapClient::__construct() [function.SoapClient---construct]: I/O warning : failed to load external entity "https://[SITE]/testenv/soap.php?wsdl" in C:\AppServ\www\work\test4.php on line 2
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://[SITE]/testenv/soap.php?wsdl' in C:\AppServ\www\work\test4.php:2 Stack trace: #0 C:\AppServ\www\work\test4.php(2): SoapClient->__construct('https://[SITE]...') #1 {main} thrown in C:\AppServ\www\work\test4.php on line 2


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks