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
abhisheksharmaabhisheksharma 

Apex Callout

Can we make a callout from apex code to a secured server using user ID and password.

I know it can be done with the use of SSL connector and signed certificate but I am wondering if we can use wsdl2apex and then use user login and password to login into remote server that host website.

 

Thanks,

SrikanthKuruvaSrikanthKuruva

please check if there is any login method in the apex class or classes that were generated when you imported the wsdl.