MS-SOAP TK & SSL/HTTPS problem
-
Hello, I am trying the following code with MS-SOAP Toolkit v3.0:
Dim oConnector As New HttpConnector30 Dim oSerializer As New SoapSerializer30 Dim oReader As New SoapReader30 oConnector.Property("EndPointURL") = "https://172.16.1.95/Service1.asmx" oConnector.Property("WinHTTPAuthScheme") = 8 oConnector.Property("UseSSL") = True oConnector.Property("SSLClientCertificateName") = "CURRENT_USER\MY\Nirav" oConnector.Connect oConnector.Property("SoapAction") = "https://172.16.1.95/HelloWorld" oConnector.BeginMessage ... ' serializing the SOAP message here oConnector.EndMessage ' Gives the ERROR here!
But even though the same works perfectly with "http://", it is giving the following error with "https://" - -------------------------------------------------------
Runtime error '5400'
Connector: SSL certificate common name (host name field) is incorrect HRESULT=0x800A1529 - Connector: Unspecified HTTP error. HRESULT=0x800A1518------------------------------------------------------- Since the same service works fine if I invoke it from my IE6, I suppose the certificate should be fine. But this is something mysterious, and no material about this error... :confused: Am I doing something wrong? Please suggest me a solution for this... Thanks a lot! Rgds, Nirav * Artificial intelligence is no match for natural stupidity! *
-
Hello, I am trying the following code with MS-SOAP Toolkit v3.0:
Dim oConnector As New HttpConnector30 Dim oSerializer As New SoapSerializer30 Dim oReader As New SoapReader30 oConnector.Property("EndPointURL") = "https://172.16.1.95/Service1.asmx" oConnector.Property("WinHTTPAuthScheme") = 8 oConnector.Property("UseSSL") = True oConnector.Property("SSLClientCertificateName") = "CURRENT_USER\MY\Nirav" oConnector.Connect oConnector.Property("SoapAction") = "https://172.16.1.95/HelloWorld" oConnector.BeginMessage ... ' serializing the SOAP message here oConnector.EndMessage ' Gives the ERROR here!
But even though the same works perfectly with "http://", it is giving the following error with "https://" - -------------------------------------------------------
Runtime error '5400'
Connector: SSL certificate common name (host name field) is incorrect HRESULT=0x800A1529 - Connector: Unspecified HTTP error. HRESULT=0x800A1518------------------------------------------------------- Since the same service works fine if I invoke it from my IE6, I suppose the certificate should be fine. But this is something mysterious, and no material about this error... :confused: Am I doing something wrong? Please suggest me a solution for this... Thanks a lot! Rgds, Nirav * Artificial intelligence is no match for natural stupidity! *
You resolve the problem? I am with the same problem