I have a wsdl that defines a soap header that needs to be passed when calling the web service.
The sample SOAP Header is:
&
While generating the proxy class using Apache CXF using adding the extendedSoapHeaders with true will generate the PortType Class with the Request and Header argument.
${project.basedir}/src/main/resources/wsdl/sample.wsdl true