File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Reg: Deployment exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Reg: Deployment exception" Watch "Reg: Deployment exception" New topic
Author

Reg: Deployment exception

Ramkumar Umayal
Greenhorn

Joined: Oct 13, 2009
Posts: 18
Hi all,

I have implemented a server side code using JavaWS model. Then I created a jar of generated classes. When i delplyed it in Tomcat using axis2. I getting an exception saying

[INFO] org.apache.axis2.deployment.DeploymentException: The services.xml file ca
nnot be found for the service: D:\VTP\apache-tomcat-6.0.20\apache-tomcat-6.0.20\
webapps\axis2\WEB-INF\services\sm.jar


I read that there wont be services.xml for JavaWs implementation. The tomcat throwing a exception that needs a services.xml file. Could you please help me out in this regard.

Thanks & Regards,
Ram
C Shinde
Ranch Hand

Joined: Oct 22, 2009
Posts: 60
As far as I can see the Axis 2.0 getting started page talks about having a service.xml file.
I presume you have read this page Apache Axis 2.0 Getting Started


Regards,
Chetan Shinde
Ramkumar Umayal
Greenhorn

Joined: Oct 13, 2009
Posts: 18
Thanks for response..

Now i am not getting any exception since i missed a class to add in the path.

Thanks again.

-RAM
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Reg: Deployment exception
 
Similar Threads
Axis2-1.4 help
Failing to start
Where do i find the compiled java code(servlet) for the corresponding jsp files?
Creating webservice using Axis2
Axis2 - wsdl2java - services.xml