AW: Identifying elements by wsuId

2004-02-05 Thread Dittmann Werner
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 a

Re: Identifying elements by wsuId

2004-02-05 Thread Anil Kumar Tappetla
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

Re: Identifying elements by wsuId

2004-02-05 Thread Davanum Srinivas
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

Identifying elements by wsuId

2004-02-05 Thread Anil Kumar Tappetla
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 apac