Results 1 to 4 of 4

Thread: HTTP Invoker and HTTP Session

  1. #1
    Join Date
    Jul 2008
    Posts
    21

    Default HTTP Invoker and HTTP Session

    I would like to keep some user information (login, roles...) between HTTP invokers calls.

    Is it possible to use the HTTP Session to store this information? How is generated the session id and used by the HTTP executor?

  2. #2
    Join Date
    Feb 2009
    Posts
    5

    Default

    Add this to your client remoting config:

    <bean id="httpInvokerExecutor" class="org.springframework.remoting.httpinvoker.Co mmonsHttpInvokerRequestExecutor"/>

    This advised the executor to use the Apache Commons HttpClient!

  3. #3
    Join Date
    Aug 2006
    Posts
    9

    Default

    Quote Originally Posted by agfeller View Post
    Add this to your client remoting config:

    <bean id="httpInvokerExecutor" class="org.springframework.remoting.httpinvoker.Co mmonsHttpInvokerRequestExecutor"/>

    This advised the executor to use the Apache Commons HttpClient!
    Is there something else to configure. This doesn't seem to work for me.

  4. #4
    Join Date
    Feb 2009
    Posts
    5

    Default

    Sorry, this was only half the truth:

    <bean id="someId" class="someClass">
    <property name="serviceInterface" value="someInterface"/>
    <property name="httpInvokerRequestExecutor" ref="httpInvokerExecutor"/>
    </bean>

    <bean id="httpInvokerExecutor" class="org.springframework.remoting.httpinvoker.Co mmonsHttpInvokerRequestExecutor"/>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •