Hi Mikelantonio,

 

Thanks for answering.

I am sending a SOAP message (with a WS-Adressing header) to the server
and it returns me a service group id in the WS-Adressing-SOAP-Header.
That is how I retrieve the service group id and I send it then with the
following messages.

The actual retrieval of the servicegroupid when a message arrives is
done through axis2, but somehow my session always gets destroyed.

 

My timeout in the axis2.xml is configured as you described.. 30000ms. I
call the service again right after it has been finished, so it can't be
the usual timeout. Any ideas what I have might forgotten?

 

Thanks,

Matthias.

 

Von: Michelantonio Trizio [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 19. Mai 2008 17:15
An: [email protected]
Betreff: Re: [Axis 2.1.3] Session gets destroyed in soapsession scope

 

Hi,

how do you retrieve the servicegroupid?
However you must control the following parameter in axis2.xml
<parameter name="ConfigContextTimeoutInterval">30000</parameter>
The value is in milliseconds.

                       Mikelantonio

2008/5/19 <[EMAIL PROTECTED]>:

Hi group,

 

I am currently implementing a stateful web service based on the
soapsession scope configuration.

 

Now, I can call my webservice and it returns a sessionid. When I call
the webservice a second time with this session id. Then at first the
current session (the one I want to get) is destroyed and I get a SOAP
fault, telling me:

"Unable to find corresponding context for the serviceGroupId:
urn:uuid:36645CAA76105FFF541211205513801".

 

Why does it destroy the session at first hand? Does anybody have some
hints about or a solution for this?

 

Thank you,

Matthias.




-- 
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] 

Reply via email to