Hello, I have got the CUCM setup and activated the CDR onDemand service there. Now i am trying to connect to the webservice through the following code from my PHP Application:
1 $client = new SoapClient('https://ip:8443/CDRonDemandService/services/CDRonDemand?wsdl', array('trace'=>1, 'cache_wsdl' => 0, 'exceptions'=>1, 'location'=>"[url=https://ip:8443/axl]https://ip:8443/axl[/url]", 'login'=>'user', 'password'=>'pwd', )); $val=$client->get_file_list(array("Start Time"=>'201210042300',"End Time"=>'201210050000')); print_r ($val);
this gives the following error:
1 [b]Fatal error[/b]: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://ip:8443/CDRonDemandService/services/CDRonDemand?wsdl' : failed to load external entity [url=https://ip:8443/CDRonDemandService/services/CDRonDemand?wsdl]https://ip:8443/CDRonDemandService/services/CDRonDemand?wsdl[/url]
Secondly if i try to access this wsdl file from browser i get page timeout error and cant get to it unless i connect to this server through vpn.
Please help me with this.