Details
Description
For the Maven plugin[1], the extendedSoapHeaders option (used for implicit soap headers[2]) works only under the wsdlOption element, not the defaultOptions element (as shown in Example #3 on [1]) as it also should. Placing the extendedSoapHeaders command-line equivalent in defaultOptions:
<extraargs><extraarg>-exsh</extraarg><extraarg>true</extraarg></extraargs>
does work, however.
[1] http://cxf.apache.org/docs/maven-cxf-codegen-plugin-wsdl-to-java.html
[2] http://www.jroller.com/gmazza/entry/using_implicit_soap_headers_with