apache AXIS session timeout

2005-02-16 Thread moritz
Hey there, I'm looking for a solution to the following problem. I'm trying to develop a rather simple Webservice with Axis 1_1 and want to use axis's built-in session-support. When a user logs in (e.g calls login method) user will be marked as online, so that user of the same web

Error configuring Tomcat for SSL (session already invalidated)

2005-02-14 Thread Ry.
2004-11-30 17:27:56 StandardWrapper[/webdav:invoker]: Loading container servlet invoker2004-11-30 17:28:56 StandardManager[/axis] Session event listener threw exceptionjava.lang.IllegalStateException: getAttribute: Session already invalidated at org.apache.catalina.session.StandardSession.ge

Problem Maintaining Session on Server with .JWS Files

2005-02-08 Thread Marc Rabil
Hello All,   We have an Axis server configured with 2 types of services: some that are defined in server-config.wsdd and others that are defined with .JWS files.   One of the WSDD-defined entries defines an authentication service.  If it is successful, we put an object in the session

NOBODY HELP ON THIS ONE!!! Re: question on service object state on "application/session" scoped service

2005-02-04 Thread tom chen
NOBODY HELP ON THIS ONE!!!tom chen <[EMAIL PROTECTED]> wrote: Hello All,   I published an application scoped.service. why does the service object not keep the object's state. There is only one object created? as   class AService{   private int lastValue=0;   public void setLastValue(int v){ l

Re: question on service object state on "application/session" scoped service

2005-02-03 Thread tom chen
Can someone answer it please.   Thank you.tom chen <[EMAIL PROTECTED]> wrote: Hello All,   I published an application scoped.service. why does the service object not keep the object's state. There is only one object created? as   class AService{   private int lastValue=0;   public void setLastValu

question on service object state on "application/session" scoped service

2005-02-02 Thread tom chen
Hello All,   I published an application scoped.service. why does the service object not keep the object's state. There is only one object created? as   class AService{   private int lastValue=0;   public void setLastValue(int v){ lastValue=v;   }     public int getLastValue(){ return las

Re: Maintain session when using stubs generated by WSDL2Java

2005-01-20 Thread Tim K. (Gmane)
, I have 4 SOAP services and each has itw own WSDL. When I generated the code for each WSDL, it generated XXXServiceLocator for each service. Calling setMaintainSession(true) on all service locations maintains the same session? I need to enable cookies for the whole client not for just one se

Re: Maintain session when using stubs generated by WSDL2Java

2005-01-20 Thread Tim K. (Gmane)
Btw, for the first case you need to call setMaintainSession(true) on the Service _before_ you get any Stubs from it. Something like this (assuming AxisTest is my web service): AxisTestServiceLocator ats = new AxisTestServiceLocator(); ats.setMaintainSession(true); // Axis specific AxisTest stub =

Re: Maintain session when using stubs generated by WSDL2Java

2005-01-20 Thread Praveen Peddi
Thanks. But I have multiple services. On teh server side, I have 4 SOAP services and each has itw own WSDL. When I generated the code for each WSDL, it generated XXXServiceLocator for each service. Calling setMaintainSession(true) on all service locations maintains the same session? I need to

Re: Maintain session when using stubs generated by WSDL2Java

2005-01-20 Thread Tim K. (Gmane)
On the generated ServiceLocator call setMaintainSession(true) Or you can cast the generated Stub to javax.xml.rpc.Stub and then call stub._setProperty(Stub.SESSION_MAINTAIN_PROPERTY, Boolean.TRUE) which is the JAX-RPC way. Both work in Axis, but the first one is Axis specific while the second o

Re: Question about session scope

2005-01-20 Thread Shantha Kumar
thanks Tim. I was of the opinion that the implementation was done for statelessness. thanks for the eye-opener. SK - Original Message - From: "Tim K. (Gmane)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 20, 2005 11:49 PM Subject: Re: Questi

Re: Question about session scope

2005-01-20 Thread Tim K. (Gmane)
The scope (session, application, request) on the server side tells Axis how many instance of the server implementation classes to create, it doesn't have much to do with the session on the client side. The client is not aware of the session scope on the server side. So you can for exampl

Re: Question about session scope

2005-01-20 Thread Shantha Kumar
Hi, if the client doesn't call setMaintainSession(true) the JSessionID cookie doesn't get transported to the server. The server keeps creating a new session and also a new bean. thanks, sk - Original Message - From: "Wiener, Zach" <[EMAIL PROTECTED]> To

Maintain session when using stubs generated by WSDL2Java

2005-01-20 Thread Praveen Peddi
Hello all, I was using Apache SOAp on client side and Axis on server side. Since ouor soap services need enabling of cookies on client side, I was maintaining juts one Call object and calling Call.setMaintainSession(true). This enables cookies on client side.   Now we are migrating our client

Question about session scope

2005-01-20 Thread Wiener, Zach
Hello. If I deploy a service with session scope, then why must the client call setMaintainSession(true)? It seems that the service, or Axis, should be responsible for maintaining the scope of the service as session. How is the scope of a service published to clients? What happens if a service

creating session aware clients with wsdl2java?

2004-12-17 Thread Andy Kriger
I have a Service running in session This Service has code in its constructor that outputs the current session ID and the getMaintainSession value (true or false). I created Client code for this session using

Session Management - Axis and JAX-RPC

2004-11-17 Thread Vikas Phonsa
ce client uses the javax.xml.rpc.session.maintain property (set >using the Stub or Call interfaces) to indicate whether or not it wants to >participate in a session with a service endpoint. And I have learned from messages in this mailing list and other articles that in Axis sessions could be h

Re: axis-client in EJB session bean (jboss)

2004-11-15 Thread Peter Gerstbach
Peter Mount wrote: Peter Gerstbach wrote: I've generated with Axis-1.1 stubs for the Google-webservice and built a working client. Then I've built an EJB session bean in JBoss were I call the google-webservice. I use the same (copy-paste) methods in the bean as in the axis-client but ev

Re: axis-client in EJB session bean (jboss)

2004-11-14 Thread Peter Mount
Peter Gerstbach wrote: Hi, I've generated with Axis-1.1 stubs for the Google-webservice and built a working client. Then I've built an EJB session bean in JBoss were I call the google-webservice. I use the same (copy-paste) methods in the bean as in the axis-client but every time I invok

axis-client in EJB session bean (jboss)

2004-11-14 Thread Peter Gerstbach
Hi, I've generated with Axis-1.1 stubs for the Google-webservice and built a working client. Then I've built an EJB session bean in JBoss were I call the google-webservice. I use the same (copy-paste) methods in the bean as in the axis-client but every time I invoke the bean-method f

session-timeout

2004-11-13 Thread Matthias Wessendorf
Hi folks, I would like to have no sessions for Axis-Servlet. My WebService uses a connection to a C++-application-server. Connecting to this server is expensive. How do I realize, that ALL request are served by the same session? Is there something to configure session-timeout, that I only have

RE: Problem: Sharing session between two services

2004-11-04 Thread Omri Spector
If anybody is interested, attached is a workaround to this problem. // Standard binding (though with some explicit casts) - note the maintain session Service1Locator service1Locator=new Service1Locator(); Service1SoapBindingStub service=(Service1SoapBindingStub)service1Locator.getService1

Problem: Sharing session between two services

2004-11-04 Thread Omri Spector
Hi all, I am writing a client application using Axis to access web services. The server publishes an "Authentication" service and a bunch of "Functional" services. I am expected to login using the first and then call the other services passing the same session cookie. A .Ne

How to manage session

2004-10-08 Thread SEBBAGH L Ext ROSI/SIFAC
Hi, We have a webservice (AXIS C++ 1.2) over Apache 1.3, on the client side we use java and we have created a client stub with WSDL2java (AXIS 1.1). I saw in the user guide that a WebService could be deployed with a session scope, but it seems that the ApacheTransport don't handle sess

Where is the session id or object stored in the Client side.

2004-10-07 Thread Dacheng
Hi, everybody: I am reading the source code of org.apache.axis.client.*. I tried to find out where the session id is stored so that the client side can insert session id into MessageContext object when the message is sent out. Unfortunately I still cannot find out which class is used to handle it

Session in AddressBook sample - a question

2004-10-07 Thread Janusz Martyniak
Hi Axis Gurus, I tried to follow the recipe posted by Alexey on this list. I reached the point when I have to (do I have to?) customise the AddressBookServiceLocator.java class to handle a custom constructor. Since it it an automatically generated class by the WSDL2Java tool I have a problem he

axis 1.2 beta with Jetty 5.0: IllegalStateException on session timeout

2004-10-01 Thread Silvano Maffeis
Hi I'm using axis 1.2 beta with Jetty 5.0. I'm getting the following exception when the HTTP session (created by an Axis client) is being destroyed: java.lang.IllegalStateException at org.mortbay.jetty.servlet.AbstractSessionManager$Session.getAttribute(AbstractSessionManager.java:

Wrapping statefull session beans in a web service deployed as session scope................?

2004-08-30 Thread Mahen Perera
Hi I want to wrap a statefull sesion bean in a web service deployed as session scope. In other words, I will be calling the session beans remote interface methods inside the web service methods... Is this possible? And if i use a .NET client , is it possible to have the counterpart of

Re: AW: AW: Deploying Web servics as "Session" Scope

2004-08-29 Thread Mahen Perera
What do u mean by "The Session is Alive?" How will the server know whether the session is alive? On Mon, 30 Aug 2004 08:00:44 +0200, Dorner Thomas <[EMAIL PROTECTED]> wrote: > I you deploy your Web Service as session based, the same instance of Service > was used for o

AW: AW: Deploying Web servics as "Session" Scope

2004-08-29 Thread Dorner Thomas
I you deploy your Web Service as session based, the same instance of Service was used for one single session - as long as the session is alive. Do you need that? --- T-Systems International GmbH Service Line

Re: AW: Deploying Web servics as "Session" Scope

2004-08-29 Thread Mahen Perera
But no need to have the Web Service deployed as session scope to use the SimpleSessionHandler right? Mahen On Mon, 30 Aug 2004 07:46:12 +0200, Dorner Thomas <[EMAIL PROTECTED]> wrote: > Hi, > > you can send the session in the SOAP-Header by using the > SimpleSessionHandler. A

AW: Deploying Web servics as "Session" Scope

2004-08-29 Thread Dorner Thomas
Hi, you can send the session in the SOAP-Header by using the SimpleSessionHandler. And you are able to set the Session timeout. Tomi --- T-Systems International GmbH Service Line Systems Integration

Deploying Web servics as "Session" Scope

2004-08-29 Thread Mahen Perera
Hi ! I know that s web service can be deployed as session scope by having the following in the service tag of the Web Service in the deploy.wsdd file However, What i am not sure is how the session information sent to the service side by the client side, in this case. For example, how long

Session Management using SOAP headers

2004-08-27 Thread Mahen Perera
Hi ! I am using .NET as the client and AXIS SOAP engine deployed in WebSphere as the server . I used the SimpleSessionHandler in the server side.. It is sending some session id the response message. Now i want to use this session id and do session management in the .NET client.. I am thining

Re: Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-26 Thread Mahen Perera
ot;ns24:LoanProductVO" > >serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > >type="java:com.fm.poc.service.domain.dataaccess.vo.LoanProductVO" > >xmlns:ns24="http://vo.dataaccess.domain.service.poc.fm.com"/> > > >encodingStyl

Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Yves Langisch
config.wsdd file in AXIS.jar with my newer version. Still didnt work Please help me Mahen On Wed, 25 Aug 2004 15:40:27 +0200, Dorner Thomas <[EMAIL PROTECTED]> wrote: You can t set the path in the war! You had to set the JVM-Options in Tomcat for example. In catalina.bat for example -

Re: Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
; >> Anyway I replaced the client-config.wsdd file in AXIS.jar with my > >> newer version. > >> > >> Still didnt work > >> > >> Please help me > >> > >> Mahen > >> > >> On Wed, 25 Aug 2004 15:40:27 +0200, Dorner T

Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Yves Langisch
TECTED] Betreff: Re: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS what do u mean by path in a WAR ? Mahen On Wed, 25 Aug 2004 15:21:29 +0200, Dorner Thomas <[EMAIL PROTECTED]> wrote: Have you set your path? And how do you set your path? --> The Server will use the client

Re: Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
ina.bat for example - look for the line: > >> > >>%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% > >> > >>and set your path: > >>-Daxis.ClientConfigFile=C:\\projects\\\\WebContent\\WEB-INF\\client- > >>config.wsdd > >> > >>---

Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Yves Langisch
r path: -Daxis.ClientConfigFile=C:\\projects\\\\WebContent\\WEB-INF\\client- config.wsdd -Ursprüngliche Nachricht- Von: Mahen Perera [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. August 2004 15:31 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS w

Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
tent\\WEB-INF\\client- > config.wsdd > > -Ursprüngliche Nachricht- > Von: Mahen Perera [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 25. August 2004 15:31 > An: [EMAIL PROTECTED] > Betreff: Re: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS > > what do u mean by pat

AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Dorner Thomas
- config.wsdd -Ursprüngliche Nachricht- Von: Mahen Perera [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. August 2004 15:31 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS what do u mean by path in a WAR ? Mahen On Wed, 25 Aug 2004 15:21:29

Re: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
t; > -Ursprüngliche Nachricht- > Von: Mahen Perera [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 25. August 2004 15:18 > An: [EMAIL PROTECTED] > Betreff: Re: AW: AW: AW: Session Management using SOAP Headers in AXIS > > i put the client.config in the Web-INF folder,,

AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Dorner Thomas
-90330 mailto:[EMAIL PROTECTED] http://www.t-systems.de -Ursprüngliche Nachricht- Von: Mahen Perera [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. August 2004 15:18 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: AW: Session Management using SOAP Headers in AXIS i put the client.config

Re: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
i put the client.config in the Web-INF folder,, however, still the handler is not getting executed. I cant see the session id SOAP header in the SOAP request. :( Any ideas? Thank you Mahen On Wed, 25 Aug 2004 14:43:11 +0200, Dorner Thomas <[EMAIL PROTECTED]> wrote: > > > You ca

AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Dorner Thomas
] Betreff: Re: AW: AW: Session Management using SOAP Headers in AXIS Thanx more problems... I am using JSP as the client to call the Web Service. The JSP calls the stub genereted by the WSDL2Java tool. I have put AXIS.jar in the WEB-INF\Lib folder of the WAR file Now where do i have to put the

Re: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
; > I have put AXIS.jar in the WEB-INF\Lib folder of the WAR file > > Now where do i have to put the client-config.wsdd file. > > Thanx > > Mahen > > > > > - Original Message - > From: Dorner Thomas <[EMAIL PROTECTED]> > Date: Wed,

Re: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
- From: Dorner Thomas <[EMAIL PROTECTED]> Date: Wed, 25 Aug 2004 14:31:15 +0200 Subject: AW: AW: Session Management using SOAP Headers in AXIS To: [EMAIL PROTECTED] Set Java-Option with the path where you put your client-config.wsdd (example for windows) -Daxis.ClientConfigFile=C:\\pr

AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Dorner Thomas
Set Java-Option with the path where you put your client-config.wsdd (example for windows)   -Daxis.ClientConfigFile=C:\\projects\\...\\WebContent\\WEB-INF\\client-config.wsdd    You can place your clientconfig wherever you want!   Tomi  

Re: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
+49/711 971- 44747 > Fax.: +49/711 972-90330 > > mailto:[EMAIL PROTECTED] > http://www.t-systems.de > > -Ursprüngliche Nachricht- > Von: Mahen Perera [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 25. August 2004 07:32 > An: [EMAIL PROTECTED]; [EMAIL PROTECTED

AW: Session Management using SOAP Headers in AXIS

2004-08-24 Thread Dorner Thomas
: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Session Management using SOAP Headers in AXIS Hi ! I want to manage Session using SOAP headers. For this i am using the "SimpleSessionHandler" provided by AXIS. I added this handler successfully to the server side and it is getting executed

Session Management using SOAP Headers in AXIS

2004-08-24 Thread Mahen Perera
Hi ! I want to manage Session using SOAP headers. For this i am using the "SimpleSessionHandler" provided by AXIS. I added this handler successfully to the server side and it is getting executed. I noticed the SOAP headers containing the Session id using the TCPMON tool. However, I was

RE: session management problem

2004-08-23 Thread mmosttler
server session id.  My assumption here is that you may need to utilize the cookie session management instead of the soap header session management.  If you use cookies then the session id cookie created by the app server (httpsession) should match your axissession.  You may also want to look in

AW: session management problem

2004-08-22 Thread Dorner Thomas
usermanagement. Our Subjects for every user are identivid by the sessionID. So when the session will be destroyed by a timeout, I need a notification! à for destroying my Subject too!!!   But I don’t know a way to do this.   When a AXISSession is generated there is also parallel HTTPSession And with

RE: session management problem

2004-08-21 Thread mmosttler
Title: Message I encountered the same issue where we have multiple service endpoint classes that need to be utilized in a single client session on theserver and the services need to share information in the session.  The way I solved this problem was to add a factory class in front of the

AW: session management problem

2004-08-20 Thread Dorner Thomas
Thank you for your quick reply,   I do it the same way you post in your Email.   As long as you use only one WebService with a generated AXIS-Session, there is no problem – so u have also only one HttpSession (HTTPSession = AXISSession) !   And we can use the AxisHTTPSessionListener

RE: session management problem

2004-08-20 Thread Wagle, Shriniwas
you should be able to do the usual stuff.  Also take a look at Axis API docs. From: Dorner Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 10:09 AMTo: [EMAIL PROTECTED]Subject: session management problem Hello,    I use Apache Axis sessions (SOAP-Haeder based) and I need to k

session management problem

2004-08-20 Thread Dorner Thomas
Hello,    I use Apache Axis sessions (SOAP-Haeder based) and I need to know when a session was destroyed, but I can’t find a session timeout notifying mechanism for axis. Does anybody have any idea?   Hope somebody can give me a tip L   There is a similar solution for standard

Http session

2004-07-08 Thread Renato Eschini
Hello to all, I'm new to this ml, I have a little question: I want to develope a w-s with axis framework, deployed under tomcat 5.X, for example I want make an rpc- call to a webservice and retrive the number of time that this webservice was invoked from this client:can I use http-session i

Session Problem --HttpUrlConection

2004-07-01 Thread bethana kumar
data from server.My Server has to authenticate User request before serving any data to user. Initially in Login Servlet we have created a new session for user,with in session time when user sends request to DataServlet,DataServlet will create a new session instead of getting already created one.

AW: Session timeout? (SimpleSessionHandler)

2004-07-01 Thread Dorner Thomas
Hi Günter, do it on the Server, for example in your Impl //Es wird die Session geholt und der SessionTimeout auf 10 minuten gesetzt. MessageContext mctx = MessageContext.getCurrentContext(); Session ses = mctx.getSession(); ses.setTimeout(600); Tomi -Ursprüngliche Nachricht- Von

Re: Session timeout? (SimpleSessionHandler)

2004-06-30 Thread karim
ou to define the session timeout : 5 But I'm not sure that it'll solve your problem because you said that the session ID is changed in less than 2 minutes. Karim

Re: Session timeout? (SimpleSessionHandler)

2004-06-30 Thread Günter Ladwig
d contains this: The client-config.wsdd contains basically the same and in principal the session work, but I think the timeout is too short. The first call to initialize() takes up to 20 seconds to complete, which doesn't seem to be a problem. But learnFrom

session based web services

2004-06-23 Thread Vikas Phonsa
Hi Everybody, I use a web services client developed using Axis to send data in SOAP requests to a server. The EAI component on that server keeps on crashing after certain number of requests and the server support people say that I should start preparing for session based web services. I would

Session handling with cookies

2004-06-23 Thread Chris Aiken
Hi all! I know how to use the standard session handling with cookies, but I like to know a little more in detail. I see that the AxisServlet put for every doPost() a new session to the MessageContext: msgContext.setSession(new AxisHttpSession(req)); Where are these session objects pooled

Session handling with cookies

2004-06-23 Thread Chris Aiken
Hi all! I know how to use the standard session handling with cookies, but I like to know a little more in detail. I see that the AxisServlet put for every doPost() a new session to the MessageContext: msgContext.setSession(new AxisHttpSession(req)); Where are these session objects pooled

Setting Session Timeout in the AxisEngine

2004-06-23 Thread Huaiyang Mao
Hello, do you know how can I set the session timeout in the AxisEngine so that the instance created in the session wird be invalid ? Is it possible that after the session timeout, the service intance will get the possibility to close the database connection created in the instance? Many thanks

problem using soap header for session ID for .net clients

2004-06-22 Thread Zihong Lu
w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> http://xml.apache.org/axis/session";>-5227012230670020468 ... .net client comlained about Unhandled Exception: System.InvalidOperationException: There is an error in XML document (

Re: Session handling: recommended method?

2004-06-21 Thread Srinivas Vemula
You can use SimpleSession with a little tweaking with .NET clients also. Srini Siffert, Erich wrote: Session handling: recommended method? Hi everybody, Just started with a project where we will enable access to a CICS running on a ibm host through SOAP

Re: Can we use SimpleSessionHandler for .NET/Axis Session handling?

2004-06-21 Thread Srinivas Vemula
Sessionhandling? Yes, U can. Srini CrishanthaNanayakkara wrote: Hi All, Can we use SimpleSessionHandler to handle sessions between a C#.NET client and a Axis Web Service?. Regards Crishantha

RE: Can we use SimpleSessionHandler for .NET/Axis Session handling?

2004-06-21 Thread Crishantha Nanayakkara
we use SimpleSessionHandler for .NET/Axis Session handling?Yes, U can.SriniCrishantha Nanayakkara wrote: Hi All, Can we use SimpleSessionHandler to handle sessions between a C#.NET client and a Axis Web Service?. Regards Crishantha

Re: Can we use SimpleSessionHandler for .NET/Axis Session handling?

2004-06-21 Thread Srinivas Vemula
Yes, U can. Srini Crishantha Nanayakkara wrote: Can we use SimpleSessionHandler for .NET/Axis Session handling? Hi All, Can we use SimpleSessionHandler to handle sessions between a C#.NET client and a Axis Web Service?. Regards Crishantha

Can we use SimpleSessionHandler for .NET/Axis Session handling?

2004-06-21 Thread Crishantha Nanayakkara
Title: Can we use SimpleSessionHandler for .NET/Axis Session handling? Hi All, Can we use SimpleSessionHandler to handle sessions between a C#.NET client and a Axis Web Service?. Regards Crishantha

Session timeout? (SimpleSessionHandler)

2004-06-19 Thread Günter Ladwig
ded to use sessions. As the client is an Axis client I used SimpleSessionHandler. My server-config.wsdd contains this: The client-config.wsdd contains basically the same and in principal the session work, but I think the timeout is too short. The first call to

How to get the service object for a given session id

2004-06-18 Thread Chris Aiken
Hi, everybody! I like to get the service object for a given session id, not for a session object (like msgContext.getSession()). How can I get it? Where I have to search? Thanks for any help! Chris Virus checked by G DATA AntiVirusKit Version: AVK 14.0.1040 from 26.05.2004 Virus

How to get the service object for a given session id

2004-06-18 Thread Chris Aiken
Hi, everybody! I like to get the service object for a given session id, not for a session object (like msgContext.getSession()). How can I get it? Where I have to search? Thanks for any help! Chris Virus checked by G DATA AntiVirusKit Version: AVK 14.0.1040 from 26.05.2004 Virus

RE: session in AddressBook sample

2004-06-17 Thread Ivan Vasquez
y, June 16, 2004 12:02 PM To: [EMAIL PROTECTED] Subject: RE: session in AddressBook sample Ivan, Thanks for explanation, it helps in understanding... I write you, not to a user list, because don't want to disturb all... So I know now why session does not work for me: I don't know h

session in AddressBook sample

2004-06-16 Thread Yakubovich, Alexey
Ok, I figured out how to fix AddressBook sample.  Just on case somebody else will struggle, please have these advices.   So, to get SimpleSessionHandler invoked on client side, you need to use special client-config.wsdd.  I added the following method to Main class from sample:   Address

RE: session in AddressBook sample

2004-06-16 Thread Yakubovich, Alexey
Ivan, Thanks for explanation, it helps in understanding... I write you, not to a user list, because don't want to disturb all... So I know now why session does not work for me: I don't know how to invoke handler (SimpleSessionHandler or any) on client side. Can you advise that? I che

Session handling: recommended method?

2004-06-16 Thread Siffert, Erich
Title: Session handling: recommended method? Hi everybody, Just started with a project where we will enable access to a CICS running on a ibm host through SOAP. The clients will have to authenticate themselves so the session between the Axis client and server has to use some kind of

RE: session in AddressBook sample

2004-06-15 Thread Ivan Vasquez
rvice methods receive as parameter ID that allows the handler to look up the correct session for any request (next I'd like to hide them in the SOAP header). The constructor for my Axis service class refers to the message context and gets the session. Once there, you use that session object as yo

session in AddressBook sample

2004-06-15 Thread Yakubovich, Alexey
Hi, Axis users!   That’s the third mail on the same topic… Sorry to repeat again about the same… No only AddressBook sample seems not working, but the whole Axis session implementation (class org.apache.axis.session.SimpleSession) also seems to be a joke.  Please, answer anybody who

Re: javax.ejb.EJBException: Second thread call to stateful session bean

2004-06-14 Thread karim
[EMAIL PROTECTED] wrote: The settup you want is the normal way for stateful session beans to work. A reference to the stateful session remote interface for each client will resolve to the original instance. thus, statefull session beans serve a single client as opposed to stateless session

Re: javax.ejb.EJBException: Second thread call to stateful session bean

2004-06-14 Thread smcardle
The settup you want is the normal way for stateful session beans to work. A reference to the stateful session remote interface for each client will resolve to the original instance. thus, statefull session beans serve a single client as opposed to stateless session beans which are served up by

javax.ejb.EJBException: Second thread call to stateful session bean

2004-06-14 Thread karim
Hi axis users, I'm new to Axis and I've got a problem using it. I would like to know if someone had already experimented it : In a nutshell, I've created and deployed a service S1 that acts like a mediator. This service creates and use a stateful session EJB E1. When my clien

session in AddressBook sample

2004-06-11 Thread Yakubovich, Alexey
More that that, both approaches described in http://www.fawcette.com/javapro/2003_04/online/wsdl_kjones_04_29_03/ (“Manage Sessions in Web Services” by Kevin Jones) seems do not work.

session in AddressBook sample

2004-06-11 Thread Yakubovich, Alexey
like ((AddressBookSOAPBindingStub) ab2).setMaintainSession (true); ) from Main.main(); does not result in keeping the session on a server side.  Remote debugging confirmed that statement.  Is it possible that I need additianally to specify something in .wsdd, or something, or it just a bug

Re: Session

2004-06-11 Thread Stefano Sambi
Hi Srinivas, sorry, but I used session management only in one web service; I don't have any experience in multiple services. So I can't help you. I think you have to modify the SimpleSessionHandler for services other than login service to check if the caller has a valid se

Re: Session

2004-06-10 Thread Srinivas Vemula
a way  to persist this information across multiple services. Ex-  One service has a method login, which upon sucessfull auth initiates a session mgmt process by including the headers, client makes another call on a different service for some other functionality.  Client can  include the sessionID

RE: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services

2004-06-04 Thread Anne Thomas Manes
The Microsoft Reporting Services uses an application-defined mechanism to manage sessions (i.e., specifying the SessionID in a header block), so it doesn't depend on the Web service implementations to use compatible session management mechanisms. It should work just fine as long as you impl

RE: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services

2004-06-04 Thread Anne Thomas Manes
The Microsoft Reporting Services uses an application-defined mechanism to manage sessions (i.e., specifying the SessionID in a header block), so it doesn't depend on the Web service implementations to use compatible session management mechanisms. It should work just fine as long as you impl

Re: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services

2004-06-04 Thread Davy Crocket
Thanks... I appreciate all the help! I will look into a deployment descriptor. I did read an article last night that stated: "There are not yet any solutions to ensure interoperability in terms of session management between Axis and other Web Service implementations." This is from

RE: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services

2004-06-04 Thread Anne Thomas Manes
: AW: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services It is possible to define a Deployment Des. on the client side (I read so) and set the Handlers also there. But you dont need in my way - i haven´t u

RE: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services

2004-06-04 Thread Anne Thomas Manes
: AW: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services It is possible to define a Deployment Des. on the client side (I read so) and set the Handlers also there. But you dont need in my way - i haven´t u

AW: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services

2004-06-04 Thread Dorner Thomas
PROTECTED] Betreff: Re: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services Thanks... Do you need to define (use) a Deployment Descriptor when using Axis on the client side? I thought it was for the server

Re: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services

2004-06-03 Thread Davy Crocket
June 03, 2004 8:58 AM Subject: AW: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services You have to use SimpleSessionHandler --> you must set in the Deployment Descriptor like this: xmlns:java="http://xml.

AW: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services

2004-06-03 Thread Dorner Thomas
ers/java";> mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 3. Juni 2004 15:48 An: [EMAIL PROTECTED] Betreff: Re: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting

Re: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services

2004-06-03 Thread Davy Crocket
Thanks for your help... I am new to Axis and am not able to get the session id to show up in the HTTP Header or the SOAP header. I have tried setting rsSoapStub.setMaintainSession(true) and adding to the WSDL before using WSDL2Java. How do I get the session id to show up in the request

RE: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services

2004-06-03 Thread Anne Thomas Manes
Microsoft’s Reporting Services supports session information using either a SOAP Header block or a URL. See http://msdn.microsoft.com/library/default.asp?url="">   From: Davy Crocket [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 6:30 PM To: [EMAIL PROTE

RE: Axis client gets a Session Id Required error when attempting to perform an render action against Microsoft's Reporting Services

2004-06-03 Thread Anne Thomas Manes
Microsoft’s Reporting Services supports session information using either a SOAP Header block or a URL. See http://msdn.microsoft.com/library/default.asp?url="">   From: Davy Crocket [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 6:30 PM To: [EMAIL PROTE

  1   2   3   4   >