1 $mySoapClient = $sfConnection->createConnection('partner.wsdl'); 2 $serverUrl = "https://ap1.salesforce.com/services/Soap/u/25.0/00D90000000Abcd"; 3 $sessionId = "<<ACCESS TOKEN>>"; 4 $mylogin = $sfConnection->attach($serverUrl, $sessionId);