Andreas, thanks for clarification. According to AXIS2-4465 the documentation is on its way, but I'd like to be sure we configure that properly. I am running on 1.5.1 and would like to support both http, https and we use useOriginalwsdl=true (so wsdl is served as is, no generation).
As I see from the code the AxisServlet does implements TransportListener directly that mentioned as problematic in AXIS2-4465... Anyhow the current behavior I face that if no explicit transportReceiver defined in axis2.xml the services both via http and https work as expected via the ports defined for web application and ?wsdl returns wsdl document. But if axis2.xml is configured as: <transportReceiver name="default" class="org.apache.axis2.transport.http.AxisServlet" /> the services http/s work well, but ?wsdl request fails with null exception. Do I miss something in configuration to make it work? Thanks, Gennady On Mon, Dec 28, 2009 at 07:36, wrote: > Hi, > > I am fine tuning axis2 configuration for our use cases which are stateless > web services available over http(s) only. Now I wonder regarding relevance > of Local Transport settings in our scenario. Unfortunately I couldn't fine > the documentation on that topic, but I suppose it is optimized for calls > within the same web application? The local transport is primarily used in unit tests. Not sure if it is usable in a production environment. > Additionally we embed axis2 within our web application. I successfully > tested that in this case the default <transportReceiver name="http" > class="org.apache.axis2.transport.http.SimpleHTTPServer"> can be removed so > ports and other parameters are defined by web application connection. But I > wonder how that works if I don't have any explicit configuration for > <transportReceiver>, are there some defaults? The issue AXIS2-4465 sheds some light on how transport receivers are/were managed by AxisServlet. > Thanks, > Gennady > > >