View Single Post
  #5  
Old 05-06-2008, 06:55 PM
Matt Matt is offline
Junior Member
 
Join Date: May 2008
Posts: 7

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
Reply With Quote