Created
November 3, 2019 06:54
-
-
Save afaqk9394/301e2e7446fc426fe5d7d7dd2bde76b8 to your computer and use it in GitHub Desktop.
capabilities of Cisco collaboration platforms and APIs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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