Daniel Cote [
https://community.jboss.org/people/daniel.cote.qc.ca] created the discussion
"Re: Annotate WebService methodwith optional Header"
To view the discussion, visit:
https://community.jboss.org/message/803345#803345
--------------------------------------------------------------
Hi Samhain,
I always use a SOAPHandlers to make the majority of the adaptations regarding the SOAP
headers.
There is an annotation that makes possible to say that a parameter SHOULD be conveyed
using headers (@WebParam (header=true) but that is all I'm awared of. By its nature,
it does not seems to express what you were looking for...
By default, not providing a mustUnderstand attribute, the WS stack should recognize the
header as optionnal.
This was my 2 cents...
Regards
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/803345#803345]
Start a new discussion in JBoss Web Services at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]