Hi Raghu Still unable to delpoy the service, i tried both methods of deployment and all it says is that it is a faulty service. I need to show a working prototype before testing this application.
Thank you Anil On 6/15/07, Raghu Upadhyayula <[EMAIL PROTECTED]> wrote:
Hi Anil, Your services.xml is in wrong location according to what I read from http://ws.apache.org/axis2/1_2/quickstartguide.html#services In the samples mentioned at the above mentioned link, the example of a StockQuoteService looks like shown below. This is structure should be under WEB-INF/services - StockQuoteService - META-INF - services.xml - lib - samples - quickstart - service - pojo - StockQuoteService.class So in your case, your application structure should look like this. Appname - css - images - jsp - lib - WEB-INF - services - ServiceName - META-INF - services.xml - com (class files containing compiled source) - abccorp - xyz - script *OR* Appname - css - images - jsp - lib - WEB-INF - classes - com (class files containing compiled source) - abccorp - xyz - services - ServiceName - META-INF - services.xml - script Thanks Raghu ------------------------------ *From:* Anil Chukkapalli [mailto:[EMAIL PROTECTED] *Sent:* Friday, June 15, 2007 12:12 PM *To:* axis-user@ws.apache.org *Subject:* Re: [axis2] Deployment of an axis2 and struts appplication Hi Raghu Appname CSS IMAGES JSP LIB WEB-INF services.xml META-INF SCRIPT com (class files containing compiled source) abccorp xyz.... Thanks Anil On 6/15/07, *Raghu Upadhyayula* <[EMAIL PROTECTED]> wrote: Hi Anil, Can you tell how your application structure looks like … something like this … Appname WEB-INF classes Thanks Raghu ------------------------------ *From:* Anil Chukkapalli [mailto:[EMAIL PROTECTED] *Sent:* Friday, June 15, 2007 10:49 AM *To:* axis-user@ws.apache.org *Subject:* [axis2] Deployment of an axis2 and struts appplication Hi I have a struts application which also exposes Axis 2 web services. The application was deployed using .wsdd file in Axis and i ported it over to Axis2 and packaged the application using an aar file instead of a war file. When i try to deploy it using the deploy utility in Axis2 admin it says the deployed service is faulty. I created the META-INF folder with services.xml and it also has other folders that are used by the struts application. Is there any way i can use the wsdd file in Axis 2 or is there way aar or any other deployment mechanism can handle such a deployment in Tomcat 4.5 Thank you Anil