as the title suggests, i'd like to set my proxy authentication credentials when creating a proxy service through svcutil.exe. As you know when adding the service reference through VS2010 (Add Service Reference) we can't set proxy credential.
I read on some blogs that this would be possible by creating the proxy service directly through svcutil.exe, since VS2010 uses it anyway. I tried to create the service on it, but it wasn't possible. Even creating through svcutil i still got the Proxy Authentication Required error. I also tried modifying the svcutil.exe.config with <proxy usesystemdefault="True" bypassonlocal="True"/>
but i didn't work either.
Reading here i tried to set on my app web.config the following:
<system.net>
<defaultProxy useDefaultCredentials="true" >
<proxy usesystemdefault="True" proxyaddress="http://xxxxx:****" bypassonlocal="True"/>
<bypasslist>
<add address=".+\.xxxx\.com:\d{1,5}" />
</bypasslist>
</defaultProxy>
</system.net>
And create the service, but once again the error persisted. I'm getting a little short of option since i already tried everything i know.
QUESTION
So, do you know how to set the proxy authentication credentials when creating a service proxy?