Menu
Cutty
  • Chryslers
  • Lutherie
  • YLSNED
  • About
Cutty

Infopath form error when calling WCF service via SSL

Posted on April 14, 2015December 1, 2019 by Iain 'Cutty' Carlin

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:

  1. 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).
  2. 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
  • InfoPath
  • SharePoint
  • SSL
  • Recent Posts

    • Books I read in 2025
    • 2024 was the best year for our solar system
    • Books I read in 2024
    • Books I read in 2023
    • Happy New Year 2024

    Categories

    • Chryslers (1)
    • Cutty's Blog (13)
    • Lutherie (38)
    • You Learn Something New Every Day (44)
    ©2026 Cutty | Powered by Superb Themes