by sam >> Thu, 9 Mar 2006 2:32:22 GMT
Hi all:
currently I want to post a request to a web server using https. I now can get response back. But the time is so long and sometimes can not get response back.
my program is:
create sslContext transient;
sslContext.methodType := JadeSSLContext.MethodSSLv3;
create oTCPConnection transient;
oTCPConnection.name := "webservices.sabre.com";
oTCPConnection.port := 443;
oTCPConnection.localPort := 55000;
oTCPConnection.sslContext := sslContext;
oTCPConnection.open();
if oTCPConnection.state = Connection.Connected then
oTCPConnection.writeBinary(sMessage.Binary);write sMessage; response := oTCPConnection.readBinary(2000).String;write response;
endif;
oTCPConnection.close();
any help will be appreciate.