This is a discussion on HELP: MS-SOAP Toolkit v3.0: - XML SOAP ; Hello, I am trying the following code with MS-SOAP Toolkit v3.0: Dim Connector As New HttpConnector30 Dim Serializer As New SoapSerializer30 Dim Reader As New SoapReader30 Connector.Property("Timeout") = 0 Connector.Property("RequestHTTPHeader") = "Authorization: Basic " & encode64(gstrDatabaseName & "\" & gstrUserName ...
Hello,
I am trying the following code with MS-SOAP Toolkit v3.0:
Dim Connector As New HttpConnector30
Dim Serializer As New SoapSerializer30
Dim Reader As New SoapReader30
Connector.Property("Timeout") = 0
Connector.Property("RequestHTTPHeader") =
"Authorization: Basic " & encode64(gstrDatabaseName & "\" & gstrUserName & ":" & gstrAppUserPwd)
Connector.Property("WinHTTPAuthScheme") = 1
Connector.Property("EndPointURL") = "http://servbus/general/Usuario12V1?WSDL"
Connector.Connect
Connector.BeginMessage ' serializing the SOAP message here
Serializer.Init Connector.InputStream
……
……
……
Connector.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...
Am I doing something wrong? Please suggest me a solution for this...
Thanks a lot!
Rgds,
Eduardo da Silva Ferreira