Hello Stefano, can u please explain me how you add the header in your wsdl? Some tool or by hand?
Can you show me your wsdl for example? And how can .Net use this header to make things work? Thanks Tomi -----Urspr�ngliche Nachricht----- Von: Stefano Sambi [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 27. April 2004 18:58 An: [EMAIL PROTECTED] Betreff: Re: Session I didn't use cookies, but only a soap header with SimpleSessionHandler on Axis side. I also added an header in my wsdl, so .NET implements it automatically. ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 27, 2004 6:34 PM Subject: Re: Session > > > > > I did not post any troubles as the need tapered off. But, I read in the > article: To do this from a client that uses the axis runtime, the client > has to call the setMaintainSession method of the > org.apache.axis.client.Service interface. This interface is implemented by > the Locator class generated by the WSDL2Java generation tool. Once you call > the method, the Axis framework will automatically return the cookie to the > server: > > The problem i ran in to was how to make the client make and send the > cookie. How did you do it in .NET if I may ask. The path I took, which > was not successful for me, was to add a header with the session id in the > header. > > Thanks. > > > > > "Stefano Sambi" > <[EMAIL PROTECTED] To: <[EMAIL PROTECTED]> > iness-e.it> cc: > Subject: Re: Session > 04/27/2004 11:23 > AM > Please respond to > axis-user > > > > > > > Hi, > I used sessions between an Axis web service and a .NET client. > I didn't read your past messages, so I don't know what is your problem. > Stefano > > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, April 27, 2004 4:57 PM > Subject: Re: Session > > > > > > > > > > > > I am curious to know if anyone has implemented sessions without using the > > axis client. It must be possible to interop w/ non java clients and use > > sessions, but it has eluded me, so far. > > > > > > > > > > samir_chouthai > > <[EMAIL PROTECTED] To: > [EMAIL PROTECTED] > > .com> cc: > > Subject: Re: Session > > 04/27/2004 09:36 > > AM > > Please respond to > > axis-user > > > > > > > > > > > > > > You can mantain sessions between the client and server ... take a look at > > how > > org.apache.axis.handlers.SimpleSessionHandler works ... > > here's an article describing sessions. > > > http://www.fawcette.com/javapro/2003_04/online/wsdl_kjones_04_29_03/default_ > > pf.aspx > > > > Vineet Singh <[EMAIL PROTECTED]> wrote: > > hi all > > > > I need to implement the following case, need some help in what way that > > can be done. > > > > I want to check if the same client is firing the request or a different > > client for a given web service. > > > > if it is the same client how to identify it? > > > > I want to keep most of the implementation on the server side. > > > > Thanks > > > > > > > > Do you Yahoo!? > > Win a $20,000 Career Makeover at Yahoo! HotJobs > > > > > > > > > > > > > > > > > > > >
