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
vamsovamso 

rest web service call fom apex is giving internal server error 500

Hi,

 

I am trying to make http call out to a rest web service like "https://************.com/*******/*****/***"

my code snippet is like

 

httpreq.setendpoint(url);

httpreq.setclientcertificatename('certificate name');

httpsres= http.send(httpreq);

 

i have uploaded a CA certificate.  if i exclude that certificate it is giving bad certificate, if i include the certificate it is giving internal server error 500.

 

Experts please help. i need to develop this soon to deploy ... Please help

Best Answer chosen by Admin (Salesforce Developers) 
vamsovamso

This is not a problem from salesforce. Problem is at the webservice WSM end. so its resolved.