$soap_wsdl = "https://" . $soap_host . ":8880/Api/services/ApiService?wsdl"; // trace = 1 lets us use getLastRequest and getLastResponse // exceptions = 0 uses SoapFault Objects instead of exceptions $soap_arry = array("login" => $soap_user, "password" => $soap_pw, "trace" => 1, "exceptions" => 0);