Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2006

Tip: Looking for answers? Try searching our database.

WSE 3.0 - UsernameOverTransport Assertion - SOAP Header Exception

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anshu - 28 Nov 2006 19:52 GMT
I am trying to implement the UsernameOverTransport Assertion in WSE 3.0.  I
will be authenticating against a .NET 2.0 Membership system, so I have
created a custom username token manager class.  

I keep receiving the following exception from a test client app I created:

"System.Web.Services.Protocols.SoapHeaderException:
Microsoft.Web.Services3.Security.SecurityFault: UsernameToken is expected but
not present in the security header of the incoming message."

However, when I look at the output trace log from the client, I can see the
username token in the header of the SOAP message.  It also appears in the
input trace log of the service.  

Any thoughts on why the service does not recognize the UsernameToken? or
where to look?
Pablo Cibraro [MVP] - 29 Nov 2006 14:41 GMT
Hi Anshu,

You should check these three points first:

1. You are receiving the UsernameToken on the service side (Take a look to
the input trace on the service)
2. The WSE soap extension is configured for the service. (It has to be
configured in the web.config file)
3. The service has a PolicyAttribute that points to the
UsernameOverTransport assertion

Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax

>I am trying to implement the UsernameOverTransport Assertion in WSE 3.0.  I
> will be authenticating against a .NET 2.0 Membership system, so I have
[quoted text clipped - 14 lines]
> Any thoughts on why the service does not recognize the UsernameToken? or
> where to look?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.