Hello guys,
I want to "encrypt a soap message by using a user name and password".
The first step in the wse-documentation is to "create a custom policy
assertion". I've done.
But the policy assertion is not used by anyone. So I tried to "secure
the client by using a custom policy assertion". I have to add an
extension to the policy file:
<extensions>
<extension name="CustomTraceAssertion"
type="CustomPolicyAssertions.CustomTraceAssertion, Client" />
</extensions>
But if I do so then a message appears if I am opening the
WSE-config-tool that the file "client" could not be found.
Then I have to add
<policy name="ClientPolicy">
<CustomTraceAssertion input="input-before.xml"
output="output-before.xml"/>
</policy>
But CustomTraceAssertion or CustomPolicyAssertion if not an element of
the policy.
What am I doing wrong?
Does anyone have a little sample for the policy-file?
Matthias
Pablo Cibraro - 09 Mar 2006 13:37 GMT
Hi Matthias,
WSE contains a quicktart that will help you to build a custom policy
assertion.
It is in the folder "Microsoft
WSE\v3.0\Samples\CS\QuickStart\Advanced\CustomSecurityPolicyAssertion"
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
> Hello guys,
>
[quoted text clipped - 25 lines]
>
> Matthias
Matthias - 09 Mar 2006 14:52 GMT
Oh thanx,
If anyone is interested in it, I found another example:
http://www.codeproject.com/soap/WSE30UsernameAssertion.asp
Alan - 11 Mar 2006 03:15 GMT
Matthias,
i just read it and i get a question, how the service sign SOAP message,
with username token?
> Oh thanx,
>
> If anyone is interested in it, I found another example:
>
> http://www.codeproject.com/soap/WSE30UsernameAssertion.asp