2

There are 3 wcf services which is using some classes in common in their data contract but not all. I need to generate service client using svcutil toll for all 3 services with different namespaces for the service information and common classes in separate namespace.

Any help on this will be appreciated

Ajith
  • 1,447
  • 2
  • 17
  • 31

1 Answers1

1

Just add the services one after another in the URL argument like:

svcutil.exe /language:cs /out:MyProxyClass.cs /config:app.config http://localhost/Service1 http://localhost/Service2
S.Dav
  • 2,436
  • 16
  • 22