Interfax is requiring that HTTPS be used instead of HTTP for their web service. I am unable to get the correct dfs.wsdl in Visual Studio. Here is an email I just sent to Interfax support.
Here is a very interesting observation!
When I use Google Chrome to go to URL: https://ws.interfax.net/dfs.asmx?WSDL I get this portion at the bottom. Note all HTTPS!!
<wsdl:service name="InterFax">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">The InterFAX FAX Web Service allows developers to send faxes from any environment, including VB.NET, Java, C# and any SOAP client. Build 2017-07-07</wsdl:documentation>
<wsdl:port name="InterFaxSoap" binding="tns:InterFaxSoap">
<soap:address location="https://ws.interfax.net/dfs.asmx"/>
</wsdl:port>
<wsdl:port name="InterFaxSoap12" binding="tns:InterFaxSoap12">
<soap12:address location="https://ws.interfax.net/dfs.asmx"/>
</wsdl:port>
<wsdl:port name="InterFaxHttpGet" binding="tns:InterFaxHttpGet">
<http:address location="https://ws.interfax.net/dfs.asmx"/>
</wsdl:port>
<wsdl:port name="InterFaxHttpPost" binding="tns:InterFaxHttpPost">
<http:address location="https://ws.interfax.net/dfs.asmx"/>
</wsdl:port>
</wsdl:service>
When I use Visual Studio 2022 to create or update a Web Reference (or Connected Services) with URL: https://ws.interfax.net/dfs.asmx?WSDL I get this (all HTTP).
<wsdl:service name="InterFax">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">The InterFAX FAX Web Service allows developers to send faxes from any environment, including VB.NET, Java, C# and any SOAP client. Build 2017-07-07</wsdl:documentation>
<wsdl:port name="InterFaxSoap" binding="tns:InterFaxSoap">
<soap:address location="http://ws.interfax.net/dfs.asmx" />
</wsdl:port>
<wsdl:port name="InterFaxSoap12" binding="tns:InterFaxSoap12">
<soap12:address location="http://ws.interfax.net/dfs.asmx" />
</wsdl:port>
<wsdl:port name="InterFaxHttpGet" binding="tns:InterFaxHttpGet">
<http:address location="http://ws.interfax.net/dfs.asmx" />
</wsdl:port>
<wsdl:port name="InterFaxHttpPost" binding="tns:InterFaxHttpPost">
<http:address location="http://ws.interfax.net/dfs.asmx" />
</wsdl:port>
``` </wsdl:service>
Is this a bug in Visual Studio???
Update 2/1/2025
Using a URL with ?WSDL at the end actually does result in https protocol.
The correct URL to use is: https://ws.interfax.net/dfs.asmx?WSDL
