Hi,
I'm working on a Web serviceses security implemententation. For this I need
to register wsu:Id as an ID for referencing (in keeping with the spec)
However the following doesn't work on
the doc
<S11:Envelope xmlns:S11="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurit
y-utility-1.0.xsd">
<S11:Body wsu:Id="myBody">
<tru:StockSymbol xmlns:tru="http://www.fabrikam123.com/payloads">
QQQQ
</tru:StockSymbol>
</S11:Body>
</S11:Envelope>
DSIGSignature* sig;
...
sig->registerIdAttributeName(MAKE_UNICODE_STRING("wsu:Id");
sig->createReference("#myBody");
...
sig->sign();
How can I get this to work?
The error is Referenced ID not found in DOM
Regards,
Sameera Perera.