Hi,

I am new to the list and a newbie to apache-cxf.

I would like to have servlets to have session scope
I think I manage to do that in the server part thanks to
that post

http://www.nabble.com/Share-object-in-request-scope-on-ws-server-td14611572.html

server bean configuration includes:
        <bean id="ServerService" class="com.company.lib.Server" scope="session">
                <aop:scoped-proxy />
        </bean>

but I am having great troubles setting up the property 
SESSION_MAINTAIN_PROPERTY in the client

I am using spring configuration with the following fragment

                <bean id="Client" class="ClientInterface" 
factory-bean="ClientFactory" factory-method="create" />
        <bean id="ClientFactory" 
class="org.apache.cxf.frontend.ClientProxyFactoryBean">
                        <property name="serviceClass" value="ClientInterface" />
                        <property name="address" 
value="http://localhost:/ws/ClientImpl"; />
            <property name="dataBinding" ref="aegisDatabinding"/>
        </bean>

Is it possible to maintain the session client side when I am 
ClientProxyFactoryBean and not JaxWSFactorySomething

    Thanks

Reply via email to