I expose the wcf service via https from iis 6. Iβm sure how much better I understand that the binding is set correctly in iis (yes, itβs positive that the site identifier is β1β and made iisreset).
when i run this:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>cscript.exe
this is on the list:
SecureBindings : (LIST) (1 Items) ":443:dev.mydomain.com"
When I open the service url, I see that it generates the url for wsdl correctly:
https:
points this url for svcutil.exe:
https:
However, when I check wsdl itself, it stops using the domain and replaces it with the machine name in this wsdl xml section:
<wsdl:service name="servicename"> <wsdl:port name="BasicHttpBinding_servicename" binding="tns:BasicHttpBinding_servicename"> <soap:address location="http://machinename.inernaldomain/virtual.directory/servicename.svc"/> </wsdl:port> </wsdl:service>
Is the problem a web.config problem or an IIS problem? Also, why does it change the soap address to http from https?
Roger source share