Hello
I am trying to get metadatas of a service which require log in with svcutil.exe. How can i do that ?
Hello
I am trying to get metadatas of a service which require log in with svcutil.exe. How can i do that ?
There are basically three ways to accomplish this:
1) Use Visual Studio "Add Service Reference" it will ask you for credentials.
2) Browse to WSDL in IE (after passing your credentials) and save off all WSDLs and XSDs then generate your Proxy using SVCUTIL from those. Pain in the rear b/c it requires manual edits.
3) Obtain the proxy from the Service Provider. They should have them generated and ready for you.
The strange thing is that the provider should have an exposed http endpoint w/o security that is available for you to generate your proxy from, as the first two of these aren't that user friendly depending on environment (firewalls, security settings, etc.). Worst case they should be able to provide you WSDL to generate your proxy from.