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 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,
how I can get a session from the CALL.
But there is another question. How can I access the session on server side
to handle it.
I use SOAP from Apache and if I only write a server looks like this.
package hello;
import java.util.*;
public class HelloServer {
private Hashtable names = new Hashtable();
private int count = 0;
public Hashtable getAllNames()
{
return names;
}
public HelloServer() {
super();
}
public String sayHelloTo(String name)
{
names.put("User" + (count++), name);
return "Hello " + name + ", How are you? /" + count;
}
}
I have no idea how to get the session. Can you give me a hint?
thx daniel
____________________________________________
SinnerSchrader Deutschland GmbH
Communication & Technology
mailto:[EMAIL PROTECTED]
http://www.sinnerschrader.com
fon +49.(0) 40.39 88 55-0
fax +49.(0) 40.39 88 55-55
gasstrasse 8-16 | 22761 hamburg | germany
____________________________________________
MyRPCJavaProvider.java
AbstractServiceRequestHandler_.java