• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis 2 with maven

Trilochan Bharadwaj
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

Trilochan B.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic