i try to generate proxy in the client via the svcutil.exe
my service config file is :
<
xml version="1.0" encoding="utf-8" ><
configuration><
appSettings><!--
use appSetting to configure base address provided by host --><
add key="baseAddress" value="http://localhost:8000/servicemodelsamples/service" /></
appSettings><
system.serviceModel><
services><
service name="ServiceSide.VigUserServerData" behaviorConfiguration="VigUserServerDataServiceBehavior"><!--
use base address provided by host --><
endpoint address="" binding="wsHttpBinding" bindingConfiguration="Binding1" contract="ServiceSide.IVigUserServerEx" /></
service></
services><
bindings><
wsHttpBinding><
binding name="Binding1" /></
wsHttpBinding></
bindings><!--
For debugging purposes set the returnUnknownExceptionsAsFaults attribute to true--><
behaviors><
behavior name="VigUserServerDataServiceBehavior" returnUnknownExceptionsAsFaults="False" ></
behavior></
behaviors></
system.serviceModel></
configuration>
i run the following commandline in the sdk command prompt:
svcutil /language:C# /config:app.config http://localhost/servicemodelsamples/Service.svc
i got http error 404 :object not found
please help me!

generated proxy via svcutil.exe
mzKitty
Hello
Try passing the url as string . svcutil /l:C# /config:out.config "http://localhost:8000/servicemodelsamples/service" . This works.
Thanks
Sunder
squash cat
Hi net34!
svcutil work with baseAddrees: http://localhost:8000/servicemodelsamples/service. You put the "localhost+port"
Saludos,
dntchaseme
Are you able to browse this URL in IE
http://localhost/servicemodelsamples/Service.svc
If this is self hosted application, please make sure, your service is running
If it is IIS hosted, I would check .SVC extension is mapped to <%windir%>\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
You can check above option from your application virtual directory in IIS
(IIS ->your virtual directory->Home directory->configuration)
Are you using windows xp or 2003 If it is windows 2003,if you disable web extensions, you may get 404 error also, just for testing, you can enable all the extensions
-Thank you
Madhu
Jim Bender
this is self hosted application
my service application is running
i used winXP service pec 2
i can'nt able to browse this URL in IE http://localhost/servicemodelsamples/Service.svc
what i have to do
please help me