Skip to content

Instantly share code, notes, and snippets.

@afaqk9394
Created November 3, 2019 06:54
Show Gist options
  • Select an option

  • Save afaqk9394/301e2e7446fc426fe5d7d7dd2bde76b8 to your computer and use it in GitHub Desktop.

Select an option

Save afaqk9394/301e2e7446fc426fe5d7d7dd2bde76b8 to your computer and use it in GitHub Desktop.
capabilities of Cisco collaboration platforms and APIs
<?php
$host="10.10.20.100";
$username="administrator";
$password="ciscopsdt";
$context =
stream_context_create(array('ssl'=>array('verify_peer_name'=>true,
'allow_self_signed'=>true,
'cafile'=>"/var/www/html/PHP-Sample/10.10.20.100"
)));
$client = new SoapClient("/var/www/html/PHP-Sample/AXLAPI.wsdl",
array('trace'=>true,
'exceptions'=>true,
'location'=>"https://".$host.":8443/axl",
'login'=>$username,
'password'=>$password,
'stream_context'=>$context
));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment