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

    • Lawson – A life in words and music
    • Instrument Making Course
    • Jigging, plating and sanding
    • A building block….
    • Fridays are lutherie days!

    Categories

    • Chryslers (1)
    • Cutty's Blog (8)
    • Lutherie (38)
    • You Learn Something New Every Day (40)
    ©2023 Cutty | Powered by WordPress & Superb Themes