How to pass username/password to svcutil.exe?
Posted on 2011-03-23
I have several WCF services which use custom Basic HTTP authentication.
These are third party services and the only thing I know about them is the address of the contracts and the binding (mostly httpsBasic).
How can I pass username/password to svcutil.exe tool so it can be run against this service to generate a client?
I can't see any /username and /password command line switches like wsdl.exe has.
Probably it can be done using configuration file and /svcutilConfig switch, but I can't figure out what config section should I use to specify username/password.
Can anybody help me with this?