Page 1 of 1
SOAP and TSocket
Posted: Mon Mar 18, 2013 3:47 pm
by don lowenstein
I have used the FWH TSocket class to communicate through the cloud. it works very well.
I noticed on this forum a SOAP discussion using the TOLEAuto():New( "MSXML2.XmlHttp" ) method to create a connection.
is the TOLEAuto required for processing SOAP transactions, or, can the TSocket class accomplish the same thing?
Re: SOAP and TSocket
Posted: Mon Mar 18, 2013 5:09 pm
by don lowenstein
further discussion question:
TSocket() class opens a IP Address/Port address.
My server has an HTTPS address (URL)
can TSocket() be used to open a connection between my program and a server based on URL in a similar fashion I use TSocket today with an IP / Port address?
Re: SOAP and TSocket
Posted: Mon Mar 18, 2013 10:58 pm
by Antonio Linares
Don,
To connect to a HTTPS address you should better use hbcurl.lib like we do in the Twitter implementation:
http://forums.fivetechsupport.com/viewt ... 45#p139845
Re: SOAP and TSocket
Posted: Tue Mar 19, 2013 2:48 am
by don lowenstein
where can I find documentation on the sample programs using hbcurl libraries? I don't understand spanish so I could not follow the post.
essentially, I need the exact functionality of tsocket class.
1. create socket
2. connect through address to IP and port ( can I connect to http address )
3. send message
4. read reply
5. close socket.
the difference to me is the connection address. can the socket classes connect to https address, or only static IP addresses?
or, will the hbcurl libraries give me the same functionality i'm looking for?
thanks for your attention to this question.
Re: SOAP and TSocket
Posted: Tue Mar 19, 2013 2:50 am
by hua