I'm using VS 2010 (.NET 4.0) and I cannot use 'Add Service Reference' to generate my .NET proxy client since looks like using 'Add Service Reference'
(svcutil.exe) option doesn’t work if there are multiple include statements for the schemas in the wsdl. Using "Add Web Reference" (wsdl.exe) option does work to consume this kind of wsdl but having issues passing UsernameToken.
My understanding is it generates WCF client only if 'Add Service Reference' option is used and not 'Add Web Reference'.
The web service is from the 3rd party, so I cannot modify it and they expect UsernameToken in the SOAP header.
Here’s the url to get the package that co
View Complete Post