Hello, When the WSDL is auto-generated, the only way to add (in the WSDL) a SOAP header entry is to declare an input param in the method.
For instance: void myMethod(@WebParam(header=true) MySoapHeaderEntry entry) Unfortunately, it means that we have to declare the param in every method, in every webservice even if we are not using it. Indeed, if some web services are using the same header entry, it's stupid to pollute every methods of those WS. It's preferable to use an interceptor for that purpose. But, using an interceptor means that the WSDL is no more up-to-date. As far as I know, it's not possible to do that in CXF. I'm right? Don't you think that it could be interesting to have that feature? Thank you :) -- View this message in context: http://cxf.547215.n5.nabble.com/Add-SOAP-header-to-WSDL-tp3240264p3240264.html Sent from the cxf-user mailing list archive at Nabble.com.
