Hello, I'm trying to embed Axis2 v1.5.4 in our application. I've used the example provided at http://wso2.org/library/83 (How do I Embed SimpleHTTPServer in My Application and Deploy a POJO?) as a template and so far so good.
However, I wanted to test a few things and tried to update the contextRoot in the axis2.xml file to something other than axis2. After the change, the services' location changed but the list of services wouldn't show up. After some investigation, I saw that the file org.apache.axis2.transport.http.HTTPWorker had a hard coded test @ line 83 that verified for the string "axis2/services/". I think this a bug but I'm not familiar with the code base. If not, what am I doing wrong? If it is a bug, is the SimpleHTTPServer code being maintained or is it mostly used for unit tests and to demonstrate concepts? Is there a better way to embed Axis2? Also, I noticed that there was a SimpleAxis2Server class as well. What's the difference between SimpleHTTPServer and SimpleAxis2Server? Thanks - Alain --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org