Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hessian and HTTPS

 
Francis Zabala
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there,

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

Cheers,
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Tony TonyNg",
Please check your private messages regarding an important administrative matter.

- Vijitha
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic