Hello. what is the $key in the code? is it the token? will i separate the token with the password? and i get this error:
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't find <definitions> in 'C:/xampp/htdocs/phptoolkit/soapclient/partner.wsdl.xml' in C:\xampp\htdocs\phptoolkit\soapclient\SforceBaseCl ient.php:121 Stack trace: #0 C:\xampp\htdocs\phptoolkit\soapclient\SforceBaseCl ient.php(121): SoapClient->SoapClient('C:/xampp/htdocs...', Array) #1 C:\xampp\htdocs\phptoolkit\samples\integration.php (17): SforceBaseClient->createConnection('C:/xampp/htdocs...') #2 {main} thrown in C:\xampp\htdocs\phptoolkit\soapclient\SforceBaseCl ient.php on line 121
help please. tnx -michael
@kawayan01
Yes the $key is the token and you just have to make sure that they key is concatinated to the $password, like this:
The other error tells me that your path is incorrect in your script and that it could not find your WSDL filePHP Code:$password = 'password';
$key = 'key';
$password = $password . $key;
Hope that helps!
~Mike
Bookmarks