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
1
vote
0 answers

AX 2012 R2 CU7 AIF: Failed to add a service

I've created an HTTP inbound port. I'm able to access the services using Visual Studio. However, when I try to add the service to the wcfTestClient, I get the following error: Failed to add a service. Service metadata may not be accessible. Make…
RT.
  • 435
  • 2
  • 9
  • 25
1
vote
2 answers

this Operation is not supported in WCF Test Client Error

Actually i implemented WCF service in IIS Host Using WCF Test Client tool I get this error: "this Operation is not supported in WCF Test Client". http://desbiz:49615/GestionProvision.svc Using wsdl in IExplorer all is…
Alhambra Eidos
  • 1,515
  • 4
  • 21
  • 31
1
vote
0 answers

How to disable WCF Test Client while hosting services in a managed application?

I am hosting WCF services in a console application and i am trying to use the same endpoint address configured in the service config file in my host application. But when ever i am trying to run the application i am getting AddressAlreadyInUse…
saurabh.mridul
  • 177
  • 1
  • 11
1
vote
0 answers

net.tcp Windows Service - Test Client Error Hell: System.ServiceModel.AddressAlreadyInUseException

I have a service I wrote and deployed in the service.msc list of services. I then wrote a test client to test some of the features. The basic 'first' attempt worked perfect. The issue is when I went back and added new operations I keep getting…
1
vote
1 answer

WcfTestClient method take base class as param

I have the following method signature being exposed via WCF: public void MethodA(RequestBase request) { } public class RequestA : RequestBase { } There are some concrete classes derived from the RequestBase Class. During the service call using…
user384080
  • 4,576
  • 15
  • 64
  • 96
1
vote
1 answer

WCF Service throwing a timeout error when using WcfTestClient

If I send parameters which will cause a lot of data to be pulled I get the following error: The request channel timed out while waiting for a reply after 00:01:00. Increase the timeout value passed to the call to Request or increase the SendTimeout…
hyprsleepy
  • 1,810
  • 6
  • 25
  • 35
1
vote
1 answer

wcf service not captured in fiddler 2?

still trying to record requests in fiddler 2 : ( i have created a simple WcfService1 in vs.net 2010 when I call it in wcftestclient.exe it does not show up in Fiddler. Anyone any idea? web.config
user603007
  • 11,416
  • 39
  • 104
  • 168
1
vote
2 answers

Can I use WcfFacility with WCF Test Client?

I have a WCF Service Library containing a custom ServiceHostFactory derived from DefaultServiceHostFactory. I can't get the test client to use this factory. I just get the "no parameterless constructor was found" error. Here's my hosting enviroment…
Ufuk Hacıoğulları
  • 37,978
  • 12
  • 114
  • 156
0
votes
3 answers

Can IIS-hosted WCF service be configured for BOTH Windows Auth and Anonymous?

I've got a small WCF webservice working with the built-in WCF Service Host and with hosting by the Visual Studio 2008 built-in development webserver. I these hosting enviroments I have relied on the WCF Test Client for invoking the service methods.…
John Adams
  • 4,773
  • 25
  • 91
  • 131
0
votes
1 answer

wcfTestClient Configuration with WSSF in Visual Studio 2010

I am using the WSSF to implement my wcf services project.I want to invoke the service operations using wcfTestClient like general wcf project. I mean if i run the my service form Visual Studio,it should run through wcfTestClient tool. I can run the…
User_MVC
  • 251
  • 2
  • 7
  • 21
0
votes
1 answer

Identity Check Issues in IIS Hosted WCF Service

I have a set of WCF Services Hosted in IIS7. I'm in the process of moving the services to a different folder in order to start specifying version and environment in the URL. For…
mclark1129
  • 7,532
  • 5
  • 48
  • 84
0
votes
1 answer

A property with the name 'AutomatedFormatSelectionContentTypePropertyName' is not present

I get this error trying call my service in WcfTestClient My config:
netmajor
  • 6,507
  • 14
  • 68
  • 100
0
votes
0 answers

Legacy tests fails with EndpointNotFoundException because WcfTestClient does not start

The legacy code uses a service reference called DesignTime2ServiceReference and it connects to endpoint http://localhost:8733/Design_Time_Addresses/XXX I have added "/client:WcfTestClient.exe" into [project > Properties > Debug > Start Options >…
iakob
  • 309
  • 1
  • 6
0
votes
1 answer

WCF Test Service cannot add service

I'm using Visual Studio for a school project and I'm to create a simple WCF Service Application web service that I need to test using WCF Test Client. I developed the service, but then when I run the debugger, it opens a web browser, I copy the link…
joepaji
  • 45
  • 4
0
votes
1 answer

All Enums evaluates to 0 when sending a request to a WCF service from a WCF test client

I have a very strange issue, I am sending a request from a WCF Test Client, I want to test my soap service, all enums evaluates to Zero. The Enums look like this: [DataContract] [Flags] public enum Gender { [EnumMember] Female= 1, …
MswatiLomnyama
  • 1,326
  • 2
  • 13
  • 19