Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.53 KB | None | 0 0
  1. <?php
  2.  
  3. echo "<pre>";
  4.  
  5. $opts = array (
  6.     'ssl' => array('ciphers'=>'RC4-SHA', 'verify_peer'=>false, 'verify_peer_name'=>false)
  7. );
  8.  
  9. $params = array ('encoding' => 'UTF-8', 'verifypeer' => false, 'verifyhost' => false, 'soap_version' => SOAP_1_2, 'trace' => 1, 'exceptions' => 1, "connection_timeout" => 30, 'stream_context' => stream_context_create($opts) );
  10.  
  11. $client = new SoapClient ( 'http://kordis.idsjmk.cz:8000/Traffic/?wsdl', $params );
  12.  
  13. $response = $client->__soapCall('methodname', array($params));
  14.  
  15. print_r($response);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement