lto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 12:47 AM
To: [EMAIL PROTECTED]
Subject: RE: session maintance
Hi Oleg,
this is a good example... thx a lot.
But how did you find out that you can put the 3. parameter in the method?
like you wrote.
Is there a documentation or did you find
t;methods, there will be trouble.
>
>Sincerely,
>Oleg
>
>-Original Message-
>From: Ong Boon Pang [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, October 30, 2001 7:26 PM
>To: [EMAIL PROTECTED]
>Subject: Re: session maintance
>
>
>Hi Oleg,
>
> >For som
You need to specify SOAPContext in the list of arguments. I took an example
from
http://www-106.ibm.com/developerworks/library/ws-peer2/
and added session control to it.
SERVER SIDE METHOD
public float getRate( org.apache.soap.rpc.SOAPContext cnt, String country1,
String country2 ) throws SOAPEx
Hi
>org.apache.soap.rpc.SOAPContext cnt = call.getSOAPContext();
>
>HttpSession session = (HttpSession)
>cnt.getProperty(Constants.BAG_HTTPSESSION);
>session.getID();
>
but I in my Context ther are no Properties.
I get an NullPointerExeption when I want to pritn aut the session id
I set up then
Hi,
thx a lot for your help Marko and Neal
I will have a look at the code and will try the example.
regards,
daniel
SinnerSchrader Deutschland GmbH
Communication & Technology
mailto:[EMAIL PROTECTED]
http://www.sinnerschrader.com
fon +49.(0) 40.3
: Re: session maintance
Hi Oleg,
have you set up the scope of the deployed service to session.
I have nearly the same question.
>HttpSession session = (HttpSession)
>cnt.getProperty(Constants.BAG_HTTPSESSION);
>session.getID();
these lines will help me. Because I didnt know up to now,
Hi Daniel,
one possible solution I know is to implement your own SOAP-Provider. See the
attached files.
regards,
Marko
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 31. Oktober 2001 11:15
An: [EMAIL PROTECTED]
Betreff: Re: session
Hi Oleg,
have you set up the scope of the deployed service to session.
I have nearly the same question.
>HttpSession session = (HttpSession)
>cnt.getProperty(Constants.BAG_HTTPSESSION);
>session.getID();
these lines will help me. Because I didnt know up to now,
how I can get a session from the