Reputation: 38083
I'm running 2 WCF services on the same host: one HTTP (unsecured) and one Net.Tcp (secured), off different port numbers. The same client needs to call both services. How do you run svcutil to generate the correct proxy files & app.config, including both services?
Upvotes: 1
Views: 2061
Reputation: 38083
D'oh! It's as simple as this:
svcutil.exe /language:cs /out:GeneratedProxy.cs /config:app.config net.tcp://localhost:8000/ http://localhost:8005
IOW, just list your services one after the other...
Upvotes: 5