> > Is there a way to tell WSE not to sign these elements?
I dont think there is a way to tell WSE NOT to sign whichever elements.
However, it allows you to be MORE explicit about it by telling it what
elements to sign.
Look at the MessageSignature.SignatureOptions space for the guidance on how
to do this. If you want to specify your own elements for signatures, the
article link below you had flashed should tell you the tricks. The key thing
is the Reference ID.
hth

Signature
Thank you.
Regards,
William T
http://www.softwaremaker.net/blog
Independent Microsoft Regional Director | Microsoft MVP - Solutions
Architect
======================================================
> hi,
>
> in the article
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wse/html/9421f0
df-ccdd-4d67-9e85-1d102ada287e.asp
> "How to: Specify the Parts of a SOAP Message That Are Signed or Encrypted"
> it is said: "For digital signing, WSE signs the entire contents of the
[quoted text clipped - 6 lines]
>
> mitja jentges
Mitja - 05 Jul 2005 23:53 GMT
thanks for your answer.
you were right, i do not have to remove any signatureOptions, just tell wse
which options to use
requestContext.Security.Tokens.Add(signatureToken);
MessageSignature sig = new MessageSignature(signatureToken);
sig.SignatureOptions = SignatureOptions.IncludeSoapBody; //only the soapbody
will be signed
requestContext.Security.Elements.Add(sig);
>> > Is there a way to tell WSE not to sign these elements?
>
[quoted text clipped - 26 lines]
>>
>> mitja jentges