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 / September 2007

Tip: Looking for answers? Try searching our database.

UsernameToken throws configuration error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kelphis - 13 Sep 2007 19:42 GMT
Im a beginner with wse 2.0 and im trying to just create a soap
envelope with a wsse:security header.   I want to have a usernameToken
inside the header and I user this code:

Dim ut As UsernameToken = New UsernameToken("user", "password",
PasswordOption.SendPlainText)

and i get an error reading my config file.  I did some searching
online and everyone says I have to create a customer authenticator to
use usernametoken.  but im not authenticating anything.  the service
is run by one of our vendors and they will authenticat.  I just want
to send them the password.  what am I doing wrong?
kelphis - 21 Sep 2007 18:17 GMT
> Im a beginner with wse 2.0 and im trying to just create a soap
> envelope with a wsse:security header.   I want to have a usernameToken
[quoted text clipped - 8 lines]
> is run by one of our vendors and they will authenticat.  I just want
> to send them the password.  what am I doing wrong?

I dont know what happened but when I created a brand new solution in
VS.net it started to work.
BigJohn - 27 Sep 2007 13:24 GMT
I am running the same situation in WSE 3.0 but the same is true for 2.0.

WSE defaults its user ID authentication for UsernameTokens to the config
file.  This can be overridden to authenticate to SQL Server or another method
through the wizard.  If we want to override the WSE processes, we need to
write our own token manager.  If you look in MSDN for "usernametoken manager"
you will find sample code.
dhirajbahatt - 26 Sep 2007 18:10 GMT
> Im a beginner with wse 2.0 and im trying to just create a soap
> envelope with a wsse:security header.   I want to have a usernameToken
[quoted text clipped - 8 lines]
> is run by one of our vendors and they will authenticat.  I just want
> to send them the password.  what am I doing wrong?

how yo change my password

BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities
dhirajbahatt - 26 Sep 2007 18:19 GMT
> Im a beginner with wse 2.0 and im trying to just create a soap
> envelope with a wsse:security header.   I want to have a usernameToken
[quoted text clipped - 8 lines]
> is run by one of our vendors and they will authenticat.  I just want
> to send them the password.  what am I doing wrong?

i cant chnge my pass word what to do for it

BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities
kelphis - 27 Sep 2007 16:24 GMT
> > Im a beginner with wse 2.0 and im trying to just create a soap
> > envelope with a wsse:security header.   I want to have a usernameToken
[quoted text clipped - 12 lines]
>
> BizTalk Utilities - Frustration free BizTalk Adaptershttp://www.topxml.com/biztalkutilities

i dont understand what you are asking.  what do you mean you cant
change your password?

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.