I haven't had time to try this in the past couple days, but, before
the week ends I'll just suggest a sketch of what I had in mind along
the lines of Simon's last response:
- creating a new isBareStyle() method on Operation, defaulting to 'false'
- setting the underlying boolean to 'true' in JAXWSJavaInterfaceProcessor
- In Input2InputTransformer do something like:
boolean sourceBare = sourceOp != null && sourceOp.isBareStyle()
and otherwise keeping the main if-blocks with the same check as they
have today, e.g:
if ((!sourceWrapped && !sourceBare) && targetWrapped) {
// Unwrapped --> Wrapped
------------------------------------------------------------------------------
Besides actually trying it out on your updated tests, I'd also wanted
to give some thought to how to name these methods to make them most
understandable...
Scott