You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Harsha Thirimanna <ha...@gmail.com> on 2013/07/08 20:55:14 UTC

CXF Client issue when try to handle session for One-Way Operation call

Hi ,

I am working for a project that base on web service and client. My issue is
in client side. I created the client using CXF. I wanted to call few
operation in one service at once. In server side it handle the session so
when do the first call it return session id and  client should pass it to
the next operation call in same service There may be sequence of operation
calls in one service at once.
I got this issue when first operation is one-way.  Because after do the
first call it returns session id, but second call goes to the server as a
fresh request(no set session id to second request).
I went through your code and got some fix , I'll attached  that fix with
this. But your the expertise of this. Please we want to clear this out.
This was blocker issue for us really.

Note : I have handled the configuration in client side to do this as
session enabled. I confirmed that, because If I do two way operation call ,
then this session handle correctly.

thanks

Re: CXF Client issue when try to handle session for One-Way Operation call

Posted by Harsha Thirimanna <ha...@gmail.com>.
Hi,
Thanks to reply.
I started the issue and attached my solution.

https://issues.apache.org/jira/browse/CXF-5114





On Mon, Jul 8, 2013 at 9:13 PM, Willem jiang <wi...@gmail.com> wrote:

> Please fill a JIRA[1] and share the patch with us.
> [1]https://issues.apache.org/jira/browse/CXF
>
>
> --
> Willem Jiang
>
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Web: http://www.fusesource.com | http://www.redhat.com
> Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
> (English)
>           http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
> Twitter: willemjiang
> Weibo: 姜宁willem
>
>
>
>
> On Tuesday, July 9, 2013 at 2:55 AM, Harsha Thirimanna wrote:
>
> > Hi ,
> >
> > I am working for a project that base on web service and client. My issue
> is
> > in client side. I created the client using CXF. I wanted to call few
> > operation in one service at once. In server side it handle the session so
> > when do the first call it return session id and client should pass it to
> > the next operation call in same service There may be sequence of
> operation
> > calls in one service at once.
> > I got this issue when first operation is one-way. Because after do the
> > first call it returns session id, but second call goes to the server as a
> > fresh request(no set session id to second request).
> > I went through your code and got some fix , I'll attached that fix with
> > this. But your the expertise of this. Please we want to clear this out.
> > This was blocker issue for us really.
> >
> > Note : I have handled the configuration in client side to do this as
> > session enabled. I confirmed that, because If I do two way operation
> call ,
> > then this session handle correctly.
> >
> > thanks
>
>
>

Re: CXF Client issue when try to handle session for One-Way Operation call

Posted by Willem jiang <wi...@gmail.com>.
Please fill a JIRA[1] and share the patch with us.
[1]https://issues.apache.org/jira/browse/CXF


--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem




On Tuesday, July 9, 2013 at 2:55 AM, Harsha Thirimanna wrote:

> Hi ,
>  
> I am working for a project that base on web service and client. My issue is
> in client side. I created the client using CXF. I wanted to call few
> operation in one service at once. In server side it handle the session so
> when do the first call it return session id and client should pass it to
> the next operation call in same service There may be sequence of operation
> calls in one service at once.
> I got this issue when first operation is one-way. Because after do the
> first call it returns session id, but second call goes to the server as a
> fresh request(no set session id to second request).
> I went through your code and got some fix , I'll attached that fix with
> this. But your the expertise of this. Please we want to clear this out.
> This was blocker issue for us really.
>  
> Note : I have handled the configuration in client side to do this as
> session enabled. I confirmed that, because If I do two way operation call ,
> then this session handle correctly.
>  
> thanks