> Date: Thu, 7 Apr 2011 19:34:12 -0400
> Subject: Re: AXIS2 - SimpleHTTPServer
> From: [email protected]
> To: [email protected]
> 
> Repost - Still hoping to get some kind of acknowledgement.
> 
> On Mon, Apr 4, 2011 at 2:06 PM, Alain Beauregard <[email protected]> wrote:
> > Hello,
> >
> > I've posted this question on the dev mailing list before (twice) but didn't
> > get a reply so I'm trying here instead.
> >
> > 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?).
> >
> > I wanted to customize 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 created
> > my own worker and worker factory and was able to get the list
> > to show up.
> >
> > I'm not familiar with the code base. I don't want to report a bug if this
> > is just sample code so my question is:
> >   Is the SimpleHTTPServer code being maintained
MG>every artifact in the codebase is modified in conformance to requests 
submitted to Axis2 JIRA

 >>or is it  mostly used for unit tests and to demonstrate concepts?
MG>both..every artifact passes a rigorous set of of unit tests to demonstrate 
correct implementation of concepts

> >
> > Also, is there a better way to embed Axis2? What are the limitations
> > of using SimpleHTTPServer?
MG>SimpleHttpServer does not have the full features of commercially available 
containers such as Catalina, Grizzly or Resin

Will I be able to use WS-Security and WS-Addressing?
MG>yes there is no module disabling mechanism for any specific container
> >
> > Also, I noticed that there was a SimpleAxis2Server class as well.
> > What's the difference between SimpleHTTPServer and SimpleAxis2Server?
MG>AxisServer is a simple Axis server without ability to parse HTML
MG>HttpServer will parse HTML but I am not sure if parse will handle features 
and functions of the latest HTML5 spec are accomodated

> > Should I be using that instead?
MG>if you dont anticipate any need for HTML Parsing or Presentation and need to 
test basic SOAP 1.1 or SOAP 1.2 messages  go with SimpleAxis2Server

> >
> > Thanks
> > - Alain
MG>Bon Chance
MG>Martin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
                                          

Reply via email to