WCF host in windows service: cannot get wsdl
- by michele
Hi guys!
i've a windows service that hosts a WCF service with basicHTTPBinding. In test everything goes right, when i deploy the win service on a Window Server 2003, service hosts correctly wcf, I print out endpoints in tracing, they're correct, but when i ask for wsdl using the address that service exposed (i.e. http://mybaseaddress/?wsdl) i get a dns error, i cannot get the page!
Where i fail? I miss something? If i host the wcf with a console app, using the same config file, i can get the wsdl without problems!
Thank you in advance
Michele