Don't be fooled by InfoPath login prompt

A short sharing since I was amazed of the quality of feedback I received today from InfoPath and could have spent hours on this.
Steps:

  1. Create an infopath form (here 2013, but may be the same in previous versions as it hasn’t moved that much at all since 2007)
  2. Publish it to Sharepoint (2013) as a Content Type
  3. Bang ! Infopath prompts for a login/password for the Webs.asmx web service
  4. Infopath publish error
  5. Entering any login still fails.

After a bit of thinking I went back a few step on that Publishing dialog box and noticed that I pasted some text that my client wanted to see displayed and it was just that: InfoPath didn’t like to transform the Description of the form or Sharepoint refused it because some characters were incorrectly formatted.
Avoid characters
So don’t be fooled by InfoPath / Sharepoint, the error doesn’t always lays where you think it is.