<?php$client = new SoapClient( null, array( "location" => "https://PRODUCTION/cmd.php", "uri" => "http://PRODUCTION/soap" ));$params = array ( "data" => array ( "login" => "demo", "password" => "password", ));$response = $client->__call("Login",$params);$token = $response["data"]["ssid"];$params = array ( "data" => array ( "ssid" => $token, "orderid" => 24 ));$response = $this->client->__call("Get_Certificate", $params);?> OUTPUT: [status] => ok [data] => Array ( [certificate] => ... [expire] => 2016-01-01 [domain] => domain.or.af [type] => rapidssl )
<?php$client = new SoapClient( null, array( "location" => "https://PRODUCTION/cmd.php", "uri" => "http://PRODUCTION/soap" ));$params = array ( "data" => array ( "login" => "demo", "password" => "password", ));$response = $client->__call("Login",$params);$token = $response["data"]["ssid"];$params = array ( "data" => array ( "ssid" => $token, "orderid" => 24 ));$response = $this->client->__call("Get_Certificate", $params);?>