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
mahegoatmahegoat 

log in with soapUI

I have tried loggin to salesforce via soapUI. When the header is set (organizationId and the portalId), I get  error messages

<faultcode>sf:INVALID_LOGIN</faultcode>
         <faultstring>INVALID_LOGIN: Invalid username or password, locked out or Customer Service Portal is not enabled</faultstring>

However when i comment the header out, I can sucessfully log in.

 

Does anyone know if more configuration is need so as to successfully log in with the header (organizationId and the portalId) also?

 

Further the organisationId in the Salesforce account is different from the one in the log in response. (The one in the login response ends with MAK). Which is the correct one to use in the log in header.

 

Thank you in advance.

Best Answer chosen by Admin (Salesforce Developers) 
SuperfellSuperfell

The header is only required if you're trying to authenticate portal users, for regular users, just leave the header off.

 

the header will accept either the 15 char or 18 char version of the organizationId