[jboss-user] [JBoss Web Services] - Re: Annotate WebService methodwith optional Header
Daniel Cote
do-not-reply at jboss.com
Mon Mar 18 16:19:45 EDT 2013
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&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130318/c7c14e69/attachment.html
More information about the jboss-user
mailing list