This<http://www.keith-chapman.org/2008/10/how-to-embed-axis2-into-existing-web.html>should give you a clue. I think thats what your looking for.
Thanks, Keith. [1] http://www.keith-chapman.org/2008/10/how-to-embed-axis2-into-existing-web.html On Tue, Oct 14, 2008 at 6:21 AM, Tian Chi <[EMAIL PROTECTED]> wrote: > Hi all, > > Sorry previous message is still in wrong text format, this is it again. > > I'm a newbie on using Axis2. After reading through most of the documents on > this site, > I still couldn't find the answer I need. I'd really apreciate it if someone > can help me on this. > > All Axis2 documents I read on this site are to build new web > services/client using Axis2. > Currently I have already a big web app in use and I need to add a SOAP > service to > my web app using Axis2. Is that doable? If yes, what are the steps to make > that happen? > > Is it possible to copy axis2.war into my servlet container (Resin) (both > 'axis2' and 'myWebapp' directories under webapps directory) , create a SOAP > service in the axis2 app and then forward the request (by deinfing the > 'ServiceClass' parameter in services.xml?) to my own web app to handle some > complicated database processes? It seems to me it's not doable. Please > don't laugh at me if this question is too sily. > > If the previous approach is not possible. The only other apprach I can > think of is to embed Axis2 in my > own webapp. In that case, do I need to copy all the needed Axis2 jar files > to my own web app in WEB-INF/lib directory? If so, what are the needed jar > files for a SOAP service? > Basically the SOAP service is receive data from my client, save it to > database and respond to client with the results. There are many jar files in > Axis2. I just hope to skip some unnecessary Axis2 jar files to avoid > overhead since my own web app is already very big. > > Besides the Axis2 jar files, what else needs to be done to embed a SOAP > service in my own web app? > > I'd really really appreciate it if someone gives me some guidance or shed > some lights on this. > Hope to hear from you soon. > > thank you very much, > > -tian > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org