Hi, This http://www.keith-chapman.org/2008/10/how-to-embed-axis2-into-existing-web.htmlshould help you.
Thanks, Keith. On Fri, Jan 9, 2009 at 10:46 PM, Wishing Carebear < [email protected]> wrote: > Thanks Sagara. I will try it out.Regards, > Ravi > > > On Fri, Jan 9, 2009 at 9:10 AM, Sagara Gunathunga < > [email protected]> wrote: > >> If you want to integrate Axis2 web service as a part of your web >> application you can follow these steps. >> >> 1.) Within the WEB-INF directory create directory called "services" , you >> can place web service's meta information files there (services.xml) . as a >> example for "MyService" web serivce can have following directory structure >> WEB-INF/services/MyService/META-INF/services.xml >> >> 2.) Add requred Axis 2 jar files to lib directory of your web application. >> >> 3.) Define the servlet mapping for AxisServlet in web .xml file as >> follows . >> >> <servlet> >> <servlet-name>AxisServlet</servlet-name> >> >> <servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class> >> <load-on-startup>1</load-on-startup> >> </servlet> >> <servlet-mapping> >> <servlet-name>AxisServlet</servlet-name> >> <url-pattern>/services/*</url-pattern> >> </servlet-mapping> >> >> >> Also you can use Maven to package and testing (together with Jetty >> plug-in) . Hope this will help you. >> >> >> >> On Fri, Jan 9, 2009 at 9:58 PM, Wishing Carebear < >> [email protected]> wrote: >> >>> Hello:I have a war created for my enterprise application. Need to embed >>> axis2 with that. >>> >>> Could someone point me to the instructions need to be followed to achieve >>> this if possible. >>> >>> Thanks for your time and help, >>> Regards, >>> Ravi >>> >> >> >> >> -- >> Sagara Gunathunga >> >> Blog - ssagara.blogspot.com >> Web - http://sagaras.awardspace.com/ >> > > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org
