Hi,

I would like to know if I can declare my SOAP headers within the WebService
service endpoint interface (SEI) but not handle it as parameter of the
webmethods? The header element is read/set by our interceptors and this
works fine. The question is where do I declare this within the SEI so that
the client retrieving the wsdl knows that soap headers are required for the
operations ? I could annotate the @WebParam with "header" but this way the
header is injected in the functional operations where I don't need it.
Currently I used @XmlSeeAlso with reference to the header class to include
the type definition in the generated wsdl but it is not "linked" to the
webmethod. Is there something I am missing ?


Thanks and Regards,
Michael

P.S. current CXF version is 2.4.1

Reply via email to