Gist · 3 / URL: /gists
Public Gist
Expires: Never
branko - created 10 years and 5 months ago
added file: soap_connect_options.php
soap_connect_options.php
$url = "https://issues.cryptca.org/api/soap/mantisconnect.php?wsdl";
$connect_options = array (
                          "stream_context" => stream_context_create (
                                                                    array (
                                                                           "ssl" => array (
                                                                                           "verify_peer" => true,
                                                                                           "cafile" => "/home/branko/private/cryptca/tmp/chain.pem"
                                                                                           )
                                                                          )
                                                                    )
                          );

$client = new SoapClient($url, $connect_options);