I assume you're running this through AEM Forms to render the HTML5, if you're trying to go directly from AEM to another service you're likely getting a cross site issue. You may have to go back through the AEM instance or proxy to the other interface.