I downloaded MSDN WSE 2.0 drilldown sample code and tested in my local host.
After some configuration and setting, I finally made most of sample code
worked. However, there is one I could not make it run properly - Security
Policy sample.
When I ran it, I got exception that says: <UserPassword> was not expected a
child element of <Claims>. I looked at policyUsername.config file and found
that it looks like missing some prefex tag in frond of <UserPassword> - see
below:
<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-wss-username-token-profile-1
.0#UsernameToken</wssp:TokenType>
<wssp:Claims>
<wssp:SubjectName
MatchType="wssp:Exact">joeblow</wssp:SubjectName>
<UsePassword Type="wsse:PasswordText"
wsp:Usage="wsp:Required" />
</wssp:Claims>
</wssp:SecurityToken>
</wse:Parent>
</wssp:Claims>
</wssp:SecurityToken>
So I change <UserPassword> ... </UserPassword> to
<wsse:UsePassword Type="wsse:PasswordText"
wsp:Usage="wsp:Required">NoTelinNE1</wsse:UsePassword> based on the article
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwse/html/wsse
cdrill.asp). I still got the same eror.
Would someone help to fix this?
Thanks
John
John - 03 May 2005 20:42 GMT
Is someone from Microsoft who can help for this question on WAE drilldown
sample code?
I thought as a msdn subscriber, I can get my questions anwsered, is it true?
Thanks
John
> I downloaded MSDN WSE 2.0 drilldown sample code and tested in my local host.
> After some configuration and setting, I finally made most of sample code
[quoted text clipped - 31 lines]
>
> John