[
https://issues.apache.org/jira/browse/CXF-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010576#comment-13010576
]
Freeman Fang commented on CXF-3416:
-----------------------------------
Hi,
I think the -defaultValues flag of wsdl2java is what you want, paste the
wsdl2java -h result about this flag
-defaultValues<=class-name-for-DefaultValueProvider>
Specifies that default values are generated for the dummy
implementation and client. You can specify the name of the
class to provide the default values. The default is
RandomValueProvider.
Freeman
> 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
>
> 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