Hi All,
The Web Service client use authentication of username and pwd under WSE 2.0.
It want WSE to authenticate the UsernameToken against Active Directory. So, I
provide the userId/Pwd of a windows account, but WSE returned below error:
Microsoft.Web.Services2.Security.SecurityFault: The security token could not
be
authenticated or authorized
at
Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.OnLogonUserFa
iled(UsernameToken token)
at
Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.LogonUser(Use
rnameToken token)
at
Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.AuthenticateT
oken(UsernameToken token)
at
Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyToken(S
ecurityToken securityToken)
at
Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.LoadXmlSecuri
tyToken(XmlElement element)
at
Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.GetTokenFromX
ml(XmlElement element)
at Microsoft.Web.Services2.Security.Security.LoadToken(XmlElement
element, Se
curityConfiguration configuration, Int32& tokenCount)
at Microsoft.Web.Services2.Security.Security.LoadXml(XmlElement element)
at
Microsoft.Web.Services2.Security.SecurityInputFilter.ProcessMessage(SoapEn
velope envelope)
at Microsoft.Web.Services2.Pipeline.ProcessInputMessage(SoapEnvelope
envelope
)
at
Microsoft.Web.Services2.WebServicesExtension.BeforeDeserializeServer(SoapS
erverMessage message)
Anybody have any idea on these would be appreciated.
Thanks,
Jim
Yedu - 11 Jul 2005 20:00 GMT
Jim,
Make the username that you are passing has the domain name appended to it.
like: <Domain Name>/<userName>
> Hi All,
>
[quoted text clipped - 41 lines]
> Thanks,
> Jim