• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1479
  • Last Modified:

How do I use Indy 9 Components with Delphi 5 to send & receive SOAP message using SSL

I am trying to send and receive a SOAP message using Delphi 5 and Indy 9 Components using
SSL.

The article posted at:
http://www.sugarcoated.nl/articles/13?task=view

works fine for sending & receiving SOAP without using SSL, e.g. to a http:// URL.  But I don't know
how to modify this so that it works with SSL. I am using the Indy 9 components. It appears from
the source code of Indy 9 that it supports SSL.  I am  new to this topic. I don't need to use
cookies; I just need to send a SOAP message to a web service and get a SOAP message in
return, like the TSimpleSoap.Invoke on the above web page.  Simply changing FTCPClient.Port := 80; to Port:=443 didn't do the job.

Any help you can provide would be GREATLY appreciated!
0
Onionsinger
Asked:
Onionsinger
  • 2
1 Solution
 
mikelittlewoodCommented:
Ciuly has some SSL examples on his webpages, maybe these will help.
http://www.ciuly.com/delphi/indy/
0
 
OnionsingerAuthor Commented:
His examples look too complicated for me. I only need to send a SOAP message and retrieve a reply from the same web service. Perhaps embedded within his examples is that one piece, but I don't know where to find it within all of that code and have it work.
0
 
OnionsingerAuthor Commented:
I ended up having someone else write a simple program to read a file from the hard drive, send it via SSL, store the response as a file to the hard drive, which I then read into my program. It is not elegant but it works. No one came up with a solution for me.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now