Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java to wsdl using maven

 
venkat vj
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got struck up in generating a wsdl file for my java app using maven. Iam able to generate the wsdl for one java class file, but i need to generate only one wsdl file for my whole java application in which i have few other modules and one of which is generating a webservice for this application. iam using maven version 3.

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kind of hard to help you if you don't share your POM. Please post it (actually, I need to see only the declaration of the axis2-wsdl2code-maven-plugin). In my POM I declare multiple executions, one for each URL.
 
venkat vj
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



iam able to generate one wsdl for one class file, which i do not want. i need to generate one wsdl file for my whole application. How do i need to write the pom
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using <classPath> instead of <className>. The docs should help: http://cxf.apache.org/docs/maven-java2ws-plugin.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic