> First: Thank you.
>
[quoted text clipped - 919 lines]
>>>>> Thank you,
>>>>> Sql
Dilip,
I went to the WSE X.509 Certificate Tool, <Location = Local Computer>
<Store Name = Personal>
Checked the "Windows Key Identifier (Base64 Encoded) and it is exactly
the same.
here is a copy and past: bBwPfItvKp3b6TNDq+14qs58VJQ= from the tool
I am still getting the same thing.
I created , said before, as test Web App and a Web Service with "Hello
World Method" but still getting the same error.
WSE405
I have no Idea what to do next.??
Thank you for your help, I appreciate it.
Sql
> Hello SQLAgentman,
> Could be one of 2 reasons. The error is coming from the response policy
[quoted text clipped - 50 lines]
> > </mappings>
> > <policies
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wss
> > ecurity-utility-1.0.xsd"
> > xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
> > xmlns:wssp="http://schemas.xmlsoap.org/ws/2002/12/secext"
> > xmlns:wse="http://schemas.microsoft.com/wse/2003/06/Policy"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws
> > security-secext-1.0.xsd"
> > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
[quoted text clipped - 16 lines]
> > describes which token type must be used for Signing.-->
> > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > wssp:TokenType>
> > <wssp:Claims>
> > <wse:Parent>
> > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> >
[quoted text clipped - 35 lines]
> >
> > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >
[quoted text clipped - 18 lines]
> >
> > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > n>
> >
[quoted text clipped - 5 lines]
> >
> > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > p:MessageParts>
> >
[quoted text clipped - 25 lines]
> >
> > authorization, such as by using the <wse:Role> claim or specific
X.509
> > claims.-->
> >
[quoted text clipped - 7 lines]
> >
> > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >
[quoted text clipped - 18 lines]
> >
> > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > n>
> >
[quoted text clipped - 31 lines]
> >
> > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > wssp:TokenType>
> > <wssp:Claims>
> > <wse:Parent>
> > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> >
[quoted text clipped - 9 lines]
> >
> > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > p:MessageParts>
> >
[quoted text clipped - 31 lines]
> > </mappings>
> > <policies
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wss
> > ecurity-utility-1.0.xsd"
> > xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
> > xmlns:wssp="http://schemas.xmlsoap.org/ws/2002/12/secext"
> > xmlns:wse="http://schemas.microsoft.com/wse/2003/06/Policy"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws
> > security-secext-1.0.xsd"
> > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
[quoted text clipped - 16 lines]
> > describes which token type must be used for Signing.-->
> > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > wssp:TokenType>
> > <wssp:Claims>
> > <wse:Parent>
> > <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> >
[quoted text clipped - 50 lines]
> >
> > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >
[quoted text clipped - 18 lines]
> >
> > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > n>
> >
[quoted text clipped - 5 lines]
> >
> > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > p:MessageParts>
> >
[quoted text clipped - 25 lines]
> >
> > authorization, such as by using the <wse:Role> claim or specific
X.509
> > claims.-->
> >
[quoted text clipped - 7 lines]
> >
> > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >
[quoted text clipped - 18 lines]
> >
> > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > n>
> >
[quoted text clipped - 31 lines]
> >
> > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > wssp:TokenType>
> > <wssp:Claims>
> > <wse:Parent>
> > <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> >
[quoted text clipped - 9 lines]
> >
> > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > p:MessageParts>
> >
[quoted text clipped - 37 lines]
> >
> > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > wssp:TokenType>
> > <wssp:Claims>
> > <wse:Parent>
> > <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> >
[quoted text clipped - 50 lines]
> >
> > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >
[quoted text clipped - 18 lines]
> >
> > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > n>
> >
[quoted text clipped - 5 lines]
> >
> > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > p:MessageParts>
> >
[quoted text clipped - 25 lines]
> >
> > authorization, such as by using the <wse:Role> claim or specific
X.509
> > claims.-->
> >
[quoted text clipped - 7 lines]
> >
> > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >
[quoted text clipped - 18 lines]
> >
> > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > n>
> >
[quoted text clipped - 31 lines]
> >
> > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > wssp:TokenType>
> > <wssp:Claims>
> > <wse:Parent>
> > <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> >
[quoted text clipped - 9 lines]
> >
> > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > p:MessageParts>
> >
[quoted text clipped - 25 lines]
> >> "
> >>>>> Dim oToken As New
Microsoft.Web.Services2.Security.Tokens.UsernameToken(txtUserName.Text
> >>>>> ,
> >>>>> txtPassword.Text, PasswordOption.SendPlainText)
[quoted text clipped - 74 lines]
> >>>>> client side, and I do.
> >>>>> Dim oToken As New
Microsoft.Web.Services2.Security.Tokens.UsernameToken(txtUserName.Text
> >>>>> ,
> >>>>> txtPassword.Text, PasswordOption.SendPlainText)
[quoted text clipped - 4 lines]
> >>>>> Thank you,
> >>>>> Sql
SQLAgentman - 21 Dec 2004 00:25 GMT
Forgot to say:
I added, on the Web Service side in the Application on Start event
handler in Globla.asax, the following:
Dim oToken as new
UsernameToken("joe","1a2b3cKUJH",PasswordOption.SendPlainText)
PolicyEnforcementSecurityTokenCache.GlobalCache.Clear() ' with/without
PolicyEnforcementSecurityTokenCache.GlobalCache.Add(oToken)
Did not help.
Thank you,
Sql.
> Dilip,
>
[quoted text clipped - 80 lines]
> > > </mappings>
> > > <policies
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wss
> > > ecurity-utility-1.0.xsd"
> > > xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
> > > xmlns:wssp="http://schemas.xmlsoap.org/ws/2002/12/secext"
> > > xmlns:wse="http://schemas.microsoft.com/wse/2003/06/Policy"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws
> > > security-secext-1.0.xsd"
> > > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
[quoted text clipped - 17 lines]
> > > describes which token type must be used for Signing.-->
> > > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > > wssp:TokenType>
> > > <wssp:Claims>
> > > <wse:Parent>
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> > >
[quoted text clipped - 35 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> > >
[quoted text clipped - 20 lines]
> > >
> > > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > > n>
> > >
[quoted text clipped - 5 lines]
> > >
> > > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > > p:MessageParts>
> > >
[quoted text clipped - 39 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> > >
[quoted text clipped - 20 lines]
> > >
> > > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > > n>
> > >
[quoted text clipped - 31 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > > wssp:TokenType>
> > > <wssp:Claims>
> > > <wse:Parent>
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> > >
[quoted text clipped - 9 lines]
> > >
> > > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > > p:MessageParts>
> > >
[quoted text clipped - 14 lines]
> > > xmlns:wse="http://schemas.microsoft.com/wse/2003/06/Policy">
> > > <!--The following policy describes the policy requirements for
the
> > > service: http://localhost/MyWebServices/MySecurity.asmx .-->
> > > <endpoint uri="http://localhost/MyWebServices/MySecurity.asmx">
[quoted text clipped - 13 lines]
> > > </mappings>
> > > <policies
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wss
> > > ecurity-utility-1.0.xsd"
> > > xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
> > > xmlns:wssp="http://schemas.xmlsoap.org/ws/2002/12/secext"
> > > xmlns:wse="http://schemas.microsoft.com/wse/2003/06/Policy"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws
> > > security-secext-1.0.xsd"
> > > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
[quoted text clipped - 17 lines]
> > > describes which token type must be used for Signing.-->
> > > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > > wssp:TokenType>
> > > <wssp:Claims>
> > > <wse:Parent>
> > > <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> > >
[quoted text clipped - 51 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> > >
[quoted text clipped - 20 lines]
> > >
> > > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > > n>
> > >
[quoted text clipped - 5 lines]
> > >
> > > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > > p:MessageParts>
> > >
[quoted text clipped - 39 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> > >
[quoted text clipped - 20 lines]
> > >
> > > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > > n>
> > >
[quoted text clipped - 31 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > > wssp:TokenType>
> > > <wssp:Claims>
> > > <wse:Parent>
> > > <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> > >
[quoted text clipped - 9 lines]
> > >
> > > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > > p:MessageParts>
> > >
[quoted text clipped - 38 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > > wssp:TokenType>
> > > <wssp:Claims>
> > > <wse:Parent>
> > > <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> > >
[quoted text clipped - 51 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> > >
[quoted text clipped - 20 lines]
> > >
> > > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > > n>
> > >
[quoted text clipped - 5 lines]
> > >
> > > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > > p:MessageParts>
> > >
[quoted text clipped - 39 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> > >
[quoted text clipped - 20 lines]
> > >
> > > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > > n>
> > >
[quoted text clipped - 31 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > > wssp:TokenType>
> > > <wssp:Claims>
> > > <wse:Parent>
> > > <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> > >
[quoted text clipped - 9 lines]
> > >
> > > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > > p:MessageParts>
> > >
[quoted text clipped - 28 lines]
> > >> "
> > >>>>> Dim oToken As New
Microsoft.Web.Services2.Security.Tokens.UsernameToken(txtUserName.Text
> > >>>>> ,
> > >>>>> txtPassword.Text, PasswordOption.SendPlainText)
[quoted text clipped - 75 lines]
> > >>>>> client side, and I do.
> > >>>>> Dim oToken As New
Microsoft.Web.Services2.Security.Tokens.UsernameToken(txtUserName.Text
> > >>>>> ,
> > >>>>> txtPassword.Text, PasswordOption.SendPlainText)
[quoted text clipped - 4 lines]
> > >>>>> Thank you,
> > >>>>> Sql
SQLAgentman - 21 Dec 2004 00:25 GMT
Forgot to say:
I added, on the Web Service side in the Application on Start event
handler in Globla.asax, the following:
Dim oToken as new
UsernameToken("joe","1a2b3cKUJH",PasswordOption.SendPlainText)
PolicyEnforcementSecurityTokenCache.GlobalCache.Clear() ' with/without
PolicyEnforcementSecurityTokenCache.GlobalCache.Add(oToken)
Did not help.
Thank you,
Sql.
SQLAgentman - 21 Dec 2004 00:26 GMT
Forgot to say:
I added, on the Web Service side in the Application on Start event
handler in Globla.asax, the following:
Dim oToken as new
UsernameToken("joe","1a2b3cKUJH",PasswordOption.SendPlainText)
PolicyEnforcementSecurityTokenCache.GlobalCache.Clear() ' with/without
PolicyEnforcementSecurityTokenCache.GlobalCache.Add(oToken)
Did not help.
Thank you,
Sql.
> Dilip,
>
[quoted text clipped - 80 lines]
> > > </mappings>
> > > <policies
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wss
> > > ecurity-utility-1.0.xsd"
> > > xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
> > > xmlns:wssp="http://schemas.xmlsoap.org/ws/2002/12/secext"
> > > xmlns:wse="http://schemas.microsoft.com/wse/2003/06/Policy"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws
> > > security-secext-1.0.xsd"
> > > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
[quoted text clipped - 17 lines]
> > > describes which token type must be used for Signing.-->
> > > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > > wssp:TokenType>
> > > <wssp:Claims>
> > > <wse:Parent>
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> > >
[quoted text clipped - 35 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> > >
[quoted text clipped - 20 lines]
> > >
> > > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > > n>
> > >
[quoted text clipped - 5 lines]
> > >
> > > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > > p:MessageParts>
> > >
[quoted text clipped - 39 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> > >
[quoted text clipped - 20 lines]
> > >
> > > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > > n>
> > >
[quoted text clipped - 31 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > > wssp:TokenType>
> > > <wssp:Claims>
> > > <wse:Parent>
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> > >
[quoted text clipped - 9 lines]
> > >
> > > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > > p:MessageParts>
> > >
[quoted text clipped - 14 lines]
> > > xmlns:wse="http://schemas.microsoft.com/wse/2003/06/Policy">
> > > <!--The following policy describes the policy requirements for
the
> > > service: http://localhost/MyWebServices/MySecurity.asmx .-->
> > > <endpoint uri="http://localhost/MyWebServices/MySecurity.asmx">
[quoted text clipped - 13 lines]
> > > </mappings>
> > > <policies
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wss
> > > ecurity-utility-1.0.xsd"
> > > xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
> > > xmlns:wssp="http://schemas.xmlsoap.org/ws/2002/12/secext"
> > > xmlns:wse="http://schemas.microsoft.com/wse/2003/06/Policy"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws
> > > security-secext-1.0.xsd"
> > > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
[quoted text clipped - 17 lines]
> > > describes which token type must be used for Signing.-->
> > > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > > wssp:TokenType>
> > > <wssp:Claims>
> > > <wse:Parent>
> > > <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> > >
[quoted text clipped - 51 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> > >
[quoted text clipped - 20 lines]
> > >
> > > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > > n>
> > >
[quoted text clipped - 5 lines]
> > >
> > > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > > p:MessageParts>
> > >
[quoted text clipped - 39 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> > >
[quoted text clipped - 20 lines]
> > >
> > > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > > n>
> > >
[quoted text clipped - 31 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > > wssp:TokenType>
> > > <wssp:Claims>
> > > <wse:Parent>
> > > <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> > >
[quoted text clipped - 9 lines]
> > >
> > > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > > p:MessageParts>
> > >
[quoted text clipped - 38 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > > wssp:TokenType>
> > > <wssp:Claims>
> > > <wse:Parent>
> > > <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> > >
[quoted text clipped - 51 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> > >
[quoted text clipped - 20 lines]
> > >
> > > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > > n>
> > >
[quoted text clipped - 5 lines]
> > >
> > > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > > p:MessageParts>
> > >
[quoted text clipped - 39 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> > >
[quoted text clipped - 20 lines]
> > >
> > > <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensio
> > > n>
> > >
[quoted text clipped - 31 lines]
> > >
> > > <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk</
> > > wssp:TokenType>
> > > <wssp:Claims>
> > > <wse:Parent>
> > > <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-ws
> > > s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> > >
[quoted text clipped - 9 lines]
> > >
> > > <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</wss
> > > p:MessageParts>
> > >
[quoted text clipped - 28 lines]
> > >> "
> > >>>>> Dim oToken As New
Microsoft.Web.Services2.Security.Tokens.UsernameToken(txtUserName.Text
> > >>>>> ,
> > >>>>> txtPassword.Text, PasswordOption.SendPlainText)
[quoted text clipped - 75 lines]
> > >>>>> client side, and I do.
> > >>>>> Dim oToken As New
Microsoft.Web.Services2.Security.Tokens.UsernameToken(txtUserName.Text
> > >>>>> ,
> > >>>>> txtPassword.Text, PasswordOption.SendPlainText)
[quoted text clipped - 4 lines]
> > >>>>> Thank you,
> > >>>>> Sql
Hello Dilip,
Am out of ideas :) just a couple more things you could try
1. Check if the subject name is the same
2. Check in the web.config what your certificate store is <x509 allowTestRoot="true"
storeLocation="LocalMachine" allowRevocationUrlRetrieval="false" /> Check
if it is in the same location as you expect.
3. Check if ASPNET user has permissions to read and see the certificate
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
> Hello SQLAgentman,
> Could be one of 2 reasons. The error is coming from the response
[quoted text clipped - 979 lines]
>>>>>> Thank you,
>>>>>> Sql
SQLAgentman - 21 Dec 2004 02:53 GMT
Dilip,
1. Subject Name is the same, Verified
2. Yes allowTestRoot="true" storeLocation="LocalMachine"
allowRevocationUrlRetrieval="false"
although I used the Wizard and it did not add the last one.
I added everything manually also,
3. Yes ASPNET has permissions to see the Certificate.
Still it does not work. Still getting WSE405 Error.
I wonder if I can send you, or anyone the test projects that I have,
they are very very small to be tested on another machine. I am going
insane.
Thank you for trying so hard, I really appreciate it
I recreated the test projects from scratch before
I might do it again, and see
I checked on both sides the client side (Web) and the Server side ( Web
Service)
Thanks for all your help
Sql
> Hello Dilip,
> Am out of ideas :) just a couple more things you could try
[quoted text clipped - 73 lines]
> >> </mappings>
> >> <policies
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws
> >> s
> >> ecurity-utility-1.0.xsd"
> >> xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
> >> xmlns:wssp="http://schemas.xmlsoap.org/ws/2002/12/secext"
> >> xmlns:wse="http://schemas.microsoft.com/wse/2003/06/Policy"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w
> >> s
> >> security-secext-1.0.xsd"
[quoted text clipped - 18 lines]
> >> describes which token type must be used for Signing.-->
> >> <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk<
> >> /
> >> wssp:TokenType>
> >> <wssp:Claims>
> >> <wse:Parent>
> >> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >> s
> >> s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
[quoted text clipped - 35 lines]
> >>
> >> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >> s s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >>
[quoted text clipped - 18 lines]
> >>
> >> <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensi
> >> o n>
> >>
[quoted text clipped - 5 lines]
> >>
> >> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</ws
> >> s p:MessageParts>
> >>
[quoted text clipped - 39 lines]
> >>
> >> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >> s s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >>
[quoted text clipped - 18 lines]
> >>
> >> <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensi
> >> o n>
> >>
[quoted text clipped - 31 lines]
> >>
> >> <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk<
> >> /
> >> wssp:TokenType>
> >> <wssp:Claims>
> >> <wse:Parent>
> >> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >> s
> >> s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
[quoted text clipped - 9 lines]
> >>
> >> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</ws
> >> s p:MessageParts>
> >>
[quoted text clipped - 31 lines]
> >> </mappings>
> >> <policies
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws
> >> s
> >> ecurity-utility-1.0.xsd"
> >> xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
> >> xmlns:wssp="http://schemas.xmlsoap.org/ws/2002/12/secext"
> >> xmlns:wse="http://schemas.microsoft.com/wse/2003/06/Policy"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w
> >> s
> >> security-secext-1.0.xsd"
[quoted text clipped - 18 lines]
> >> describes which token type must be used for Signing.-->
> >> <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk<
> >> /
> >> wssp:TokenType>
> >> <wssp:Claims>
> >> <wse:Parent>
> >> <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >> s
> >> s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
[quoted text clipped - 51 lines]
> >>
> >> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >> s s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >>
[quoted text clipped - 18 lines]
> >>
> >> <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensi
> >> o n>
> >>
[quoted text clipped - 5 lines]
> >>
> >> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</ws
> >> s p:MessageParts>
> >>
[quoted text clipped - 39 lines]
> >>
> >> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >> s s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >>
[quoted text clipped - 18 lines]
> >>
> >> <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensi
> >> o n>
> >>
[quoted text clipped - 31 lines]
> >>
> >> <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk<
> >> /
> >> wssp:TokenType>
> >> <wssp:Claims>
> >> <wse:Parent>
> >> <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >> s
> >> s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
[quoted text clipped - 9 lines]
> >>
> >> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</ws
> >> s p:MessageParts>
> >>
[quoted text clipped - 38 lines]
> >>
> >> <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk<
> >> /
> >> wssp:TokenType>
> >> <wssp:Claims>
> >> <wse:Parent>
> >> <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >> s
> >> s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
[quoted text clipped - 51 lines]
> >>
> >> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >> s s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >>
[quoted text clipped - 18 lines]
> >>
> >> <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensi
> >> o n>
> >>
[quoted text clipped - 5 lines]
> >>
> >> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</ws
> >> s p:MessageParts>
> >>
[quoted text clipped - 39 lines]
> >>
> >> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >> s s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >>
[quoted text clipped - 18 lines]
> >>
> >> <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensi
> >> o n>
> >>
[quoted text clipped - 31 lines]
> >>
> >> <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk<
> >> /
> >> wssp:TokenType>
> >> <wssp:Claims>
> >> <wse:Parent>
> >> <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >> s
> >> s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
[quoted text clipped - 9 lines]
> >>
> >> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</ws
> >> s p:MessageParts>
> >>
[quoted text clipped - 26 lines]
> >>> "
> >>>>>> Dim oToken As New
Microsoft.Web.Services2.Security.Tokens.UsernameToken(txtUserName.Tex
> >> t
> >>
[quoted text clipped - 76 lines]
> >>>>>> client side, and I do.
> >>>>>> Dim oToken As New
Microsoft.Web.Services2.Security.Tokens.UsernameToken(txtUserName.Tex
> >> t
> >>
[quoted text clipped - 6 lines]
> >>>>>> Thank you,
> >>>>>> Sql
Dilip Krishnan - 21 Dec 2004 14:15 GMT
Hello SQLAgentman,
Also try the dianostics option for tracing the request and the policy
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
> Dilip,
>
[quoted text clipped - 1148 lines]
>>>>>>>> Thank you,
>>>>>>>> Sql
SQLAgentman - 21 Dec 2004 17:23 GMT
Dilip,
For some reason the diagnostics trace is not creating the files.
So it is not working for me. May be this is the main problem.
What can I do to get some diagnoistics.
I make sure that ASPNET can read and Write.
Is there any other trick that you know?
Sql
> Hello SQLAgentman,
> Also try the dianostics option for tracing the request and the policy
[quoted text clipped - 122 lines]
> >>>> </mappings>
> >>>> <policies
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws
> >>>> s
> >>>> ecurity-utility-1.0.xsd"
> >>>> xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
> >>>> xmlns:wssp="http://schemas.xmlsoap.org/ws/2002/12/secext"
> >>>> xmlns:wse="http://schemas.microsoft.com/wse/2003/06/Policy"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w
> >>>> s
> >>>> security-secext-1.0.xsd"
[quoted text clipped - 8 lines]
> >>>> anything for enforcement (send-side) policy.-->
> >>>> <wsp:MessagePredicate wsp:Usage="wsp:Required"
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()
> >>>> wsp:Header(wsa:To) wsp:Header(wsa:Action)
> > wsp:Header(wsa:MessageID)
[quoted text clipped - 11 lines]
> >>>> describes which token type must be used for Signing.-->
> >>>> <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk<
> >>>> /
> >>>> wssp:TokenType>
> >>>> <wssp:Claims>
> >>>> <wse:Parent>
> >>>> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >>>> s s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> >>>> </wssp:SecurityToken>
[quoted text clipped - 8 lines]
> >>>>
> >>>> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()
> >>>> wsp:Header(wsa:Action) wsp:Header(wsa:FaultTo)
> >>>>
[quoted text clipped - 21 lines]
> >>>>
> >>>> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >>>> s s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >>>>
[quoted text clipped - 19 lines]
> >>>>
> >>>> <wssp:SubjectName
MatchType="wssp:Exact">CN=WSE2QuickStartServer</wssp:SubjectName>
> >>>> <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensi
> >>>> o n>
> >>>>
[quoted text clipped - 5 lines]
> >>>>
> >>>> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</ws
> >>>> s p:MessageParts>
> >>>>
[quoted text clipped - 17 lines]
> >>>>
> >>>> <wsp:MessagePredicate wsp:Usage="wsp:Required"
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()
> >>>> wsp:Header(wsa:To) wsp:Header(wsa:Action)
> >>>>
[quoted text clipped - 20 lines]
> >>>>
> >>>> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >>>> s s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >>>>
[quoted text clipped - 19 lines]
> >>>>
> >>>> <wssp:SubjectName
MatchType="wssp:Exact">CN=WSE2QuickStartServer</wssp:SubjectName>
> >>>> <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensi
> >>>> o n>
> >>>>
[quoted text clipped - 5 lines]
> >>>>
> >>>> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()
> >>>> wsp:Header(wsa:Action) wsp:Header(wsa:FaultTo)
> >>>>
[quoted text clipped - 21 lines]
> >>>>
> >>>> <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk<
> >>>> /
> >>>> wssp:TokenType>
> >>>> <wssp:Claims>
> >>>> <wse:Parent>
> >>>> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >>>> s s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> >>>> </wssp:SecurityToken>
[quoted text clipped - 8 lines]
> >>>>
> >>>> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</ws
> >>>> s p:MessageParts>
> >>>>
[quoted text clipped - 14 lines]
> >>>> xmlns:wse="http://schemas.microsoft.com/wse/2003/06/Policy">
> >>>> <!--The following policy describes the policy requirements for
the
> >>>> service: http://localhost/MyWebServices/MySecurity.asmx .-->
> >>>> <endpoint uri="http://localhost/MyWebServices/MySecurity.asmx">
[quoted text clipped - 13 lines]
> >>>> </mappings>
> >>>> <policies
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws
> >>>> s
> >>>> ecurity-utility-1.0.xsd"
> >>>> xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
> >>>> xmlns:wssp="http://schemas.xmlsoap.org/ws/2002/12/secext"
> >>>> xmlns:wse="http://schemas.microsoft.com/wse/2003/06/Policy"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w
> >>>> s
> >>>> security-secext-1.0.xsd"
[quoted text clipped - 8 lines]
> >>>> anything for enforcement (send-side) policy.-->
> >>>> <wsp:MessagePredicate wsp:Usage="wsp:Required"
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()
> >>>> wsp:Header(wsa:To) wsp:Header(wsa:Action)
> > wsp:Header(wsa:MessageID)
[quoted text clipped - 11 lines]
> >>>> describes which token type must be used for Signing.-->
> >>>> <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk<
> >>>> /
> >>>> wssp:TokenType>
> >>>> <wssp:Claims>
> >>>> <wse:Parent>
> >>>> <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >>>> s s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> >>>> <wssp:Claims>
[quoted text clipped - 24 lines]
> >>>>
> >>>> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()
> >>>> wsp:Header(wsa:Action) wsp:Header(wsa:FaultTo)
> >>>>
[quoted text clipped - 21 lines]
> >>>>
> >>>> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >>>> s s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >>>>
[quoted text clipped - 19 lines]
> >>>>
> >>>> <wssp:SubjectName
MatchType="wssp:Exact">CN=WSE2QuickStartServer</wssp:SubjectName>
> >>>> <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensi
> >>>> o n>
> >>>>
[quoted text clipped - 5 lines]
> >>>>
> >>>> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</ws
> >>>> s p:MessageParts>
> >>>>
[quoted text clipped - 17 lines]
> >>>>
> >>>> <wsp:MessagePredicate wsp:Usage="wsp:Required"
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()
> >>>> wsp:Header(wsa:To) wsp:Header(wsa:Action)
> >>>>
[quoted text clipped - 20 lines]
> >>>>
> >>>> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >>>> s s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >>>>
[quoted text clipped - 19 lines]
> >>>>
> >>>> <wssp:SubjectName
MatchType="wssp:Exact">CN=WSE2QuickStartServer</wssp:SubjectName>
> >>>> <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensi
> >>>> o n>
> >>>>
[quoted text clipped - 5 lines]
> >>>>
> >>>> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()
> >>>> wsp:Header(wsa:Action) wsp:Header(wsa:FaultTo)
> >>>>
[quoted text clipped - 21 lines]
> >>>>
> >>>> <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk<
> >>>> /
> >>>> wssp:TokenType>
> >>>> <wssp:Claims>
> >>>> <wse:Parent>
> >>>> <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >>>> s s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> >>>> </wssp:SecurityToken>
[quoted text clipped - 8 lines]
> >>>>
> >>>> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</ws
> >>>> s p:MessageParts>
> >>>>
[quoted text clipped - 17 lines]
> >>>>
> >>>> <wsp:MessagePredicate wsp:Usage="wsp:Required"
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()
> >>>> wsp:Header(wsa:To) wsp:Header(wsa:Action)
> >>>>
[quoted text clipped - 21 lines]
> >>>>
> >>>> <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk<
> >>>> /
> >>>> wssp:TokenType>
> >>>> <wssp:Claims>
> >>>> <wse:Parent>
> >>>> <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >>>> s s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> >>>> <wssp:Claims>
[quoted text clipped - 24 lines]
> >>>>
> >>>> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()
> >>>> wsp:Header(wsa:Action) wsp:Header(wsa:FaultTo)
> >>>>
[quoted text clipped - 21 lines]
> >>>>
> >>>> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >>>> s s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >>>>
[quoted text clipped - 19 lines]
> >>>>
> >>>> <wssp:SubjectName
MatchType="wssp:Exact">CN=WSE2QuickStartServer</wssp:SubjectName>
> >>>> <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensi
> >>>> o n>
> >>>>
[quoted text clipped - 5 lines]
> >>>>
> >>>> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</ws
> >>>> s p:MessageParts>
> >>>>
[quoted text clipped - 17 lines]
> >>>>
> >>>> <wsp:MessagePredicate wsp:Usage="wsp:Required"
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()
> >>>> wsp:Header(wsa:To) wsp:Header(wsa:Action)
> >>>>
[quoted text clipped - 20 lines]
> >>>>
> >>>> <wssp:SecurityToken>
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >>>> s s-x509-token-profile-1.0#X509v3</wssp:TokenType>
> >>>>
[quoted text clipped - 19 lines]
> >>>>
> >>>> <wssp:SubjectName
MatchType="wssp:Exact">CN=WSE2QuickStartServer</wssp:SubjectName>
> >>>> <wssp:X509Extension OID="2.5.29.14"
MatchType="wssp:Exact">bBwPfItvKp3b6TNDq+14qs58VJQ=</wssp:X509Extensi
> >>>> o n>
> >>>>
[quoted text clipped - 5 lines]
> >>>>
> >>>> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()
> >>>> wsp:Header(wsa:Action) wsp:Header(wsa:FaultTo)
> >>>>
[quoted text clipped - 21 lines]
> >>>>
> >>>> <wssp:SecurityToken>
<wssp:TokenType>http://schemas.xmlsoap.org/ws/2004/04/security/sc/dk<
> >>>> /
> >>>> wssp:TokenType>
> >>>> <wssp:Claims>
> >>>> <wse:Parent>
> >>>> <wssp:SecurityToken wse:IdentityToken="true">
<wssp:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-w
> >>>> s s-username-token-profile-1.0#UsernameToken</wssp:TokenType>
> >>>> </wssp:SecurityToken>
[quoted text clipped - 8 lines]
> >>>>
> >>>> <wssp:MessageParts
Dialect="http://schemas.xmlsoap.org/2002/12/wsse#part">wsp:Body()</ws
> >>>> s p:MessageParts>
> >>>>
[quoted text clipped - 30 lines]
> >>>>> "
> >>>>>>>> Dim oToken As New
Microsoft.Web.Services2.Security.Tokens.UsernameToken(txtUserName.Tex
> >>>> t
> >>>>
[quoted text clipped - 81 lines]
> >>>>>>>> client side, and I do.
> >>>>>>>> Dim oToken As New
Microsoft.Web.Services2.Security.Tokens.UsernameToken(txtUserName.Tex
> >>>> t
> >>>>
[quoted text clipped - 6 lines]
> >>>>>>>> Thank you,
> >>>>>>>> Sql
SQLAgentman - 21 Dec 2004 17:37 GMT
Dilip,
After allowing the "everyone" group to write I got some trace info.
( I don't Understand what it means, did not like the token???)
SendPolicy.webinfo Contains:
************************************
<log xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasi