Positonic
Positonic

Reputation: 9411

Get WCF webservice response as XML

I have created a simple WCF web service. How can I view it's response as XML?

Do I create a consuming client application and then output the results as XML somehow?

Upvotes: 1

Views: 2064

Answers (5)

marvelTracker
marvelTracker

Reputation: 4969

I rather recommend you to use XMLSpy, as it provides good view of WSDL, SOAP, xsd.

Upvotes: 0

krisragh MSFT
krisragh MSFT

Reputation: 1918

Below are all the things I'd suggest:

Try this, and please report back! :)

Upvotes: 0

L. Vandendriessche
L. Vandendriessche

Reputation: 140

You can also use the Wcf testing tool provided to you by visual studio. Its pretty straight forward to use.

You can find it in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\WcfTestClient

Upvotes: 2

Daniil Novikov
Daniil Novikov

Reputation: 440

You may use WCF tracing utility - SvcTraceViewer.exe. Just configure tracer in your config file.

Take a look at this source(at the bottom, system.diagnostics section):

http://xenta.codeplex.com/SourceControl/changeset/view/068ddfd6bf36#trunk%2fSrc%2fHst%2fIisHost%2fWeb.config

This is how we use WCF tracing in our project.

Upvotes: 1

Nick Ryan
Nick Ryan

Reputation: 2670

SoapUI might be useful for you. Will also help you to test your service. Point it at the WSDL and away you go.

Upvotes: 1

Related Questions