// I spoke to SVCUTIL team,I am sending their response,we support this fetaure in future release
As of RC1(current build), you can configure client credentials for svcutil using the clientCredentials behavior configuration section. You then add this behavior configuration to the client endpoint for the metadata endpoint. Something like this:
Thanks pauldo,are you using FEB CTP , and this is self host service or IIS host service ,and are you testing it on xp or 2003
if it is hosted in IIS,can you please enable only anonymous authentication for this wcf service (set IIS authentication for wcf service virtual directory) and try it again.
If you have simple repro,please send me,I will try to repro here,my email id is madhup@microsoft.com
Why is it possible to generate proxy with svcutil for localhost only?
Syedi
CraigCody
Michal,SVCUTIL can generate proxy for local service and remote service
About this problem:
============
we used gettingstarted sdk sample to repro this problem
Hi Domnin,
I am not able to repro this problem on my machine, and it must be something specific to your machine or IIS on your machine
In self host scenario (without IIS, host your app in console application), Are you able to repro this problem
By any chance, you installed Shared point server on this machine
-Thank you
Madhu
Daniel Tong
Hi Michal,
// I spoke to SVCUTIL team,I am sending their response,we support this fetaure in future release
As of RC1(current build), you can configure client credentials for svcutil using the clientCredentials behavior configuration section. You then add this behavior configuration to the client endpoint for the metadata endpoint. Something like this:
<configuration>
<system.serviceModel>
<client>
<endpoint binding=”mexHttpsBinding” contract=”IMetadataExchange” behaviorConfiguraition=”MyBehavior” />
</client>
<behaviors>
<endpointBehaviors>
<behavior name=”MyBehavior”>
<clientCredentials>
<clientCertificate storeLocation=”LocalMachine” storeName=”My” findValue=”<your value here>” findType=”<X509FindType>“/>
</clientCredentials>
</behavior>
</endpointBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
Prior to RC1 there was no way to use client credentials with svcutil that I know of
-Thank you
Madhu
Lucky Tiger
1. yes, using Feb CTP
2. it's IIS host service
3. testing on XP sp2
4. IIS wcf web service uses anonymous authentification as well (with IUSR_... account for anonymous access)
5. I've sent you my simple sample as well..
Thank You
JohnGTN
Thanks pauldo,are you using FEB CTP , and this is self host service or IIS host service ,and are you testing it on xp or 2003
if it is hosted in IIS,can you please enable only anonymous authentication for this wcf service (set IIS authentication for wcf service virtual directory) and try it again.
If you have simple repro,please send me,I will try to repro here,my email id is madhup@microsoft.com
-Thank you
Madhu
drave
When I try 'svcutil /l:c# http://localhost/....' everything is going well.
On the other hand, when I change 'localhost' on web server name an error appears :
'The request failed with HTTP status 403:Forbidden
Thank you
Leonard Kleinow
Jim Fafrak
You can generate proxy for remote services also,can you please give us more info about this problem.
-Thank you
Madhu