I am having exact same issue. I used REST web connection to get a filtered data from the SharePoint list in the InfoPath form. It worked fine on my dev server as the dev sharepoint site is not SSL, but it is not working on production as my production site is SSL enabled. Can you please explain me your work around?