function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
variaxvariax 

php salesforce integration

i have this error. and i cant solve it for now. im using a php toolkit 11. and xampp.

 

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\SforceBaseClient.php:121 Stack trace: #0 C:\xampp\htdocs\phptoolkit\soapclient\SforceBaseClient.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\SforceBaseClient.php on line 121

 

 

please help me.. tnx :)

msimondsmsimonds

Do you have all the required modules active in your PHP ( Open SSL, SOAP? )

 

Maybe your wsdl file is bad

 

~Mike

variaxvariax

yes i have all of them... how can you say that my wsdl is bad? is there something wrong? im using the partner wsdl.

msimondsmsimonds

The reason I said it was bad is because your error says that it cannot parse the WSDL file, at least that is what I am ready

 

 

Sorry for the delayed response

 

~Mike