1 Reply Latest reply on Apr 28, 2012 2:31 PM by Alan Gruskoff

    How can I get a mobile app to call an SSL REST service?

    thehec35@aol.com

      I have a mobile application I created and have it installed on my Motorola Xoom.  It calls out to a REST based services which is locked down via https.  WHen I call in in the debugger I get the following:

       

      Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: https://myserver:443/rest/Policy/policy123?TransType=125" errorID=2032]. URL: https://myserver:443/rest/Policy/policy123

       

      WHat do I do to get this to work.  There is a similar error on my Xoom but this one shows as:

       

      Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032:" errorID=2032]. URL: https://myserver:443/rest/Policy/policy123

       

      any clue what I need to do to get this to work??

        • 1. Re: How can I get a mobile app to call an SSL REST service?
          Alan Gruskoff Level 1

          I am in the same boat, trying to get data from a site with simple Apache Basic Authentication.  I couldnt get the FB/AIR App for iPad to popup the login window. Then, I hard coded in my own login credentials as:

           

          URLRequestDefaults.setLoginCredentialsForHost("99.99.99.99", "alan", "1234");

           

          That worked to get logged in at least, and did bring back the data OK.

          Still working on the getting the popup the login window.