You need to sign in to do that
Don't have an account?
jayala
callout sample for passing credentials
Can anyone provide me the sample code to set username and password for a Apex code callout. I see most of the people set certification. But i am looking for some sample code where in we can set user name and password to the webservice client call.
In my case i am trying to consume a SAP Wervice from Apex code generated by WSDL.
I'd like to bump this one. Encountered the same issue,