how to call java web service(SSL enabled HTTPS)

chinmoy

New member
Joined
Feb 27, 2008
Messages
1
Programming Experience
3-5
Hi VB Gurus!
i have a web service deployed in tomcat and accessable through SSL(https).
i have created certificate i,e .keystore files which is located at windows
C:\Documents and Settings\<user_name> directory.

i have two clients one is java another is VB.net.
java client works well with SSL enabled ws.

but i have trouble to work it from VB.net.
before calling biz method it needs some properties to be set. but i dont know how vb.net handles it.
code:
------------ --------- ----
Dim service1 As New net.client.MyServic e
Dim bean() As net.client.TestBean

service1.ClientCert ificates. Add(X509Certific ate.CreateFromCe rtFile("C: \Documents and Settings\user1\ .keystore" ))

service1.bizMethod( )
------------ --------- --------- ---

i need urjent help on that!
please help me!

regards..
chinmoy paul
 
how to call java web service(SSL enabled HTTPS) from VB.net client

Hello Chinmoy,
Did you have any success with this? I am also struggling with calling a Java webservice from VB .Net client.
I have created a webreference in the .net code, which is created successfully. Then I am also able to access all the methods of the webservice in the .net code using the variable of the reference, but when I am sending the request to the java webservice, it fails by giving "HTTP 505: HTTP Version not supported" error.

There is no error on the Java server end.

Can you or anyone please help.

Shaurya
 

Latest posts

Back
Top