Hi Mattias, yes, I already set this property to false. I don't think the problem is that the client proxy sends a hessian 2 request but that the hessian 1 response of the service is not handled properly.
Best regards Achim Mattias Jiderhamn wrote: > Springs HessianProxyFactoryBean has a setHessian2(). Make sure false is > passed to this method (assumably in your Spring config), and the proxy > should issue Hessian 1 requests. > > </Mattias> > > Achim Abeling wrote (2010-11-25 15:22): >> Hi folks, >> >> I am referring to com.caucho.hessian.client.HessianProxy of version 4.0.7. >> >> We are using the org.springframework.remoting.caucho.HessianProxyFactoryBean >> to create a proxy to a service with classes from hessian-3.1.3.jar using >> the Hessian 1 protocol. >> >> The possible bug is now that the client uses a Hessian2Input to parse >> the response from the service which is a Hessian 1 reply. >> This results in error messages like >> com.caucho.hessian.io.HessianProtocolException: expected integer at 0x74 >> >> In HessianProxy#invoke the input stream is got with >> _factory.getHessianInput(is); >> which is just a wrapper to >> getHessian2Input(is); >> >> After changing to >> _factory.getHessian1Input(is); >> our 4.0.7 client worked with the 3.1.3 service. >> >> Is this a bug or did I miss some setting? >> >> Best regards >> Achim >> > > > > _______________________________________________ > hessian-interest mailing list > hessian-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/hessian-interest _______________________________________________ hessian-interest mailing list hessian-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/hessian-interest