Re: Xmlsecurity-C signed soap validation - can someone give me a hint

> Using "checksig.exe" to test my document the exception "XSECException::IDNotFoundInDOMDoc"  is thrown. Because fNodeIDMap inside the fn() is 0

My guess is that xerces/xalan don't know what attributes are ID nodes, 
and that when xmlsecurity-c tries to track down the element pointed to 
within one of the dsig:References, it fails.

Looking at the specific signature you sent, it appears that you'll have 
to somehow tell xerces/xalan that wsu:Id attributes are ID attributes, 
so that the parser will recognize them and populate the IDmap.

I've never used any of the code you're using, so I can't tell you how to 
do that.  I suggest you ask the relevant Apache lists.  It may even be a 
FAQ (as it is with xmlsec :).

	/r$

-- 
Rich Salz, Chief Security Architect
DataPower Technology                           http://www.datapower.com
XS40 XML Security Gateway   http://www.datapower.com/products/xs40.html

Received on Friday, 13 May 2005 17:42:42 UTC