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 Axis 2 with maven Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis 2 with maven" Watch "Axis 2 with maven" New topic
Author

Axis 2 with maven

Trilochan Bharadwaj
Ranch Hand

Joined: Feb 02, 2009
Posts: 100
Hi,

I am new to Web services and was trying axis2, Here's a summary of steps i followed:
***********************************************************************
1.) Create a maven project using mvn archetype:generate, use option 36 which was simply myfaces project.
2.) Added following entry :

on plugins element of POM xml.
3.) Create a simple class OMNamahShivayaWebService that has a method praise that passes in a deity name as string and returns a string with praise (OM Namah + deity name) ;)
4.) Added in plugin section (within axis2-java2wsdl-maven-plugin entry) following:


5.) ran command mvn clean axis2-java2wsdl:java2wsdl -e and got this exception (stack trace) :


Any ideas as to what I should be doing or am I missing something? I just want to deploy this service.

Regards
Trilochan B.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Axis 2 with maven