Re: axis2 1.3 and session management

2008-02-12 Thread Charitha Kankanamge

Michelantonio Trizio wrote:


Thanks, but now on the client I have this message:

org.apache.axis2.AxisFault: Unable to engage module : addressing

How can I say to the client where is addressing-1.3.mar?

I try both stub._getServiceClient().engageModule("addressing"); and 
stub._getServiceClient().engageModule("addressing-1.3");


Please make sure addressing-1.3.mar is in your class path. Also, try 
stub._getServiceClient().engageModule(Constants.MODULE_ADDRESSING).




On the server side I enable addressing globally, Do I however need to 
add  in services.xml?


No. If addressing is globally engaged, you don't want to engage it at 
the service level.




Thanks a lot

2008/2/12, Charitha Kankanamge <[EMAIL PROTECTED] 
>:


Managing a SOAP session requires you to engage addressing modules on
both the server side and client side. You can engage addressing at the
client side as follows.
stub._getServiceClient().engageModule("addressing");

In server side, please add the following element in services.xml



regards
Charitha

Michelantonio Trizio wrote:

> I want to deploy a service with soapsession.
> I write this in services.xml:
>
> 
> 
>
> and write this in the client:
>
> stub._getServiceClient().getOptions().setManageSession(true);
>
> I don't know if it is important, but I use axis2 plugin for
eclipse to
> generate the stub for the client.
> The problem is that in the response, I never find code like this:
>
>
>   
>  http://www.w3.org/2005/08/addressing/anonymous
>
>   
>   
>   "http://ws.apache.org/namespaces/axis2";>
>
>urn:uuid:65E9C56F702A398A8B11513011677354
>  
>   
>
>
>Where do I wrong?
>
>Thanks
>
>
>
> 2008/2/12, Charitha Kankanamge <[EMAIL PROTECTED]

> >>:
>
> Hi MT,
> What error did you get when following the instructions given
in the
> article? AFAIK, we did not come across a session management
issue in
> Axis2-1.3.
>
> regards
> Charitha
>
> Michelantonio Trizio wrote:
>
> > Hi,
> >
> > I'd like to know how to use session on axis2 1.3
> > I use this guide
> http://www.developer.com/java/web/article.php/3620661
> > , but it not works.
> > Where can I find an explicit example?
> > Thanks
> >   MT
> >
> > --
> > It's creepy, but here we are, the Pilgrims, the crackpots
of our
> time,
> > trying to establish our own alternate reality. To build a
world
> out of
> > rocks and chaos. What it's going to be, I don't know. Even
after all
> > that rushing around, where we've ended up is the middle of
> nowhere in
> > the middle of the night. And maybe knowing isn't the
point. Where
> > we're standing right now, in the ruins in the dark, what
we build
> > could be anything. [Choke - Chuck Palahniuk]
>
>
>
>
>
-

> To unsubscribe, e-mail: [EMAIL PROTECTED]

> >
> For additional commands, e-mail:
[EMAIL PROTECTED] 
> >
>
>
>
>
> --
> It's creepy, but here we are, the Pilgrims, the crackpots of our
time,
> trying to establish our own alternate reality. To build a world
out of
> rocks and chaos. What it's going to be, I don't know. Even after all
> that rushing around, where we've ended up is the middle of
nowhere in
> the middle of the night. And maybe knowing isn't the point. Where
> we're standing right now, in the ruins in the dark, what we build
> could be anything. [Choke - Chuck Palahniuk]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]





--
It's creepy, but here we are, the Pilgrims, the crackpots of our time, 
trying to establish our own alternate reality. To build a world out of 
rocks and chaos. What it's going to be, I don't know. Even after all 
that rushing around, where we've ended up is the middle of nowhere in 
the middle of the night. And maybe knowing isn't the point. Where 
we're standing right now, in the ruins in the dark, what we build 
could be anything. [Choke - Chuck Palahniuk] 





---

Re: axis2 1.3 and session management

2008-02-12 Thread Michelantonio Trizio
Thanks, but now on the client I have this message:

org.apache.axis2.AxisFault: Unable to engage module : addressing

How can I say to the client where is addressing-1.3.mar?

I try both stub._getServiceClient().engageModule("addressing"); and
stub._getServiceClient().engageModule("addressing-1.3");

On the server side I enable addressing globally, Do I however need to add
 in services.xml?

Thanks a lot

2008/2/12, Charitha Kankanamge <[EMAIL PROTECTED]>:
>
> Managing a SOAP session requires you to engage addressing modules on
> both the server side and client side. You can engage addressing at the
> client side as follows.
> stub._getServiceClient().engageModule("addressing");
>
> In server side, please add the following element in services.xml
>
> 
>
> regards
> Charitha
>
> Michelantonio Trizio wrote:
>
> > I want to deploy a service with soapsession.
> > I write this in services.xml:
> >
> > 
> > 
> >
> > and write this in the client:
> >
> > stub._getServiceClient().getOptions().setManageSession(true);
> >
> > I don't know if it is important, but I use axis2 plugin for eclipse to
> > generate the stub for the client.
> > The problem is that in the response, I never find code like this:
> >
> >
> >   
> >  http://www.w3.org/2005/08/addressing/anonymous
> >
> >   
> >   
> >   > "http://ws.apache.org/namespaces/axis2";>
> >
> >urn:uuid:65E9C56F702A398A8B11513011677354
> >  
> >   
> >
> >
> >Where do I wrong?
> >
> >Thanks
> >
> >
> >
> > 2008/2/12, Charitha Kankanamge <[EMAIL PROTECTED]
> > >:
> >
> > Hi MT,
> > What error did you get when following the instructions given in the
> > article? AFAIK, we did not come across a session management issue in
> > Axis2-1.3.
> >
> > regards
> > Charitha
> >
> > Michelantonio Trizio wrote:
> >
> > > Hi,
> > >
> > > I'd like to know how to use session on axis2 1.3
> > > I use this guide
> > http://www.developer.com/java/web/article.php/3620661
> > > , but it not works.
> > > Where can I find an explicit example?
> > > Thanks
> > >   MT
> > >
> > > --
> > > It's creepy, but here we are, the Pilgrims, the crackpots of our
> > time,
> > > trying to establish our own alternate reality. To build a world
> > out of
> > > rocks and chaos. What it's going to be, I don't know. Even after
> all
> > > that rushing around, where we've ended up is the middle of
> > nowhere in
> > > the middle of the night. And maybe knowing isn't the point. Where
> > > we're standing right now, in the ruins in the dark, what we build
> > > could be anything. [Choke - Chuck Palahniuk]
> >
> >
> >
> >
> >
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > 
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> >
> >
> >
> >
> > --
> > It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> > trying to establish our own alternate reality. To build a world out of
> > rocks and chaos. What it's going to be, I don't know. Even after all
> > that rushing around, where we've ended up is the middle of nowhere in
> > the middle of the night. And maybe knowing isn't the point. Where
> > we're standing right now, in the ruins in the dark, what we build
> > could be anything. [Choke - Chuck Palahniuk]
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
It's creepy, but here we are, the Pilgrims, the crackpots of our time,
trying to establish our own alternate reality. To build a world out of rocks
and chaos. What it's going to be, I don't know. Even after all that rushing
around, where we've ended up is the middle of nowhere in the middle of the
night. And maybe knowing isn't the point. Where we're standing right now, in
the ruins in the dark, what we build could be anything. [Choke - Chuck
Palahniuk]


Re: axis2 1.3 and session management

2008-02-12 Thread Charitha Kankanamge
Managing a SOAP session requires you to engage addressing modules on 
both the server side and client side. You can engage addressing at the 
client side as follows.

stub._getServiceClient().engageModule("addressing");

In server side, please add the following element in services.xml



regards
Charitha

Michelantonio Trizio wrote:


I want to deploy a service with soapsession.
I write this in services.xml:




and write this in the client:

stub._getServiceClient().getOptions().setManageSession(true);

I don't know if it is important, but I use axis2 plugin for eclipse to 
generate the stub for the client.

The problem is that in the response, I never find code like this:


  
 http://www.w3.org/2005/08/addressing/anonymous

  
  
 http://ws.apache.org/namespaces/axis2";>

   urn:uuid:65E9C56F702A398A8B11513011677354
 
  


Where do I wrong?

Thanks 



 
2008/2/12, Charitha Kankanamge <[EMAIL PROTECTED] 
>:


Hi MT,
What error did you get when following the instructions given in the
article? AFAIK, we did not come across a session management issue in
Axis2-1.3.

regards
Charitha

Michelantonio Trizio wrote:

> Hi,
>
> I'd like to know how to use session on axis2 1.3
> I use this guide
http://www.developer.com/java/web/article.php/3620661
> , but it not works.
> Where can I find an explicit example?
> Thanks
>   MT
>
> --
> It's creepy, but here we are, the Pilgrims, the crackpots of our
time,
> trying to establish our own alternate reality. To build a world
out of
> rocks and chaos. What it's going to be, I don't know. Even after all
> that rushing around, where we've ended up is the middle of
nowhere in
> the middle of the night. And maybe knowing isn't the point. Where
> we're standing right now, in the ruins in the dark, what we build
> could be anything. [Choke - Chuck Palahniuk]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]





--
It's creepy, but here we are, the Pilgrims, the crackpots of our time, 
trying to establish our own alternate reality. To build a world out of 
rocks and chaos. What it's going to be, I don't know. Even after all 
that rushing around, where we've ended up is the middle of nowhere in 
the middle of the night. And maybe knowing isn't the point. Where 
we're standing right now, in the ruins in the dark, what we build 
could be anything. [Choke - Chuck Palahniuk] 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: axis2 1.3 and session management

2008-02-12 Thread Michelantonio Trizio
I want to deploy a service with soapsession.
I write this in services.xml:




and write this in the client:

stub._getServiceClient().getOptions().setManageSession(true);

I don't know if it is important, but I use axis2 plugin for eclipse to
generate the stub for the client.
The problem is that in the response, I never find code like this:


   
  http://www.w3.org/2005/08/addressing/anonymous
   
   
  http://ws.apache.org/namespaces/axis2";>
urn:uuid:65E9C56F702A398A8B11513011677354
  
   


Where do I wrong?
Thanks



2008/2/12, Charitha Kankanamge <[EMAIL PROTECTED]>:
>
> Hi MT,
> What error did you get when following the instructions given in the
> article? AFAIK, we did not come across a session management issue in
> Axis2-1.3.
>
> regards
> Charitha
>
> Michelantonio Trizio wrote:
>
> > Hi,
> >
> > I'd like to know how to use session on axis2 1.3
> > I use this guide http://www.developer.com/java/web/article.php/3620661
> > , but it not works.
> > Where can I find an explicit example?
> > Thanks
> >   MT
> >
> > --
> > It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> > trying to establish our own alternate reality. To build a world out of
> > rocks and chaos. What it's going to be, I don't know. Even after all
> > that rushing around, where we've ended up is the middle of nowhere in
> > the middle of the night. And maybe knowing isn't the point. Where
> > we're standing right now, in the ruins in the dark, what we build
> > could be anything. [Choke - Chuck Palahniuk]
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
It's creepy, but here we are, the Pilgrims, the crackpots of our time,
trying to establish our own alternate reality. To build a world out of rocks
and chaos. What it's going to be, I don't know. Even after all that rushing
around, where we've ended up is the middle of nowhere in the middle of the
night. And maybe knowing isn't the point. Where we're standing right now, in
the ruins in the dark, what we build could be anything. [Choke - Chuck
Palahniuk]


Re: axis2 1.3 and session management

2008-02-12 Thread Charitha Kankanamge

Hi MT,
What error did you get when following the instructions given in the 
article? AFAIK, we did not come across a session management issue in 
Axis2-1.3.


regards
Charitha

Michelantonio Trizio wrote:


Hi,

I'd like to know how to use session on axis2 1.3
I use this guide http://www.developer.com/java/web/article.php/3620661 
, but it not works.

Where can I find an explicit example?
Thanks
  MT

--
It's creepy, but here we are, the Pilgrims, the crackpots of our time, 
trying to establish our own alternate reality. To build a world out of 
rocks and chaos. What it's going to be, I don't know. Even after all 
that rushing around, where we've ended up is the middle of nowhere in 
the middle of the night. And maybe knowing isn't the point. Where 
we're standing right now, in the ruins in the dark, what we build 
could be anything. [Choke - Chuck Palahniuk] 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



axis2 1.3 and session management

2008-02-12 Thread Michelantonio Trizio
Hi,

I'd like to know how to use session on axis2 1.3
I use this guide http://www.developer.com/java/web/article.php/3620661 , but
it not works.
Where can I find an explicit example?
Thanks
  MT

-- 
It's creepy, but here we are, the Pilgrims, the crackpots of our time,
trying to establish our own alternate reality. To build a world out of rocks
and chaos. What it's going to be, I don't know. Even after all that rushing
around, where we've ended up is the middle of nowhere in the middle of the
night. And maybe knowing isn't the point. Where we're standing right now, in
the ruins in the dark, what we build could be anything. [Choke - Chuck
Palahniuk]