PHP code example of robcaw / soap-client

1. Go to this page and download the library: Download robcaw/soap-client library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

robcaw / soap-client example snippets


use BeSimple\SoapClient\SoapClient as Soap;

$options = array(
    "trace"=> true,
    "exceptions"=> true,
    'curl_ssl_version' => 3, //Must be version 3 for Orange/EE wsdl
);

$soap = new Soap($url, $options);

$xml = $soap->peekMessages($username, $password, 50);

print_r($xml);