Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I see all available methods on a svc file?

Tags:

wcf

As a contrast with a asmx file, how can I get in the visual service page that shows the available methods on the service?

http://soweb.adwiza.com/person.asmx

Versus

http://soweb7.adwiza.com/remote/person.svc

like image 353
balexandre Avatar asked Jan 05 '11 00:01

balexandre


People also ask

What is service SVC file?

A . svc file contains a WCF-specific processing directive (@ServiceHost) that allows the WCF hosting infrastructure to activate hosted services in response to incoming messages. The most common syntax for a . svc file is in the following statement.

How do I open an SVC file in Visual Studio?

If you want to associate a file with a new program (e.g. my-file. SVC) you have two ways to do it. The first and the easiest one is to right-click on the selected SVC file. From the drop-down menu select "Choose default program", then click "Browse" and find the desired program.


1 Answers

WCF does not have the list of operations page. The information is available by looking at the raw WSDL http://soweb7.adwiza.com/remote/person.svc?WSDL.

If you want a friendlier way to see that information as well as the ability to invoke the service (which the old ASMX page gave for simple types) then you can use the WCF Test Client (WcfTestClient.exe).

It will show you all of that information:

WcfTestClient

like image 64
Randy supports Monica Avatar answered Nov 11 '22 01:11

Randy supports Monica