.net - Use svcutil.exe with a webproxy -


i have scenario need consume service using svcutil.exe wsdl of service contains following sections

<xsd:schema targetnamespace="http://tempuri.org/imports">   <xsd:import schemalocation="http://mysite/service.svc?xsd=xsd0" namespace="http://tempuri.org/"/>   <xsd:import schemalocation="http://mysite/service.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/serialization/"/>   <xsd:import schemalocation="http://mysite/service.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/pensjonskalkulator"/>   <xsd:import schemalocation="http://mysite/service.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/serialization/arrays"/> </xsd:schema> 

problem these schema locations accessible through webproxy. if setup proxy in ie settings can browse schema locations in ie. looks svcutil.exe ignores these settings when downloading these schemas.

how svcutil.exe use webproxy when downloading information?

update: actually, proxy settings entered in internet explorer works on svcutil.exe. other unrelated issues caused problems.

it possible specify proxy svcutil.exe use setting in internet explorer -> tools -> internet options -> connections -> lan settings -> proxy server , specify address , port.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -