axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinath Perera <>
Subject Re: Please revert API changes done as per AXIS2-4465
Date Sat, 22 Aug 2009 07:15:49 GMT
> I am not sure whether clearly understand the difference between how
> AxisServelet works and how SimpleHTTPServer works. In the case of
> AxisServlet, we first start AxisServlet and then we start Axis2, so when
> we start Axis2 we already have HTTP listener running (and hence
> TransportInDec). So once the system start we just create a
> TransportInDec using servlet and set that as the HTTP TransportDec (and
> of course we replace what is in axis2.xml for HTTP with this
> transportInDec, and we must do that). Whereas in SimpleHTTPServer, we
> first start Axis2 and then we use transport in axis2.xml to configure
> the system, so we use the tarnporInDec to configure the SimpleHTTPServer.

Yep, this is right. One reason it is there is that to allow both
simple HTTP server and servlet share the same axis2.xml which is not
required, rather a convenience. In a servlet case transport receiver
is not initialized at all (I do not think it has changed).


Srinath Perera, Ph.D.
   WSO2 Inc.

View raw message