This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes java to wsdl using maven Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "java to wsdl using maven" Watch "java to wsdl using maven" New topic
Author

java to wsdl using maven

venkat vj
Greenhorn

Joined: Jan 02, 2013
Posts: 2
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

Joined: May 14, 2008
Posts: 5823
    
    7

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.


JBoss In Action
venkat vj
Greenhorn

Joined: Jan 02, 2013
Posts: 2



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

Joined: May 14, 2008
Posts: 5823
    
    7

Try using <classPath> instead of <className>. The docs should help: http://cxf.apache.org/docs/maven-java2ws-plugin.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java to wsdl using maven