SOAP and TSocket

SOAP and TSocket

Postby don lowenstein » Mon Mar 18, 2013 3:47 pm

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: 197
Joined: Mon Oct 17, 2005 9:09 pm

Re: SOAP and TSocket

Postby don lowenstein » Mon Mar 18, 2013 5:09 pm

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
don lowenstein
 
Posts: 197
Joined: Mon Oct 17, 2005 9:09 pm

Re: SOAP and TSocket

Postby Antonio Linares » Mon Mar 18, 2013 10:58 pm

Don,

To connect to a HTTPS address you should better use hbcurl.lib like we do in the Twitter implementation:

viewtopic.php?p=139845#p139845
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42092
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: SOAP and TSocket

Postby don lowenstein » Tue Mar 19, 2013 2:48 am

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
User avatar
don lowenstein
 
Posts: 197
Joined: Mon Oct 17, 2005 9:09 pm

Re: SOAP and TSocket

Postby hua » Tue Mar 19, 2013 2:50 am

Don,
The english version is here viewtopic.php?f=3&t=25637
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 86 guests