Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

We get an error with : SoapClient::__setSoapHeaders #61

Open
cease15 opened this issue Sep 2, 2016 · 3 comments
Open

We get an error with : SoapClient::__setSoapHeaders #61

cease15 opened this issue Sep 2, 2016 · 3 comments

Comments

@cease15
Copy link

cease15 commented Sep 2, 2016

[error] [client 10.101.0.6] PHP Fatal error: SoapClient::__setSoapHeaders() [soapclient.--setsoapheaders]: Invalid SOAP header in /rl/product/plat/releases/plat/BUSSYS-PLATWEB-1390/web/zf_platform/library/Application/Model/Salesforce/SforceBaseClient.php on line 275

@miggynascimento
Copy link

We're getting the exact same error as well. In our case, when it is trying to set the headers on a "create"call, it tries to set the headers with a null value.

@miggynascimento
Copy link

@cease15 after seeing this issue: #30, i checked to see if it was logging in properly and it turns out that our security token had changed and thus the login became invalid.

I would check the credentials and update them accordingly. :)

@sanjubaba07
Copy link

sanjubaba07 commented Jul 7, 2017

I have been trying to make the salesforce SOAP API Integration working with php 7.0 version. Getting above errors. I have tried different salesforce versions and the latest was 27.0.2. I am getting the following error :


Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SforcePartnerClient has a deprecated constructor in /home/forge/salesforce.livebetter.bbe .io/public/app/salesforceAPI/soapclient/SforcePartnerClient.php on line 40

Fatal error: Uncaught Error: Call to a member function __setSoapHeaders() on null in /home/forge /salesforce.livebetter.bbe.io/public/app/salesforceAPI/soapclient/SforceBaseClient.php:149 Stack trace: #0 /home/forge/salesforce.livebetter.bbe.io/public/app/salesforceAPI/inc_connection.php(20): SforceBaseClient- >login('[email protected]', 'Medibank@123wcH...') #1 /home/forge/salesforce.livebetter.bbe.io/public/app/themes/livebetter/app/config/site/rest-endpoints /lead.php(20): include_once('/home/forge/sal...') #2 {main} thrown in /home/forge/salesforce.livebetter.bbe.io/public/app/salesforceAPI/soapclient/SforceBaseClient .php on line 149

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants