Hi
I am getting the following error when i try to call the api get_file_list() and get_file with valid parameters.
1
2$client = new SoapClient('https://ip:8443/CDRonDemandService/services/CDRonDemand?wsdl',
3 array('trace'=>1,
4 'exceptions'=>1,
5 'location'=>"https://ip:8443/axl]",
6 'login'=>'user',
7 'password'=>'pwd',
8 ))
9$val=$client->get_file_list(array("Start Time"=>'200909101000',"End Time"=>'200909101059'));
10print_r ($val);
11
The error i am getting is
1
2Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Client] cvc-complex-type.3.2.2: Attribute 'SOAP-ENV:encodingStyle' is not allowed to appear in element 'SOAP-ENV:Envelope'. in /path/a.php:253Stack trace:
3#0 [internal function]: SoapClient->__call('get_file_list', Array)#1 /path/a.php(25): SoapClient->get_file_list(Array)
4#2 {main} thrown in /path/a.php on line 25
Please help me on this ...