Hello
I'm trying to implement a hessian client (Hessian 3.1.6) that uses compression with the Deflation class but I'm getting an error with the message
The server side is configured using spring 2.5.6 and this is the code for the my factory:Code:IOException: expected 'c' in hessian input at -1
I guess this is due some problem with the spring layer because the error message is thrown by the class Hessian2SkeletonInvoker.Code:public class CompressHessianProxyFactory extends HessianProxyFactory { @Override public AbstractHessianOutput getHessianOutput(OutputStream out) { AbstractHessianOutput defaultOut= super.getHessianOutput(out); HessianEnvelope envelope= new Deflation(); try { AbstractHessianOutput out2= envelope.wrap((Hessian2Output) defaultOut); return out2; } catch (Exception e) { throw new RuntimeException(e); } } }
Can anybody point me to a workaround ? (or just confirm that this is a version problem)
Thanks in advance
Santi


Reply With Quote