Title: Nachricht
Anil,
 
yes, basically this is the function to look up a wsu:id. The Id must have
a '#' as the first chars (relative URI inside a doc).
 
MAybe you can also have a look at 'EnvelopeIdResoler.java". We register
this resolver with the XML security library to resolve wsu:id and genric Id.
Thus this could also be of intersst to you. We register it for signature
(in WSSignEnvelope) and Verify (in WSSecurityEngine) before we
call sign/verify functions of XMLSignature.
 
Regards,
Werner
-----Ursprüngliche Nachricht-----
Von: Anil Kumar Tappetla [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 5. Februar 2004 15:36
An: [EMAIL PROTECTED]
Betreff: Re: Identifying elements by wsuId

Hi Srinivas,
         I couldn't exactly see how you are accomplishing this, that is have the apache xml security library identify elements that 've wsu:Ids. However, I see that you have a utility method called 'getElementByWsuId', is this somehow used for this purpose ?
Thanks,
Anil.

Davanum Srinivas wrote:
Anil,

check out the code we use in WSS4J (http://wss4j.sf.net) on how we do this. 

-- dims

--- Anil Kumar Tappetla <[EMAIL PROTECTED]> wrote:
  
Hi,
     currently the apache signature library fails to identify elements 
by their wsu:Id in a document. In order for the getElementById() return 
such an element, we have to  explicitly do putIdentifier(wsuId, element) 
on the document. Is this the only way we can accomplish this now - will 
apache provide support for this in future ?
Thanks,
Anil.

    


=====
Davanum Srinivas - http://webservices.apache.org/~dims/
  

Reply via email to