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
Priority: Minor
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.
-
You can reply to this email to add a comment to the issue online.