Description
jaxws:enableWrapperStyle is working for Metro but not CXF for the Amazon E Commerce Service[1]'s WSDL[2]. CXF's output is always in non-wrapped format (ParameterStyle.BARE) when generated by CXF. For Metro, this WSDL is in wrapper style by default. (It is apparently OK that CXF defaults to non-wrapped, because Section 2.3.1.2 of the JAX-WS spec apparently does not mandate wrapper style by default, but the enableWrapperStyle flag should still be able to work.)
[1] http://www.amazon.com/E-Commerce-Service-AWS-home-page/b?ie=UTF8&node=12738641
[2] http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl?
[3] <portType name="AWSECommerceServicePortType">
<jaxws:bindings xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
<jaxws:enableWrapperStyle>false</jaxws:enableWrapperStyle>
</jaxws:bindings>
....