Posted on: 3/24/2015 4:51:36 AM | Views : 853

Dear All,
I have a .pem, WSDL file and (Request and Response format), this files are provided by the customer, now I have generated the ServiceClass using WSDL file using wsdl.exe.
Now when I send the request I am getting error as "The underlying connection was closed: An unexpected error occurred on a send" when I told my customer to remove the certificate validation from their web service the "Request and Response both are working fine".

When I opened the .pem file in notepad the content was 
-----BEGIN CERTIFICATE-----
dfkhdfhsdfghgfjhAklajdaJHZKkjjHAKJhjkhkjhkjhkjhkjJKJHKJ......................................
/R-----END CERTIFICATE-----
and nothing else was there as per my client my code is proper for sending request to web service but the using of file i.e .pem file is not proper.
I want to know what else I have to do my customer&nbs ...

Go to the complete details ...