User1535942433 posted
Hi alya14,
As far as I think,when calling a WCF service from a COM application, you can use the IChannelCredentials interface to specify credentials.
1.Run the Setup.bat file in the Message Security directory to create and install the required test certificates.
2.Open the Message Security project.
3.Add [ServiceBehavior(Namespace="http://Microsoft.ServiceModel.Samples")] to the ICalculator interface definition.
4.Add bindingNamespace="http://Microsoft.ServiceModel.Samples" to the endpoint tag in the App.config for the service.
5.Build the Message Security Sample and run Service.exe. Use Internet Explorer and browse to the service's URI (http://localhost:8000/ServiceModelSamples/Service) to ensure that the service is working.
More details,you could refer to below article:
https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-specify-channel-security-credentials
Best regards,
Yijing Sun