Interesting issue with a few Infopath forms. They’ve been working fine for ages using a WCF service to update another system.
When we changed our SharePoint site to use SSL, the form was generating an error when calling the WCF service. There were a number of factors at play:
- The WCF service was not configured correctly to have an SSL end point. By changing the binding configuration in the web.config for the web service, I was able to get the WSDL to display correctly using https when browsing to the service. However, the form still didn’t work AND the WSDL returned had the wrong URL (was the internal server name not the FQDN).
- The second problem was caused by there not being a host header for the SSL side of the IIS configuration. This Stackoverflow post had the hint: http://stackoverflow.com/questions/3750945/wrong-url-in-wsdl-hyperlink-when-using-wcf-https and this Microsoft post helped fix it: https://technet.microsoft.com/en-us/library/cc753195%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396