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

101 questions
96
votes
1 answer

Visual Studio Wcf Test Client - entering an Int array

I've found the Visual Studio WCF test client quite useful when it comes to a quick test of my WCF service. This is the test client found in this location relative to your Visual Studio install directory: \Common7\IDE\WcfTestClient.exe I have a few…
WebDude
  • 5,985
  • 5
  • 31
  • 42
72
votes
10 answers

WCFTestClient The HTTP request is unauthorized with client authentication scheme 'Anonymous'

I've created one WCF service and deployed it on Server. When I browse this service it gives me positive response with ?wsdl URL. Now I'm trying to test the service through WCF Test client. It shows proper metadata. But when I try to invoke any of…
user82613
  • 1,223
  • 2
  • 11
  • 17
28
votes
6 answers

Is it possible to force the WCF test client to accept a self-signed certificate?

I have a WCF web service running in IIS 7 using a self-signed certificate (it's a proof of concept to make sure this is the route I want to go). It's required to use SSL. Is it possible to use the WCF Test Client to debug this service without…
Lawrence Johnston
  • 58,608
  • 40
  • 113
  • 181
23
votes
8 answers

WCF : How to disable WCF Test Client

I created a new WCF Application. It has a svc file & a code behind, When I try to debug (F5) then I see the following. If svc file is open & press F5 then it opens the web browser If code behind file is currently open & press F5 then WCF Test…
Atul Sureka
  • 2,654
  • 5
  • 34
  • 51
17
votes
6 answers

How to disable WCF Test Client - VS 2012

I have a new WCF Service Application, when I hit F5 to debug, the WCF Test Client always comes up, but I would like to disable it since I am using soapUI to test instead. I have tried the answer here - https://stackoverflow.com/a/8441887/903056 but…
EkoostikMartin
  • 6,591
  • 2
  • 30
  • 60
16
votes
3 answers

WCF REST Service not visible in WCFTestClient

I have successfully configured 3 endpoints for my prototype service. The endpoints are basicHttpBinding, wsHttpBinding, and webHttpBinding. The only glitch I have at the moment is in the WCFTestClient. When I point it to my service it lists the…
codedog
  • 2,368
  • 9
  • 36
  • 65
16
votes
3 answers

Unable to add service in WcfTestClient when copy to a different machine

I'd like to run WcfTestClient (one that's included with VS2012) on a different machine without installing VS2012. Is this possible? On the machine I've installed .NET 4.5 but when I try to add web services it gives me the following stack…
14
votes
4 answers

WCF service method unavailable in WCF Test Client because it uses type

I am trying to use the WCF Test Client to test a WCF service I have built. The service has one method "SubmitRequest". [OperationContract] Response SubmitRequest(Request request); When I load up the WCF Test Client, the method is grayed out with…
thiag0
  • 2,149
  • 5
  • 29
  • 50
13
votes
3 answers

What alternitives are there to WCF Test Client?

I feel like it should be easier to test my WCF Services. Is there an alternative to WCF Test Client? Something with these features: Can save my object trees (method parameters) to be used again. Ideally it would even let me identify GUIDs that…
Vaccano
  • 70,257
  • 127
  • 405
  • 747
13
votes
5 answers

WCF Errors using WCFTestClient to test a simple WCF Web Service

When I try to test the AutoLotWCFService using "wcftestclient", I get the following error. What am I doing wrong? Any insight will help. This is a simple Web Service that has wshttpbinding with interface contract and the implementation in the…
Neal Unadkat
12
votes
1 answer

wcftestclient default config

Where can I set default config options for wcftestclient?
Serhiy
  • 4,040
  • 4
  • 32
  • 51
11
votes
1 answer

How do I pass value to List property while testing my WCF service?

I am testing a WCF service method which accepts a DC type parameter, some of my DC properties are of type List. How do i pass values to that, I tried strings in "", did not accept, Please refer the attached screenshot. AdjReason in the attached…
KeenUser
  • 4,535
  • 12
  • 33
  • 54
10
votes
2 answers

Why is my WCF Service not loading my Binding config?

I have the problem with the following error: "The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element." So I did some research…
MisterIsaak
  • 3,750
  • 6
  • 32
  • 54
9
votes
2 answers

Why can't my operation contracts in my wcf client take interfaces as parameters?

I have a simple wcf Service Contract that works fine if I use the concrete implementations for the interfaces, but if I want to use the interfaces in the paramaters instead of the concrete classes, it gives me the error which I will display…
Xaisoft
  • 42,877
  • 83
  • 270
  • 415
7
votes
3 answers

Is there an alternative for WCF Test Client application with better Facilities?

I use wcf test client for testing my wcf services, but it has some shortages. Is there an alternative for WCF Test Client application with better Facilities?
masoud ramezani
  • 20,058
  • 28
  • 92
  • 149
1
2 3 4 5 6 7