WCF hosting: Can access svc file but cannot go to wsdl link
Posted
by Impulse
on Stack Overflow
See other posts from Stack Overflow
or by Impulse
Published on 2010-01-20T09:59:06Z
Indexed on
2010/05/07
11:48 UTC
Read the original article
Hit count: 190
Hello,
I have a WCF service that is hosted in IIS 7.5. I have two servers, one for test and one for production.
The service works fine on test server, but on the production server I have the following error.
When I access the address http//..../service.svc I can see the default page that says:
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://..../service.svc?wsdl
This will generate a configuration file and a code file that contains the client class. Add the two files to your client application and use the generated client class to call the Service.
But when I click the wsdl link, I cannot go to the wsdl page. It returns me to this default web page without any errors. I am suspecting a network/firewall authorization error but does anybody have an experience like this one?
All IIS settings are the same for test and production servers.
Thank you, Best Regards.
© Stack Overflow or respective owner