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

Can WcfTestClient.exe send content type 'application/soap+msbin1' request?

I'm trying to test a Silverlight WCF interface, by WcfTestClient.exe. However, I got below message from server: HTTP/1.1 415 Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type…
Fang Dong
  • 1
  • 1
0
votes
1 answer

WCF Test Client Hangs While Loading Service Contract

I am writing a C# WCF web service. While debugging the application, I found that the WCF test client that ships with Visual Studio sometimes freezes while loading the service contract. The progress bar for adding the service gets to around 50% and…
S. Dixon
  • 842
  • 1
  • 12
  • 26
0
votes
0 answers

Load custom app.config to WCFTestClleint

Can I load my own app.config file just like it can be done in following link for WCFStorm ?. http://www.wcfstorm.com/wcf/loading-client-appconfig-files.aspx
bp581
  • 859
  • 1
  • 16
  • 47
0
votes
1 answer

WCFTestClient Operation not supported because it is type

Why I am getting OPERATION NOT SUPPORTED BY WCFTestClient because it is of type ...? (See screenshot) The simillar method is working for normal plain contracts but not working for contract refering Entity Framework class There are two Response…
PawanS
  • 7,033
  • 14
  • 43
  • 71
0
votes
3 answers

WCF Debugging Not Visible In Visual Studio Client

My project is based on a WCF Web Service, and whilst debugging, it's launching the WCF Test Client. When I come across an error, rather than breaking in code at the particular point, it's just reporting the error back to the WCF Test Client. I'd…
Mark
  • 315
  • 2
  • 8
  • 24
0
votes
1 answer

WcfTestClient - Sequence contains no elements [When value is null]

I have written a WCF service to handle the main business logic on my turned-based web game and I'm running into an issue while testing with WcfTestClient. As you can see from the signature of a method I am exposing over WCF it has several optional…
0
votes
1 answer

WCF configuration for .svc host on ASP.NET

I have a WCF web service which is hosted at a .svc file by ASP.NET. .svc file contains following configuration: <%@ ServiceHost Language="C#" Debug="true" Service="assembly.IPriceListProvider, assembly"…
Bogdan Verbenets
  • 25,686
  • 13
  • 66
  • 119
0
votes
1 answer

Hosting WCF web service from a Remote Server

I have an WCF Webservice project, built in my local machine, which when hosted using test client and triggered, returns values from remote database in JSON format. For example, if you key in the URL with localhost then you get results back in the…
user1555123
  • 377
  • 3
  • 4
0
votes
0 answers

Oracle.DataAccess issue with WcfTestClient

I am running Visual Studio 2010 on a Win 7 - 64 bit machine. I created a WCF service project. I debugged it, and the WCF Test Client loaded, as expected. I ran the GetData operation, and upon doing so get this Assembly Oracle.DataAccess was not…
Kevin Kohut
  • 43
  • 1
  • 6
0
votes
1 answer

Can you use WcfTestClient against WebApi?

This article suggests it was possible, or in the works, with some code that suggests it can be done, but I can't figure out what code needs to happen or the WcfTestClient's uri needs to be. Here's the code from the article that makes me think I can…
Maslow
  • 18,464
  • 20
  • 106
  • 193
0
votes
1 answer

Why MS created WCF test client with limitations

Why Microsoft has given a tool to test WCF services which is not able to test everything that we can actually create and use.
James
  • 2,136
  • 3
  • 23
  • 42
0
votes
1 answer

Failed to add a service. Service metadata may not be accessible. Make sure your service is running and exposing metadata.?

trying to build a RestFull service with wcf running in the WcfTestClient.exe. The problem is that I get an error: Failed to add a service. Service metadata may not be accessible. I added a mex endpoint in the config file but does not solve…
user603007
  • 11,416
  • 39
  • 104
  • 168
0
votes
1 answer

WCFTestClient won't launch

I am running VS2010 on Win7. For some reason WCFTestClient.exe won't execute. If I run this from Command line, it shows up in the task manager for split second and then dies. It won't run from VS as well. Has anybody run into this before?
VV75
  • 167
  • 1
  • 2
  • 11
-1
votes
1 answer

wcf test client metadata error

I am a newbie in WCF and WCFTESTCLIENT. I have a project on my desktop PC.It is written by c# and ASP.net MVC and is the core of a multimedia (.MP4 and .MP3) project.(IIS is installed). and it should provide our android application with required…
Give Me 5
  • 1
  • 2
1 2 3 4 5 6
7