Here's how I get the SessionId using the Toolkit:
define("SOAP_CLIENT_BASEDIR", "../soapclient");
require_once (SOAP_CLIENT_BASEDIR.'/SforcePartnerClient.php');
$mySforceConnection = new SforcePartnerClient();
$mySoapClient = $mySforceConnection->createConnection(SOAP_CLIENT_BASEDIR.'/partner.wsdl.xml');
$mylogin = $mySforceConnection->login('salesforce-userid', 'password');
$sessionID = $mySforceConnection->getSessionId();
>>Is it just a form that you have? Does this form insert to contacts, >>Cases, or both? IS it a lead that you are creating?
It's a form that takes the user input and creates contacts and cases.
>>Try and email Nick Tran at Salesforce, he is the one that wrote the >>PHPToolKit
>>I will PM his email addy to you
That would be great if you could get me his E-mail! I'd love to see what his thoughts are on this.
If I find a solution I'll post it.
Thanks again!
-Matt
|