• 0

Using MSSoap with VB6 and HTTPS


Question

I am trying to get my VB6 application to interact with a webservice using MSSOAP. My problem occures when i have to change the URL of the webservice to HTTPS. It works fine when i use HTTP but once the application goes to the Production server it will need to be HTTPS. Below is the structure of my code and i notice that the problem occures when i go to pass my parameters to the webservice i get an error, I have also placed the text from the error below my code. Can anyone Help? Thanks.


Dim pstrWebservice As New SoapClient30
Dim pstrResponse As String

Set pstrWebservice = CreateObject("MSSOAP.SoapClient30")

pstrWebservice.MSSoapInit "https://Server-Name/Root-Folder/file.cfc?wsdl"

pstrResponse = (pstrWebservice.webservice(Param1, Param2, Param3, Param4)
[/CODE]

[CODE]
Run-time error '-2147467259(80004005):

Attachment:Maximum retry on the connection exceeded. HRESULT=0x80004005: Unspecified error
-Client:An unanticipated error occured during the processing of this request. HRESULT=0x80004005: Unspecified error
-Client:Sending the Soap message failed or no recognizable response was received HRESULT=0x80004005: Unspecified error
-Client:Unspecified client error. HRESULT=0x80004005: Unspecified
[/CODE]

Link to comment
https://www.neowin.net/forum/topic/1027446-using-mssoap-with-vb6-and-https/
Share on other sites

3 answers to this question

Recommended Posts

  • 0
  On 22/09/2011 at 15:43, garethevans1986 said:

This may sound daft and doesn't answer your question but why the need to use VB6?

GE

I inheritad the application from another developer, The VB application currently retreives information from an access database, but access database is in the process of being replaced with a coldfusion application and the VB6 application still needs to have connectivity. VB6 is not my first choice for doing this but i don't have any other options untill the VB application is converted to coldfusion.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • It's just exactly what it looks like. The facial polygon count is low and rigid, and the background appears heavily blurred. You can clearly see jagged edges around the car window as it exits the tunnel. The character animations feel like they're from 2010. The Xbox Series S has performance similar to an RX 570 or GTX 1660, which is disappointing and contributes to holding back game development. The Switch GPU is roughly on par with a 2050 or 3050, which is even worse. Developers have often discussed the challenges and limitations of developing for outdated/low end hardware, noting how it can hold back progress. This isn't a new issue. I am sure we will hear about the "Challenges" they had to overcome here and sacrifices that had to be made for compatibility with the outdated/low end hardware.
    • Whether on Edge or Firefox, I don't get this prompt to accept cookies, because they're already whitelisted by the Cookie AutoDelete extension, both on Edge and Firefox. And, as I've already said, using Edge (yesterday), Neowin isn't whitelisted (I never use Edge), and I didn't get that pop-up. And this morning, after checking, still no pop-up, and everything is activated, the proof (screenshot), I have no ads on the right side. I must add that I block the following trackers Doubleclick, and Scorecardresearch, as well as a few other undesirable ones, via the Host file. Back to square one! After all, it's a simple click to continue, so I'll do with it. 🤷🏽‍♂️ Thank You
    • F'ing FIIINALLY! Much easier to ask people what their hardware is 🙏 and could also very well just say DDR4 or DDR5 without asking to bloat it too much. I'm also curious to see what it will say in More device info...
    • Sure, that must be why it was revealed at the Sony showcase... the game was announced 5 years ago and the visuals are far from poor, what the hell are you smoking, plus the Switch 2 is pretty much on par with an Xbox Series S. It would be absolutely insane for a dev to build a game "with the Switch 2 in mind" when it's coming to all platforms where the majority of sales will happen.
  • Recent Achievements

    • Week One Done
      jbatch earned a badge
      Week One Done
    • First Post
      Yianis earned a badge
      First Post
    • Rookie
      GTRoberts went up a rank
      Rookie
    • First Post
      James courage Tabla earned a badge
      First Post
    • Reacting Well
      James courage Tabla earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      400
    2. 2
      +FloatingFatMan
      178
    3. 3
      snowy owl
      170
    4. 4
      ATLien_0
      167
    5. 5
      Xenon
      134
  • Tell a friend

    Love Neowin? Tell a friend!