aspose file tools*
The moose likes Web Services and the fly likes Hessian and HTTPS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Hessian and HTTPS" Watch "Hessian and HTTPS" New topic
Author

Hessian and HTTPS

Francis Zabala
Ranch Hand

Joined: Aug 11, 2010
Posts: 30
Hello again,

Has anyone tried to connect a client to a server using HTTPS and using Hessian binary protocol to communicate?

I saw something that worked but unfortunately its on php:



The code above does work and is able to communicate with the server.

Can you please help us? Thanks.

Regards,
Francis
tarun mall
Greenhorn

Joined: Nov 23, 2011
Posts: 13
Francis Zabala wrote:Hello again,

Has anyone tried to connect a client to a server using HTTPS and using Hessian binary protocol to communicate?

I saw something that worked but unfortunately its on php:



The code above does work and is able to communicate with the server.

Can you please help us? Thanks.

Regards,
Francis


What kind of help are you expecting here?
Francis Zabala
Ranch Hand

Joined: Aug 11, 2010
Posts: 30
I am not sure really. I am still trying to find out the problem is. The PHP code works. I am trying to find out how to get the Java's version of Hessian to work like the above code.

Connect to an https hessian enabled web service.

As you can see in the code, it uses curl to connect to the server using a certificate. I don't even know how to do that in java.
Francis Zabala
Ranch Hand

Joined: Aug 11, 2010
Posts: 30
Ok, we were able to connect to an HTTPS server with Hessian Protocol. We had to add 2 new classes to make it work. Let me know if anyone else is interested and I'll post the codes.
Tony TonyNg
Greenhorn

Joined: Apr 19, 2012
Posts: 1
hi there,

is it possible you could share the code to make hessian working on https?

Cheers,
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3860

"Tony TonyNg",
Please check your private messages regarding an important administrative matter.

- Vijitha


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hessian and HTTPS