> 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). Thanks Srinath -- ============================ Srinath Perera, Ph.D. WSO2 Inc. http://wso2.com Blog: http://srinathsview.blogspot.com/