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
Aaron Bauman 15Aaron Bauman 15 

Using REST token for SOAP authorization?

REST auth token and SOAP auth token looks identical to me, yet I can't seem to get my Apex Webservice (SOAP) to accept it.
I'm successfully auth'ed to REST Partner API, and I'm trying to use the access token in my SOAP SessionHeader.

Each SOAP call gives me the unhelpful "invalid session" error.
Any ideas?
VineetKumarVineetKumar
Try hitting the webservice from a 3rd part tool like SOAP UI to get the corret error.