[
https://issues.apache.org/jira/browse/CXF-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-2053.
------------------------------
Resolution: Fixed
Fix Version/s: 2.4.3
2.3.7
Assignee: Daniel Kulp
> wsdl2java should log reason for switching from wrapped to bare in verbose mode
> ------------------------------------------------------------------------------
>
> Key: CXF-2053
> URL: https://issues.apache.org/jira/browse/CXF-2053
> Project: CXF
> Issue Type: Improvement
> Components: Tooling
> Environment: All
> Reporter: Brian Ewins
> Assignee: Daniel Kulp
> Priority: Minor
> Fix For: 2.3.7, 2.4.3
>
> Attachments: local_history.patch
>
>
> When developing a WSDL-first service, a fairly common issue is to find that
> the wsdl2java code generates bare rather than wrapped style. This happens
> because you've broken the rules in 2.3.1.2 of the jax-ws spec, but finding
> out why can be hard to trace down - if any parameter in the service cannot be
> wrapped, then the entire service will be generated bare.
> At the moment the only ways to figure out what has gone wrong are manual
> inspection, or debugging cxf (or asking someone else/the mailing list to help
> with one of those tasks). It would make much more sense if cxf could tell us
> why its not going to generate wrapped code, particularly when invoked with
> -verbose.
> Strawman patch follows.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira