W3C home > Mailing lists > Public > public-ws-addressing@w3.org > August 2005

Signing a wsa header - use Xpath?

From: <Frederick.Hirsch@nokia.com>
Date: Fri, 5 Aug 2005 15:16:01 -0400
Message-ID: <6E2B2C4FBED4D84D80F52ECD1579D0687F87EF@bsebe101.NOE.Nokia.com>
To: <public-ws-addressing@w3.org>

Am I correct that WS-Addressing does not allow an id type attribute on
the wsa: header elements, so if I want to include one in a ds:Reference
an Xpath expression is required?

Instead of (this is all in the soap header, ds:Reference inside a
Signature inside wsse:Security header)

<wsa:MessageId id="foo">...</wsa:MessageId>
...
<ds:Reference URI="#foo">

What is needed is

<wsa:MessageId>...<wsa:MessageId>
...
<ds:Reference URI=''>
  <ds:Transforms>
       <ds:Transform
Algorithm='http://www.w3.org/2002/06/xmldsig-filter2'
 
xmlns:dsxp='http://www.w3.org/2002/06/xmldsig-filter2'>
         <dsxp:XPath
Filter='intersect'>/soap:Envelope/soap:Header/wsa:MessaegId</dsxp:XPath>
        </ds:Transform>


Is this correct?

Thanks 

regards, Frederick

Frederick Hirsch
Nokia
Received on Friday, 5 August 2005 19:16:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:35:08 GMT