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
0
votes
0 answers

WCF Test Client - how to give xml file as input

We have a WCF application and we would like to test one of the end points which takes a class object as input(which is generated by XML to class conversion). I am trying to test this using WCF Test Client. I have the incoming XML data which has too…
Sam
  • 39
  • 5
0
votes
0 answers

Azure WCF Service is reachable with WcfTestClient, but not through the browser or MVC site

I have a WCF Service hosted on Azure. I can reach the service with WcfTestClient, but when I open the *.svc file in the browser it says "Server Not Found" and when I use the service from an MVC site it says "There was no endpoint listening at (url)…
Without Haste
  • 507
  • 2
  • 6
0
votes
1 answer

Test WCF Service using postman

I developed my first WCF Service and I want to test using postman but I keep getting 404 not found error. I tested it using WCFClient and it was working fine. My Model [DataContract] public class chatbotModel { …
0
votes
0 answers

How to find internally calling service URLs from first service in C#

I would like to know how to find the urls of internally referred services when hitting the first service.. is there any way? in fiddler I couldn't find. I have a webservice customer.asmx contains method A(). I know only customer.asmx service…
San
  • 13
  • 5
0
votes
0 answers

Not able to access the service url from client server .Error :

we have few services hosted on the server and they are being consumed by the client. The service URL be like this- http://10.xx.x.y:80xx/sample.svc The server where they are hosted , i tried to access the url and it works fine and even tried to…
TheSacredKiller
  • 121
  • 3
  • 8
0
votes
1 answer

Debug WCF service in IIS with object as input

I want to debug a WCF service locally in Visual Studio. The called function looks like this: public void PerformAction(Directory[] dirs) { .... } Directory is a class with some properties. In the WCF test client I want to test the function but…
ZerOne
  • 1,296
  • 6
  • 20
  • 40
0
votes
1 answer

The WCF service operation type is not supported

I've created a WCF service with 2 asynchronous operations. WCFTestClient returns an error: The operation is not supported in WCF Test Client because it uses type SendCreditTransferRequest. I don't understand the ProcessingFault operation works and…
0
votes
1 answer

Error trying to run WCF Test Client on Visual Studio 2015

I have a C# Web Application that work as a Gateway, with some wcf services created on it. If i set any of the .svc files as the Start Page and try to run it, the WCF Test Client load, the green bar loads to half, and then the App crashes without…
Carlos ABS
  • 693
  • 9
  • 19
0
votes
1 answer

WCF WebService Not Returning DataTable

I am beginning to use WCF to write a web service instead of the old asp.net asmx way. I want to be able to return JSON so I can't do it the old way. If I am returning a string or int the Web Service works fine but if I try to return a DataTable it…
logixologist
  • 3,694
  • 4
  • 28
  • 46
0
votes
0 answers

what causes WCF service functions not showing up at WCF Test Client?

I took over a GET service code that ends with .svc from an already-left colleague. I loaded the webservice at WCF Test client, after the progression bar filled, there is no function or projects names showing up under my service projects.... What can…
Curly
  • 539
  • 2
  • 7
  • 14
0
votes
1 answer

C# WCF TestClient curious on webconfig

just checking why is that the configured in sendTimeOut is 5 mins even though i set it to 10 mins, does test client follows the correct configuration on wcf? thanks.
porknbeans
  • 43
  • 1
  • 8
0
votes
1 answer

WCF call in code doesn't return all expected data

I have a WCF endpoint that returns data queried from a database. For a particular call, for example, I know I should receive 175 records. But my WCF code is always only returning 105 records. I am able to obtain the expected 175 records by…
DougEC
  • 357
  • 1
  • 6
0
votes
1 answer

WCF Test Client not displaying saved data from database

I have created a database with details of a car. I have to test the database using the WCF Test client. Once I input a car ID and invoke, it will not display my data from the table. Only null values. Here is my code for the service class. Why will…
matthewoak
  • 49
  • 9
0
votes
1 answer

Find the path to my WSDL

I have a silverlight 4 app. When I made that it created 2 projects. My actual silverlight app and one called MySolutionName.web (not sure what that does except host my silverlight page). Based on feed back from this question I added my WCF stuff to…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
0
votes
0 answers

web service not getting values when debug but consuming via WCF test client it works

I am consuming a web service through the debug mode in VS2013 in my project, if 14 records are there but not coming, But when consuming via WCF Test Client, records are coming , please anybody can suggest me what would be the case in here ?,…
dush88c
  • 1,918
  • 1
  • 27
  • 34