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
Sarada RVS 2Sarada RVS 2 

Urgent:How to add client certificate to HTTP soap request to external webservice

I have added client .jks file into salesforce as CA certificate.
Below is the request i have used ,.It gives 200 response but error in debig log : "Unable to send authentication token"
   
   Http h = new Http();
        HttpRequest req = new HttpRequest();        
        req.setEndpoint('https://secure.wasp.uat.uk.experian.com/WASPAuthenticator/tokenService.asmx ');
        req.setClientCertificateName('ncfltddsuat01u');
        req.setMethod('POST');
        req.setTimeout(120000);
        req.setHeader('SOAPAction','http://www.uk.experian.com/WASP/LoginWithCertificate');
        req.setHeader('Content-Type', 'text/xml; charset=utf-8');
        req.setBody('<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Body><LoginWithCertificate><application>WASP TEST</application><checkIP>true</checkIP></LoginWithCertificate></Body></Envelope>');
         HttpResponse res = h.send(req);
        system.debug(res.getBody());  

Please assist me in this.???
Sarada RVS 2Sarada RVS 2
Could someone please assist me???