Spring / Hessian problem

From: Thierry TEMPLIER <TTEMPLIER@transiciel.com>
Date: Fri Aug 20 2004 - 05:11:56 PDT

Hello,

I have the following exception while using Hessian with Spring:
com.caucho.hessian.io.HessianProtocolException: expected expected end of
call at I

I use Spring classes for client and server. Here is the configuration:

Client:
        <bean id="serviceEnvironnement" class="org.springframework.remoting.caucho.HessianProxyFactoryBean">
                <property name="serviceUrl">
                        <value>http://localhost:9081/strutsspring/EnvironnementService</value>
                </property>
                <property name="serviceInterface">
                        <value>service.IEnvironnementService</value>
                </property>
        </bean>

Server:
        <bean id="serviceEnvironnement" class="service.EnvironnementService">
                <property name="environnementDao">
                        <ref local="environnementDao" />
                </property>
                <property name="codeOrigineDao">
                        <ref local="codeOrigineDao" />
                </property>
        </bean>

        <bean name="/EnvironnementService" class="org.springframework.remoting.caucho.HessianServiceExporter">
                <property name="service">
                        <ref bean="serviceEnvironnement" />
                </property>
                <property name="serviceInterface">
                        <value>service.IEnvironnementService</value>
                </property>
        </bean>

Thanks for your help.
Thierry
Received on Fri 20 Aug 2004 05:11:56 -0700

This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:16:40 PDT