You need to sign in to do that
Don't have an account?
partha_ceg
Can i pass salesforce credentials in the request header
I have written an apex method which i have generated it out as WSDL.
Is it possible for me to just put salesforce credentials in the request header and can just do only 1 callout there by bypassing the login callout in my dot net application.
I am able to perform this through soap ui
Is it possible for me to just put salesforce credentials in the request header and can just do only 1 callout there by bypassing the login callout in my dot net application.
I am able to perform this through soap ui
Shashank (Salesforce Developers)
I'm afraid that is not possible. For security robustness, you will be enforced to make a login call and get a session Id and only then be able to make calls. Just like in the UI, where a user must login first and only then be able to do anything.