forms authentication blunder wcf


we joining wcf web use anonomous opening incited off, windows authentication incited on. web.config record internal user comment grant users countermand users="?".



i download beget use surrogate glorious (being influenced creds), however windows form digest (even flitting credentials), i following error:



system.servicemodel.security.messagesecurityexception unhandled
message="the http ask unapproved fan authentication amour 'anonymous'. authentication header viewed server 'basic realm=\"seipart001\"'."

message="the remote server returned an error: (401) unauthorized."


here illustration code:



ip.eipcshoppingcartwssoapclient fan = new iparts.ip.eipcshoppingcartwssoapclient();
system.net.networkcredential creds = new system.net.networkcredential("username", "password", "domain");

client.clientcredentials.windows.clientcredential = creds;
iparts.ip.orderlistitem[] listitem = client.getorderlist("1234"); //throws difference here


Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?