Hi Pierre,
Yes, WSE offers different security headers to identity a user, such as
UsernameToken (User + Password), Kerberos, X509, custom, etc.
In addition, it provides message security so no one can change the message
while it goes from the client to the service.
To make the things easier to configure, WSE provides a set of pre-configured
scenarios called Turn-Key scenarios.
In your case, you can use one of this turn-key scenarios:
1. UsernameOverTransport ( User + Password using the security provided by
the transport )
2. UsernameForCertificate ( User + Password encrypted and signed with a X509
Certificate )
I recommend you to take a look the quickstarts provided by WSE.
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
> Hi everybody,
>
[quoted text clipped - 9 lines]
> Best regards,
> Pierre
Pierre - 29 Mar 2006 11:10 GMT
Hi,
Sorry for the misunderstanding Pablo, I'd like to log the use of my
WSs, I'm not focused on authentication (yet).
I have created that soap extension that writes logs, but I cannot
figure out a way to register it in the web.config. I have tried many
ways...
Here are the info needed from the extension:
namespace Hss.Com.WebServices.Tools
public class LogTraceExtension : SoapExtension
<soapExtensionTypes>
<add type="Hss.Com.WebServices.Tools.LogTraceExtension"
priority="1" group="0" />
</soapExtensionTypes>
When I try to debug the WS I get the following error:
Could not load type 'Hss.Com.WebServices.Tools.LogTraceExtension' from
assembly 'System.Web.Services, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'.
I have seen several examples of <soapExtensionTypes> on the web, but
they did not enlight me.
Thx for the tips and help you'll be able to send,
Pierre
Pablo Cibraro - 30 Mar 2006 20:08 GMT
Hi Pierre,
At first glance, you forgot to specify the assembly name for the type.
<add type="Hss.Com.WebServices.Tools.LogTraceExtension, ASSEMBLY_NAME">
priority="1" group="0" />
Replace ASSEMBLY_NAME for the correct name.
I hope this can solve your problem.
Regards,
Pablo.
> Hi,
>
[quoted text clipped - 26 lines]
> Thx for the tips and help you'll be able to send,
> Pierre