Steve,
The Credentials property that is used on the proxy that is created for
you is for HTTP authentication, not any kind of authentication according to
the WS specs.
In order to handle this, you will need to use something like the Web
Service Enhancements pack from MS, which supports a good number of the
authenitcation/authorization schemes that are defined in the WS specs.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Steve Alpert" <sr*@newsgroups.nospam> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I'm trying to see what basic authentication will do in a SOAP call through
a class created in C# by the wsdl tool.
WSDLTest wt = new WSDLTest(); // my SOAP class
wt.Credentials = new NetworkCredential("steve","fudge");
wt.PreAuthenticate = true;
This builds fine but if I log the http traffice, I don't seen any
authentication information anywhere. What's missing?
thanks,
/steveA
--
Steve Alpert
my email Fgrir_Nycreg @ vqk.pbz is encrypted with ROT13 (www.rot13.org)
and spaces