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?
SOAP and TSocket
- don lowenstein
- Posts: 196
- Joined: Mon Oct 17, 2005 9:09 pm
- Contact:
SOAP and TSocket
Don Lowenstein
www.laapc.com
www.laapc.com
- don lowenstein
- Posts: 196
- Joined: Mon Oct 17, 2005 9:09 pm
- Contact:
Re: SOAP and TSocket
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?
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
www.laapc.com
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: SOAP and TSocket
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
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
- don lowenstein
- Posts: 196
- Joined: Mon Oct 17, 2005 9:09 pm
- Contact:
Re: SOAP and TSocket
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.
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
www.laapc.com
Re: SOAP and TSocket
Don,
The english version is here http://forums.fivetechsupport.com/viewt ... =3&t=25637
The english version is here http://forums.fivetechsupport.com/viewt ... =3&t=25637
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
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC