Questions tagged [wcftestclient]

Windows Communication Foundation (WCF) Test Client (WcfTestClient.exe) is a GUI tool that enables users to input test parameters, submit that input to the service, and view the response that the service sends back. It provides a seamless service testing experience when combined with WCF Service Host.

Windows Communication Foundation (WCF) Test Client (WcfTestClient.exe) is a GUI tool that enables users to input test parameters, submit that input to the service, and view the response that the service sends back. It provides a seamless service testing experience when combined with WCF Service Host.

You can find the WCF Test Client (WcfTestClient.exe) in the following location: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\

How to use

1.Double click on the WcfTestClient.exe

2.Select File->Add Service and enter the endpoint address of the service. This will connect to the service and populate all the methods.

3.Double click a method, fill required fields, and click Invoke button.

4.Results will be displayed in the bottom panel.

YouTube Video

Use WCF Test Client to test WCF Service Application

Updating Config file

To update the configuration parameters, right click on the "Config File" on the left panel and select Edit with SvcConfigEditor.

enter image description here

References

MSDN - WCF Test Client

104 questions
2
votes
2 answers

WCF service hosted with User in IIS WPG group?

I have hosted WCF service on IIS 6 using a custom AppPool. This AppPool is configured to run under a user who is in IIS_WPG group. I can access the service from a remote location and can see the wsdl as well, but when I try to access the same…
Nexus23
  • 6,195
  • 9
  • 50
  • 67
2
votes
1 answer

From where does the WCF Test Client get its configuration?

I fear I've just lost myself in the trees, but from where does the WCF Test Client pull its configuration? Background In troubleshooting adding support for net.tcp to my WCF service, I've muddied the waters by making many different changes to the…
John Spiegel
  • 1,861
  • 3
  • 24
  • 39
2
votes
1 answer

cant get fiddler to record requests from wcftestclient.exe?

I build a very basic wcf service using visual studio development server just to see fiddler working: c# public class Service1 : IService1 { public string GetData(int value) { return string.Format("You entered: {0}",…
user603007
  • 11,416
  • 39
  • 104
  • 168
1
vote
3 answers

How do I get my wcf service to update when I use the WCF Test Client?

I have created a basic wcf service nothing more complicated than helloworld. I have tested it with both WCF Test Client and my own client app and it works fine. So with that I wanted to add a method to it to see if I might try something a bit more…
Omenof
  • 113
  • 1
  • 2
  • 9
1
vote
0 answers

Invoke soap wcf service in Fiddler like in Wcf test client

I have service which should support SOAP and REST. web.config
netmajor
  • 6,507
  • 14
  • 68
  • 100
1
vote
2 answers

basicHttpBinding security mode not successfully inferred by wcf test client

I have a WCF Service programmed in VB.NET that is exhibiting strange behavior. The web.config has the following xml:
Jason
  • 174
  • 3
  • 18
1
vote
1 answer

Visual Studio 2017 WcfTestClient.exe not existing

The problem is simple, this thing is just not installed. And can't find any installer on the web. "where wcftestclient" returns a not found. When i press F5 and WCF project is selected, it just open my browser and show my svc. Useless. What's wrong…
Grounch
  • 375
  • 2
  • 14
1
vote
2 answers

Testing WCF Data service using WCF Test Client

I am unable to test a WCF Data service using the Wcf test client provided in VS2010. A regular service works fine but then for a data service I get this error when trying to call the url in the test client: Error: Cannot obtain Metadata from…
user20358
  • 14,182
  • 36
  • 114
  • 186
1
vote
1 answer

How to debug WCF-Service with UserName Authentication?

theoretically, I can debug a WCF-service with Microsofts WCF-Testclient. Practically am I using UserName Authentication and the TestClient doesn't have the possibility to pass the User Credentials. Is there any workaround or maybe other debugging…
Aaginor
  • 4,516
  • 11
  • 51
  • 75
1
vote
1 answer

How to test a WCF endpoint using WCF Test Client

When I run up WCF Test Client, I only see two "endpoints" in a system - BasicHttpBinding_MyService and WSHttpBinding_MyService. Now the system accepts a multitude of different types of request, and these are passed into the endpoints in an array of…
Ben Aston
  • 53,718
  • 65
  • 205
  • 331
1
vote
2 answers

WCF (net.tcp) service: Works on all but one system

I've written created a WCF service inside a Windows service, and for some reason I can't figure out, I deployed the service on a bunch of systems (all nearly identical in OS and configuration), and it works on all but one server. The configuration…
ErikHeemskerk
  • 1,623
  • 14
  • 30
1
vote
1 answer

How to pass List to WCF test client

I have DataContract as below [DataContract] public class Test { public List val { get; set; } } and my OperationContract as below public bool TestValidation(Test t, out string message) { return…
Imad
  • 7,126
  • 12
  • 55
  • 112
1
vote
0 answers

How do I make WcfTestClient generate metadata with enableDataBinding

When launching a wcf service which has DataContracts that have properties that inherit from INotifyPropertyChanged I get an error from the WCFTestClient while loading the service reference CS0644: 'System.ComponentModel.PropertyChangedEventHandler'…
Omgee Cares
  • 427
  • 2
  • 5
  • 12
1
vote
1 answer

How to access Federated WCF via WCF test Client?

I have a simple WCF client over HTTPS that works pretty fine with the WCF Test Client. Now when I enabled Federation to WCF, the same works fine in a browser. As soon as I access the svc URL, it redirects to the federated login page. After valid…
Suhas TJ
  • 65
  • 1
  • 8
1
vote
1 answer

How to change the display order of properties within an object passed to a method (WCF)

I have a couple of service methods that take an object as a parameter. In the WCF Test Client, the object's properties are displayed in alphabetical order. It would be expedient if we could list certain properties together. Is there a way to do this…
Robbie Dee
  • 1,939
  • 16
  • 43