Ansari Raffik

Greenhorn
+ Follow
since Feb 05, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ansari Raffik

Can any one give me an idea of how to invoke a https url by posting a xml as string. (sample code is much appreciated)
The requirements are as follows

1.I have use keystore (I have only one keystore file)
2.I have to set the read time out value (i.e time out should happen if I don't get any response within specified interval)
3.I have to use only JDK1.4 and weblogic 8.1

It is working with the HttpsURLConnection API but the API does not support timeout setting in JDK1.4.

Is there any other way to set the timeout
17 years ago
Can anyone suggest me how a java client invoking a https service handle time-outs?..
17 years ago
Actually the scenario is like the client(say A) have to access a https url(say B) by passing some string.They have provided me the keystore file and with that i have to access the https url.B will actually validate the request which iam sending with the help of keystore and then if it ok B will call a web service (say C).

I just need a sample of the client to access the https url which is protected by a digital certificate(key pair value which has a public and private key. The public key is the one that is provided by B which is the keystore file)

sorry I may be poor in explaining things.

Thanks a lot...
17 years ago
Yes I am using the java.net.HttpURLConnection class. In addition the service which i am calling has some digital certificates enabled.In that case will i have to make any configurations or modifications in my client.
17 years ago
Can I use a simple http call in to invoke a https web service.
17 years ago
Can anyone tell me which one of the below is a better solution with regard to handling http posts.

In a servlet which needs to handle http posts is it better to use request.getReader or request.getInputStream for getting the input from the calling client..?

Thanks in advance
17 years ago
I am new to web service Can anyone give me a sample code for invoking https protocol enabled web service
17 years ago