Click here to Skip to main content
6,822,613 members and growing! (20,490 online)
Email Password   helpLost your password?

Visual Basic



You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 1 of 1 (Total in Forum: 1) (View All Threads)FirstPrevNext
QuestionMS-SOAP Toolkit v3.0 https Pinmembereduardo.s.ferreira11:03 15 Nov '09  
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!

Eduardo da Silva Ferreira
Svs Info Developer
Telephone +55 16 3324-9294
Mobile +55 16 8804-5898
Email eduardo.s.ferreira@gmail.com

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads.


Last Updated 10 Aug 2007
Web21 | 2.2.0230 (18:30 2 Apr '10 ) | Advertise | Privacy
Copyright © CodeProject, 1999-2010
All Rights Reserved. Terms of Use