My service is consumed through a router. I’m trying to use SvcUtil.exe to create config and class file. When I point to the service itself endpoints the command would be something like this:
svcutil.exe http://'localhost':8080/MyService_endpoint
"Please don't mind the ' in the address"
With this command everything works and I have all my service methods (Contracts) in the client side. Now my problem is when I try to use svcutil to create config and the class through router I use this command:
svcutil.exe http://'localhost':8080/MyRouter_endpoint
The files are created but none of the service methods are mentioned in the class file. My question is how can we use svcutil when router is being used.