users@jax-rpc.java.net

RE: Sun JAX-RPC client against Axis JAX-RPC web service - problem with HttpSession

From: Kevin Jones <kevinj_at_develop.com>
Date: Thu, 23 Jun 2005 20:55:23 +0100

I'd be more interested in the name of the cookie. Is it jsessionid (for
example)?

Kevin Jones
http://kevinj.develop.com/weblog

> -----Original Message-----
> From: Merten Schumann [mailto:Merten.Schumann_at_asg.com]
> Sent: 23 June 2005 13:30
> To: users_at_jax-rpc.dev.java.net
> Subject: RE: Sun JAX-RPC client against Axis JAX-RPC web service - problem
> with HttpSession
>
> Used Axis tcpmon, thanx for the hint. Well, there seem to be really
> different cookies transferred for each request when I do use my JAX-RPC
> client. When I do use a Axis client, the cookie is the same, as expected
> (and needed).
>
> Strange, in a way. I thought I tried it with a simple Hello World sample
> in the past and the sessions worked fine, with JAX-RPC client. Hm, will
> try to investigate more if I have the time ...
> Merten
>
> > -----Original Message-----
> > From: Kevin Jones [mailto:kevinj_at_develop.com]
> > Sent: Thursday, June 23, 2005 11:29 AM
> > To: users_at_jax-rpc.dev.java.net
> > Subject: RE: Sun JAX-RPC client against Axis JAX-RPC web
> > service - problem with HttpSession
> >
> > Grab something like Axis's tcpmon, it's easy to use and will
> > show the HTTP
> > traffic leaving and coming into your service. You'll be able
> > to see the
> > stuff you need really easily from there,
> >
> > Kevin Jones
> > http://kevinj.develop.com/weblog
> >
> > > -----Original Message-----
> > > From: Merten Schumann [mailto:Merten.Schumann_at_asg.com]
> > > Sent: 23 June 2005 10:21
> > > To: users_at_jax-rpc.dev.java.net
> > > Subject: Re: Sun JAX-RPC client against Axis JAX-RPC web
> > service - problem
> > > with HttpSession
> > >
> > > Hm, Kevin, have to admit, in my JAX-RPC world I haven't
> > done any traffic
> > > monitoring yet. Think I have to research how to do this, my package
> > > sniffer is producing a lot of results but I cannot see my HTTP stuff
> > > there :-)
> > >
> > > BTW, found that my PHP client (utilizing NuSOAP) cannot maintain the
> > > session too. Maybe it's not (yet) in NuSOAP supported or I'm doing
> > > something wrong. As mentioned, works in Perl (SOAP::Lite) and Python
> > > (SOAPpy).
> > > Merten
> > >
> > > > -----Original Message-----
> > > > From: Kevin Jones [mailto:kevinj_at_develop.com]
> > > > Sent: Thursday, June 23, 2005 10:51 AM
> > > > To: users_at_jax-rpc.dev.java.net
> > > > Subject: RE: Sun JAX-RPC client against Axis JAX-RPC web
> > > > service - problem with HttpSession
> > > >
> > > > Hey Merten,
> > > >
> > > > Have you looked at the HTTP traffic being sent between client
> > > > and server?
> > > > What do the SOAP headers look like? What do the [Set-]Cookie
> > > > headers look
> > > > like?
> > > >
> > > > Kevin Jones
> > > > http://kevinj.develop.com/weblog
> > > >
> > > > > -----Original Message-----
> > > > > From: Merten Schumann [mailto:Merten.Schumann_at_asg.com]
> > > > > Sent: 23 June 2005 09:43
> > > > > To: users_at_jax-rpc.dev.java.net
> > > > > Subject: Re: Sun JAX-RPC client against Axis JAX-RPC web
> > > > service - problem
> > > > > with HttpSession
> > > > >
> > > > > Hello,
> > > > >
> > > > > now I deployed my service to both Tomcat/Axis and Sun AS.
> > > > Well, an Axis
> > > > > client works fine against both services, when I add
> > > > > org.apache.axis.client.Service.setMaintainSession(true).
> > > > But, still, my
> > > > > Sun JAX-RPC client does not seem to properly maintain the
> > > > session, it's
> > > > > not working correctly against Axis and not even against Sun
> > > > AS. So, the
> > > > > problem seems to be in JAX-RPC client side?? In the
> > client, is there
> > > > > more to do then
> > > > >
> > > > >
> > > > ((javax.xml.rpc.Stub)proxy).setProperty(javax.xml.rpc.Stub.SES
> > > > SION_MAINT
> > > > > AIN_PROPERTY, Boolean.TRUE);
> > > > > ?? Hm, strange in a way. :-)
> > > > >
> > > > > cu
> > > > > Merten
> > > > >
> > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> > > > > For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
> > > >
> > > >
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> > > > For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
> > > >
> > > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> > > For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> > For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net