Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. MS-SOAP TK & SSL/HTTPS problem

MS-SOAP TK & SSL/HTTPS problem

Scheduled Pinned Locked Moved XML / XSL
helpwcfsecuritycryptography
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nirav Doshi
    wrote on last edited by
    #1

    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! *

    E 1 Reply Last reply
    0
    • N Nirav Doshi

      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! *

      E Offline
      E Offline
      eduardo s ferreira
      wrote on last edited by
      #2

      You resolve the problem? I am with the same problem

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups