1

When I launch the application and go to the service page I see...

You have created a service.

To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:

svcutil.exe http://localhost:26109/DashboardServices.svc?wsdl You can also access the service description as a single file:

http://localhost:26109/DashboardServices.svc?singleWsdl

But when I click on those links I don't see the WSDL. Instead I just get the same text.

I assume this has something to do with MVC routing, but I don't know how to fix it.

1 Answer 1

1

This behavior happens when you forget to put [ServiceContract] on the interface.

Sign up to request clarification or add additional context in comments.

1 Comment

It also happens when you do add [ServiceContract] on the interface.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.