Guillaume Nodet wrote:
I do agree.  I do not really question this need for wsdl 1.1,
but I' d like to find how you will handle soap headers in WSDL 2,
and i think JBI components will have to retrieve the headers from
the message properties and not from the xml content.
This is also true for optional soap headers in WSDL 1.1 that are not
mapped to message parts.

I'll investigate this.

On a side not, if the soap request contains more than one header for
a particular QName, I guess they should all be put inside one single part
of the wrapped message, right ?

Aaack! I had thought you could only have one header for a particular QName but re-reading WS-I BP today proved me wrong.

http://www.ws-i.org/Profiles/BasicProfile-1.1.html#Ordering_Headers

So I would go with you and place them in the same part of the wrapped message -- although I wouldn't recommend using duplicate headers because it's likely to confuse any component using abstract message definition.

alex

Reply via email to