SOAP and TSocket

Post Reply
User avatar
don lowenstein
Posts: 196
Joined: Mon Oct 17, 2005 9:09 pm
Contact:

SOAP and TSocket

Post 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?
Don Lowenstein
www.laapc.com
User avatar
don lowenstein
Posts: 196
Joined: Mon Oct 17, 2005 9:09 pm
Contact:

Re: SOAP and TSocket

Post 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?
Don Lowenstein
www.laapc.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: SOAP and TSocket

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
don lowenstein
Posts: 196
Joined: Mon Oct 17, 2005 9:09 pm
Contact:

Re: SOAP and TSocket

Post 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.
Don Lowenstein
www.laapc.com
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Re: SOAP and TSocket

Post by hua »

FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
Post Reply