SOAP WSDL hatası

0 Cevap php

Ben php bir webcoder çağırmak çalışıyorum. Php 5.3.0 ile gayet iyi çalışıyor ama 5.2.0 ile çalışmak gerekir

Now i'm getting this error when I execute my webservice: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from https://xx.xx.xx.xx:port/webdialer/services/WebdialerSoapService?wsdl'

Allready net aradık, ve ben bunun bir hata olabilir bulundu. Ben onlar önerdi yaptım ama o stille çalışmaz.

Bu benim kodudur:

 function MakeCall($linenumber, $destinationNumber, $deviceName){
 /*try {
    if(!@file_get_contents($wsdl)) {
        throw new SoapFault('Server', 'No WSDL found at ' . $wsdl);
    }*/
 try{
     $soap = new SoapClient("https://xx.xx.xx.xx:port/webdialer/services/WebdialerSoapService?wsdl",array(
  "uri" => "urn:WebdialerSoap",
  "trace" => 1,
  "exceptions" => 1)); 

  $rs2 = $soap->makeCallSoap(
   array(
    "userID"=>'xx',
    "password"=>'xx'
   ),
   $destinationNumber, // Destination number to be called
   array(
    'user'=>'user',
    'deviceName'=>$deviceName,
    'lineNumber'=>$linenumber,
    'supportEM'=>false,
    'locale'=>'English',
    'dontAutoClose'=>true,
    'dontShowCallConf'=>true
   )
  );
  return $rs2;
 } catch(SoapFault $e) {
     echo $e;
 }
}

Ben yanlış ne yapıyorum?

0 Cevap