Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

wcftestclient default config

Where can I set default config options for wcftestclient?

like image 215
Serhiy Avatar asked Mar 11 '11 09:03

Serhiy


People also ask

Where is WcfTestClient EXE located?

You can typically find the WCF Test Client (WcfTestClient.exe) in the following location: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE - Community may be one of "Enterprise", "Professional" or "Community" depending on which level of Visual Studio is installed.

How do I open WcfTestClient EXE?

If you use "Developer Command Prompt" you can just type WcfTestClient to start it or type where wcftestclient to find the location.

How do I run a WCF service test client?

Test the ServiceFrom the main menu, click DEBUG > Start Without Debugging. This starts the service and invokes the WCF Test Client window. The left pane shows the endpoint for your service and the operations that are exposed.


1 Answers

There are no default options. Default configuration is generated in the same way svcutil generates configuration when adding service reference. Information trasported in WSDL are used and rest of values is set to default values based on binding / behavior.

If you want to modify and reuse client config for WcfTestClient you can:

  • Open WcfTestClient and let it generate config for you
  • In Tools > Options unthick Always config when launching services. It will allow you reusing single config for subsequent WcfTestClient executions in the same project but in the same way it will not automatically modify config based on changes made in service configuration.
  • Edit client config with SvcConfigEditor and save it. It will saved modified config to your Documents\Test Client Projects directory. The config will be reused if your service will be executed from the same address.
like image 90
Ladislav Mrnka Avatar answered Oct 18 '22 20:10

Ladislav Mrnka