55286

SOAP WSDL error

Question:

I'm trying to call a webservice in php. With php 5.3.0 it works fine but it must work with 5.2.0

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

I've searched the net allready, and I found that it could be a bug. I did what they suggested but it stille won't work.

This is my code:

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; } }

What am I doing wrong?

Answer1:

Do you have openssl enabled in php.ini for the 5.2.0 installation?

Recommend

  • Active Directory Module
  • Perform Get request with matrix parameters?
  • browser close event not page refresh/reload event
  • Duplicate last table row but change class in jquery
  • angular2 material “progress circle”
  • CoreAudioApi with threading - InvalidCastException
  • current user id saved from _form or controller
  • Search Google Drive folder from Google Site using Apps Script
  • React Native - get refs of custom components in listview from renderRow
  • Redisplay results list on AutoCompleteExtender through javascript
  • ant copy copying order
  • How to trigger a KeyPressed event for unit testing in JAVA
  • How to specify Data type in WSDL when exposed from CXF
  • How do I split this string into an array?
  • An unexpected error has been detected by HotSpot Virtual Machine
  • iPhone - UIWebView multiple locks
  • How to get to older Xcode beta version?
  • Safari PHP form submission -file upload hangs
  • What is “PHP-standardized” version number strings?
  • Generating random numbers directly inside a .htaccess file
  • android duplicate provider authority on apps that don't have provider
  • How to set `secure` and `httpOnly` for Plones `__ac` cookie?
  • How to create virtual printer with iOS Simulator?
  • Single django queryset to get n adjacent items
  • Criterion causing memory consumption to explode, no CAFs in sight
  • Are Richfaces and Primefaces compatible with each other?
  • Request response issues in biztalk
  • cordova is not defined - cordova.js has already been loaded :: Ionic
  • Clear fused location provider's location for testing
  • Do I need to seed any random number generator before using EVP_PKEY_keygen of OpenSSL?
  • azure media services - The request body is too large and exceeds the maximum permissible limit
  • How to define and use opencv mat of user type
  • MailKit: The IMAP server replied to the 'EXAMINE' command with a 'BAD' response
  • Why ng-show works with ng-repeat but ng-if doesn't? [duplicate]
  • RectangularRangeIndicator format like triangular using dojo
  • Get object from AWS S3 as a stream
  • Cross-Platform Protobuf Serialization
  • Validaiting emails with Net.Mail MailAddress
  • Do I've to free mysql result after storing it?
  • log4net write single file for each call to log.info