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
Kanhaiya Yadav 4Kanhaiya Yadav 4 

Session_ID_Remove in Soap API using partner wsdl

Hi,

    I using patner wsdl in soap api integration, but i got an issue Session_ID_Remove. Please check the following code

 partnerSoapSforceCom.soap mypartnerSoap = New  partnerSoapSforceCom.soap();
   partnerSoapSforceCom.LoginResult partnerLoginResult = mypartnerSoap.Login('kanhaiya@innovellent.com','552#2455Dinl45545166L5fHlCLyT65');
       system.debug(partnerLoginResult );
     system.debug(partnerLoginResult.sessionId);


Thanks
Kanhaiya Yadav
PawanKumarPawanKumar
Hi,

Response from the Salesforce Security Team:

Since Summer '17 the SessionId will no longer be returned in Debug logs.
Instead in its place, SESSION_ID_REMOVED will be returned.
e.g. Prior to this patch
System.debug(UserInfo.getSessionID()); would return
18:44:36:004 USER_DEBUG [1]|DEBUG|00D3A0000000001!ARkAQApQe_Omitted_yGifr.u7.
after the patch, it now returns
18:44:36:004 USER_DEBUG [1]|DEBUG|SESSION_ID_REMOVED
Customers can request a temporary deactivation of this change be disabled for their organizations by providing System Admin approval and acknowledgment of the security risks to exposing sessionIds in Debug Logs Note that this permission can only be enabled for 2 weeks upon the customer's request.

https://salesforce.stackexchange.com/questions/179845/session-id-remove-issue-in-api-callouts-in-salesforce

Regards,
Pawan Kumar