Sunday, 6 April 2014

WSDL2Java using CXF and Maven

This short post will show how to generate client classes for java web service client using Apache CXF and Apache Maven. Lets assume that you have your project set up and your WSDL file ready so all you need to do is to add the below plugin into your pom.xml maven configuration into plugins section.


That's it. Your java classes from WSDL file will be generated into: ${project.home}\target\generated-sources\cxf directory.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.