axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: AxisServlet & ListingAgent
Date Fri, 08 Feb 2008 21:50:12 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

anyways, i fixed the AxisServlet in Axis2.

thanks,
dims

Davanum Srinivas wrote:
| eek! Don't know why Asankha did not fix Axis2's when he checked in the
| synapse patch :(
|
| -- dims
|
| Andreas Veithen wrote:
| | Hi Guillaume!
| |
| | In the Apache Synapse project we had the very same problem. See
| | http://issues.apache.org/jira/browse/SYNAPSE-222 for a workaround.
| |
| | Andreas
| |
| | On 08 Feb 2008, at 15:50, Guillaume Cauchon wrote:
| |
| |> Hi, Im currently working on a custom AxisServlet in which I need to
| |> pass more data to the .jsp pages. I wanted to extend the ListingAgent
| |> to add more to the sessions parameters, but the instance access right
| |> are private so I cant overrides the AxisServlet instance with my own&
| |>
| |>
| |> public class AxisServlet extends HttpServlet implements
| |> TransportListener {
| |>     private static final Log log = LogFactory.getLog(AxisServlet.class);
| |>     public static final String CONFIGURATION_CONTEXT =
| |> "CONFIGURATION_CONTEXT";
| |>     public static final String SESSION_ID = "SessionId";
| |>     protected transient ConfigurationContext configContext;
| |>     protected transient AxisConfiguration axisConfiguration;
| |>
| |>     protected transient ServletConfig servletConfig;
| |>
| |>     private transient ListingAgent agent;
| |>     &
| |> }
| |>
| |> The simplest solution would be to change the access right to
| |> protected, but I dont know if this would have any side effect& Based
| |> on the code base I dont see why it would have any negative effects on
| |> the webapp& Other than that, any ideas how I could do this without
| |> copying the AxisServlets doGet to my servlet class method to use my
| |> instance of ListingAgent?
| |>
| |> Thanks
| |>
| |> Guillaume Cauchon | DataDirect Technologies inc.
| |>  -email:
| |> guillaume.cauchon@datadirect.com
| |>  -mobile:
| |> 418.952-7357
| |>  -work:
| |> 418.649-1551
| |>
| |
| |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFHrM6UgNg6eWEDv1kRAvWDAJ9M5FQlvFMDKMGMmN6qOfXIJNZMDQCeMMka
POv7gAZxW3SH47PZCRwCjlA=
=xJFv
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message