[
https://issues.apache.org/jira/browse/CXF-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-3416.
------------------------------
Resolution: Won't Fix
Fix Version/s: Invalid
I'm going to mark this "Won't Fix". This is really a JAXB/XJC issue.
HOWEVER, there exists and XJC plugin that can already do this:
http://java.net/projects/jaxb2-commons/pages/value-constructor
That plugin can be used along with CXF's wsdl2java tooling to accomplish this.
> Have wsdl2java generate a constructor that sets all fields
> ----------------------------------------------------------
>
> Key: CXF-3416
> URL: https://issues.apache.org/jira/browse/CXF-3416
> Project: CXF
> Issue Type: Improvement
> Components: Soap Binding
> Reporter: Dobes Vandermeer
> Fix For: Invalid
>
>
> Be nice to have the data classes generated by wsdl2java so that you can
> construct them easily, either by having a constructor to fill in all the
> fields or have the setters return "this" so you can chain them together.
> Otherwise constructing a tree objects becomes quite a lot of work.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira