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. C / C++ / MFC
  4. Win32 web service client over SSL

Win32 web service client over SSL

Scheduled Pinned Locked Moved C / C++ / MFC
questionsecurity
2 Posts 1 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.
  • E Offline
    E Offline
    eight
    wrote on last edited by
    #1

    How do I access a web service over SSL? My client app works with "http://..." but doesn't work with "https://...". I've managed to create a proxy class with "https://..." but calling any function gives me "SOAPCLIENT_SEND_ERROR". Solutions found by google tells me that I should either use Wininet function or CInternetSession but I'm reluctant to make major changes such as rewriting the proxy class generated by VS2005.

    E 1 Reply Last reply
    0
    • E eight

      How do I access a web service over SSL? My client app works with "http://..." but doesn't work with "https://...". I've managed to create a proxy class with "https://..." but calling any function gives me "SOAPCLIENT_SEND_ERROR". Solutions found by google tells me that I should either use Wininet function or CInternetSession but I'm reluctant to make major changes such as rewriting the proxy class generated by VS2005.

      E Offline
      E Offline
      eight
      wrote on last edited by
      #2

      This could be a hack. I don't know. Initially, my proxy class was derived from CSoapSocketClientT. So, I've changed it to derive from CSoapWininetClient instead.

      template <typename TClient = CSoapWininetClient >
      //template <typename TClient = CSoapSocketClientT<> >

      This solution seems to work. Also, I had to remove the web reference(*.disco, *.wsdl, *.discomap) from my solution explorer to prevent it from refreshing the proxy class file.

      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