Questions tagged [hessian]

Hessian is a simple binary protocol for connecting web services.

Hessian is a simple binary protocol for connecting web services. More info at http://hessian.caucho.com/

158 questions
1
vote
1 answer

Grails Hessian Issues

We are moving a production environment to a customer's data centre. At the moment, for the purpose of explaining the scenario, we have an Apache Load Balancer that is load-balancing requests to 2 Apache Tomcat application servers that are hosting 2…
dmcgee
  • 41
  • 1
  • 5
1
vote
1 answer

Hessian: Java Client can't connect to php server

I am using Hessian Binary Protocol. It works fine when CASE I: Server -- Java Client -- Java -- PHP CASE II: Server -- PHP Client -- PHP But it throws exception java.io.IOException: Server returned HTTP response code: 500 for URL when CASE…
anasanjaria
  • 1,308
  • 1
  • 15
  • 19
1
vote
1 answer

How to set timeout in hessian c sharp

I am using Hessian C# client in my project to talk to a Hessian Java server. using hessiancsharp.client; String url = "http://127.0.0.1:2000/test"; CHessianProxyFactory factory = new CHessianProxyFactory(); I didn't find a timeout option for the…
hrl
  • 131
  • 1
  • 1
  • 4
1
vote
0 answers

Hessian Web Calls using REST Client

How to call a Hessian Server from the REST Client Google extension This is my sample request Request POST /RPCService HTTP/1.1 Content-Type: x-application/hessian Cache-Control: no-cache Pragma: no-cache User-Agent: Java/1.6.0_27 Host:…
asvignesh
  • 787
  • 2
  • 6
  • 32
1
vote
1 answer

How to Serialize and De Serialize Hessian Calls in C

For developing the Hessian client in Java hessian client libraries are available (hessian-3.x.x.jar) using that we can easily call Hessian service String url = "http://localhost:8080/communication-service"; HessianProxyFactory factory = new…
user2463283
  • 212
  • 1
  • 4
  • 9
1
vote
0 answers

How to use Hessian envelope with spring remote

is there anybody with experience with using hessian envelope (X509 and Compression) with the spring remote framework? I tried to subclass on the client and server site the HessianProxyFactory with no success: /* * (non-Javadoc) * * @see *…
1
vote
2 answers

Interoperability by using Spring and Hessian ? Is it possible?

Spring in Action book says: Hessian, like RMI, uses binary messages to communicate between client and service. However, unlike other binary remoting technologies (such as RMI), the binary message IS PORTABLE to languages other than Java, including…
Arthur Ronald
  • 33,349
  • 20
  • 110
  • 136
1
vote
0 answers

HessianConnectionException: 500: java.io.EOFException

I'm developing an Android application that communicates with a Hessian web service. It works fine after starting but when i call again the network function i get this error: 08-21 14:27:24.712: E/AndroidRuntime(2170): FATAL EXCEPTION: AsyncTask…
Sidaoui Majdi
  • 399
  • 7
  • 26
1
vote
0 answers

Hessian: C++ server

I am going to write a client-server application using Hessian protocol for binary serialization. Do you know if there is a way to do it with C++ server and Java client? I have found only vice versa examples (Java server and C++ client). Thanks in…
1
vote
2 answers

ClassCastException after Data Communication with Hessian Servlet on Android

Heyho. I'm writing an android client which is communicating between a Hessian Servlet and Hessdroid. Everything went fine until i wanted to transmit this selfimplemented type: client & server are communicating between IUserService.java…
trek711
  • 207
  • 3
  • 11
1
vote
1 answer

spring hessian client socket connection reset

I am using spring 3.1.0, com.springsource.com.caucho-3.2.1.jar and tomcat-6.0.33 both sides (client/server). All the remote service calls are working fine without any issues except long time taking services(more then 9/10 minutes). I am using…
Satish Pandey
  • 1,184
  • 4
  • 12
  • 32
1
vote
2 answers

Is the Hessian class SerializerFactory thread-safe?

I'd like to use the Hessian (Java) serialization and need to create a SerializerFactory with custom serializers (to handle BigInteger). Can I create one of these and share it among threads?
Dave
  • 13,518
  • 7
  • 42
  • 51
1
vote
1 answer

Hessian Webservice with REST, Java Spring

Is it possible to have a REST service work hand-in-hand with a Hessian service? To elaborate I have this interface: @Controller public interface PhotoServices { @RequestMapping(value = "/{user}/{folder_name}/savephoto/", method =…
Cid Immacula
  • 213
  • 7
  • 18
1
vote
0 answers

How to implement the file download API function using Java Hessian library

I am trying to implement the file download api as the Hessian document page mentions: file download API package example; public interface Download { public InputStream download(String filename, InputStream data); } But I still could not…
1
vote
0 answers

serialization of Base64 string in JSON payload with HessianKit (Objective-C/Cocoa)

I'm trying to connect my iOS-App to an existing Grails backend server. The backend exposes a hessian webservice by using the grails remoting plugin (version 1.3). My Android app successfully calls all webservice methods. My goal is to transmit a…