$url , 'proxy_host' => SOAPAPI_HOST, 'proxy_port' => SOAPAPI_PORT ) ); } else if (strcmp("https", SOAPAPI_PROTO) == 0) { // creating a new SoapApi object. A fault will be raised if unsucessul. $c = new SoapApi(SOAPAPI_WSDL_FILE, array( 'location' => $url, 'local_cert' => SOAPAPI_CLIENT_CERT, 'passphrase' => SOAPAPI_CLIENT_CERT_PASSPHRASE ) ); } else { echo "unknown protocol <" . SOAPAPI_PROTO . ">\n"; exit(1); } //echo "Retrieving SOAP API version...\n"; $rc = $c->soapGetSOAPVersion(); if (strcmp($rc->version, REQUIRED_API_VERSION) != 0) { printf("Incorrect SOAP API version found: <%s> - expecting <%s>\n", $rc->version, REQUIRED_API_VERSION ); exit(1); } printf("