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
3
votes
1 answer

WCF test client and proxy settings

I am trying to run WCFTestClient and generate configuration for service. Unfortunately I am behind proxy and I receive 407: Proxy Authentication Required How can I run WCFTestClient to connect beind proxy
Piotr Stapp
  • 19,392
  • 11
  • 68
  • 116
3
votes
1 answer

Failed to launch application "WcfTestClient.exe"

when i add more than 38 service and try to run my WCF project from visual studio. It gives following Error. Failed to launch application "WcfTestClient.exe" After clicking on yes it stop. and after clicking on no it show itself in running mode but…
Rahul Rajput
  • 1,427
  • 3
  • 17
  • 38
2
votes
1 answer

How to define configs multiple endpoints for a WCF self-hosted service?

I have two WCF Web API Contracts. Before this, I was happy that I could use TestClient. But after I implemented the second one I had to define endpoints (and could not use the default one) and after that, either I see nothing in browser or this…
Pouya BCD
  • 991
  • 4
  • 11
  • 23
2
votes
1 answer

WcfTestClient: The contract 'IMetadataExchange' error

I created WCF service application there are no errors until I run WcfTestClient. It requires IMetadataExchange to be configured. How to configure IMetadataExchange or avoid of its usage? Error: --------------------------- Microsoft WCF Test Client …
sultan
  • 5,978
  • 14
  • 59
  • 103
2
votes
1 answer

Visual Studio 2019 C# WCF Test Client not working with svcutil.exe

I have an WCF Test Client application which was originally created in Visual Studio 2017 which worked fine, however once I upgraded my Visual Studio to 2019 and re-ran the application, I get the following error message: The dependent tool…
Andrew Daly
  • 33
  • 1
  • 5
2
votes
1 answer

WCF Test Client not working with VS 2010 on Windows 7 64 bit

I am unable to use the WCF Test Client. I always get the following error. Error: Cannot load reference assembly 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll' Cannot load file…
Charley Rathkopf
  • 4,720
  • 7
  • 38
  • 57
2
votes
1 answer

SoapUI wsdl wcf net.tcp missing importer

Nn generall I have serving hosting on tcp and I can't parse my wsdl with SoapUI, while it works with wcfTestClient. SoapUI gives me error: Missing importer for... Missing portType for binding.. Unfortunally I need to add headers which I heard is…
kosnkov
  • 5,609
  • 13
  • 66
  • 107
2
votes
2 answers

WCF Test Client that allows me to view/edit the request XML

From time to time we need to test why a certain request coming from our MQ to a WCF service failed. I need to be able to debug the service and find out where it went wrong and resolve the issue. The only information i have is the XML request that…
SecretDeveloper
  • 3,140
  • 2
  • 31
  • 36
2
votes
1 answer

WCF Test Client Service Failed to Invoke

I'm connection IBM.Iseries database in a c# application using ADO.NET iSeries drivers. My WCF service is throwing the error as "HTTP could not register URL http://+:80/Temporary_Listen_Addresses/771be107-8fa3-46f9-ac01-12c4d503d01e/ because TCP…
renjucool
  • 314
  • 8
  • 19
2
votes
1 answer

Portable WCF Test Client 10 (Visual Studio 2010)

I'm trying to get WCF test client 10 (included in VS 2010) on a server that doesn't have Visual Studio installed. I was able to find file packages for version 9, but not 10. These packages included the following…
faedra
  • 53
  • 1
  • 7
2
votes
1 answer

WCF service with authentication using BasicHttpBinding

As per this link http://www.brhlavinka.com/2013/06/07/secure-wcf-service-with-basichttpbinding-and-custom-credentials/ I implemented a WCF service with authentication using BasicHttpBinding. All works fine but have few questions. How can I test…
bp581
  • 859
  • 1
  • 16
  • 47
2
votes
3 answers

Issues debugging WCF Service

So I'm having an intense amount of trouble trying to debug a wcf service, and could use some help. The service I'm writing is in C#, Visual Studio 2010, and is part of an existing service my company has in one of our client's projects. I'm using…
Dodecadaemon
  • 103
  • 1
  • 8
2
votes
2 answers

how can I test a WCF service using XAMPP to work with Apache server?

I built a WCF service on a windows virtual machine, and tested it with the WCF test client by typing this on my browser: http://localhost/Service1.svc/getAllCustomers ... and it works pretty good. Now the problem is that I want to do the same test…
megara
  • 97
  • 2
  • 11
2
votes
1 answer

WCF Test client and authentication

I'm trying to call a webservice with WCF Test Client but the webservice requires authentication. How do I log on and call it by WCF Test Client (I tried to get it from browsers and then to call but does not work). I could use SOAP UI, but I'd like…
Luigi Saggese
  • 5,299
  • 3
  • 43
  • 94
2
votes
2 answers

Which data types WCF service can handle ?

I am new to WCF. Previously I used WCF service for basic data types like string, int32 etc. But when I try to use BitmapImage class its Test Client giving following error Failed to add a service. Service metadata may not be accessible. Make sure…
Amit
  • 21,570
  • 27
  • 74
  • 94