axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Weiner" <kwei...@interactivebusiness.com>
Subject Re: MessageContext argument in service method
Date Tue, 26 Mar 2002 01:48:57 GMT
Glen,

Thank you so much - that worked.  Is having MessageContext as the first
argument of a service method a thing of the past?

-Ken

----- Original Message -----
From: "Glen Daniels" <gdaniels@macromedia.com>
To: <axis-user@xml.apache.org>
Sent: Monday, March 25, 2002 1:52 PM
Subject: RE: MessageContext argument in service method


>
> Hi Ken:
>
> Try MessageContext.getCurrentContext().
>
> --Glen
>
> > -----Original Message-----
> > From: Ken Weiner [mailto:kweiner@interactivebusiness.com]
> > Sent: Monday, March 25, 2002 4:49 PM
> > To: axis-user@xml.apache.org
> > Subject: MessageContext argument in service method
> >
> >
> > Should I be able to include org.apache.axis.MessageContext as
> > the first
> > argument to any method in my service?
> >
> > I have a working client/service that uses
> > SimpleSessionHandler to stuff
> > session IDs into the SOAP header with each request and response.
Now,
> > while in my service, I'd like to access the session object which I
> > understand I can get from MessageContext.getSession() or set and get
> > properties from MessageContext.setProperty() and
> > MessageContext.getProperty().
> >
> > How do I access MessageContext in my service?  When I try adding it
as
> > the first argument to a method, my client throws the following
> > exception: java.lang.IllegalArgumentException: wrong number
> > of arguments
> > on object
> >
> > -Ken
> >
>


Mime
View raw message