Mobile App Service Authentication

I am having trouble getting user data once a user is authenticated. I can authenticate successfully, but how do I retrieve user data from Facebook once I have the MobileServiceUser object? All that object contains is a UserId string and an access token
that seems to only have use when talking to Azure. It doesn't seem that the access token is meant to be used with Facebook. How do I obtain the necessary access token to communicate with Facebook?

There are some additional steps that you'll have to perform in order to do this.  You may want to see the article at
http://azure.microsoft.com/en-us/documentation/articles/mobile-services-how-to-register-facebook-authentication/ which describes the additional steps.  I hope that helps.

Similar Messages

  • Authentication after migrating to App Services Mobile App: uid vs sid

    I've migrated form Azure Mobile Services to the new App Services Mobile App, and I'm using the new AMS 2.0.0-beta on the client-side.
    I have two providers (currently) implemented for OAuth 2.0: Google and Twitter.
    Previously, I was able to get the provider token via a claim in the principal on the server, and there would be a uid (unique id) claim that would be either "Google:123456789" or "Twitter:123456789010" (or however many alphanumerics). I
    believe the MobileServiceClient.UserId also exposed this as well.
    Now, after I've migrated to the new App Services Mobile App (and I'm using the Preview Portal now, which for the most part is pretty awesome), there is no longer a uid claim, but rather a single sid (session id) claim, something like: "sid:ABCDEFGHIJKLMNOPQRSTUVWXYZ",
    no matter which provider I log in with. When I looked on the client-side at the
    MobileServiceClient.UserId value, it also gives this "sid" value.
    The point is that previously the uid token could uniquely identify a user. Now it is the same for all users across all providers!
    How can I get the provider token with the App Services Mobile App that I was previously able to get with Azure Mobile Services?
    Also, could anyone point me to the source code for the Azure Mobile Services 2.0.0-beta? I can't seem to find it on GitHub.
    ibGib

    I ended up
    posting this question on StackOverflow and I have answered it there as well (I'm having difficulties attaching the picture here).
    ibGib

  • Integrating a PHP Web App with an Existing Azure Mobile Services and Mobile App

    I've got an existing mobile app that is integrated with Azure's mobile services. The mobile services are currently connected to Azure Active Directory with MFA enabled. I'd like to build a separate PHP-based web application (Azure VM) that uses this existing
    mobile service and authentication.
    I reviewed the Azure PHP SDK, but didn't see any tie-ins to the Mobile Service. Additionally, Azure has some great tutorials, but for mobile services they all seem to focus on iOS, Android, and Windows phone. Any insight into how to tie a PHP-app into this
    backend would be much appreciated!

    Although there isn't any client library for PHP, you can still access Mobile Service using the
    Azure Mobile Service REST API.
    Abdulwahab Suleiman

  • Authentication with App Service Gateway worked, but now fails

    So I was trying to authenticate my app with the App Service gateway so that I can access my locked down Api App. I have set up identity providers for both Google and Microsoft, and all was working wonderfully. I was making some tweaks with how I was handling
    the authentication token, so I was hitting the authentication code 3-4 time a minute. Everything was great until suddenly the web page stopped opening up.
    I did some digging and it seems that the gateway simply cannot handle my requests anymore. I am now getting 500 responses and the streaming logs for the gateway host web app spat out an IIS error page that I've pasted at the end here... To me the
    error looks like it's coming from the gateway code. So what is going on? I've tried restarting both the gateway and the host for the gateway, I've tried changing the pricing tier to a non-shared plan in case something on the machine was crashing, and
    I've tried accessing the /signin-google page on both my mobile app and desktop browser (both fail with 500). I assume that recreating the entire resource group and associated gateway would solve the problem, but I don't know that this won't happen again. So
    any tips you have would be appreciated, thanks.
    IIS Error page:
    HTTP Error 500.0 - Internal Server Error
    The page cannot be displayed because an internal server error has occurred.
    Most likely causes:
    IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
    IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
    IIS was not able to process configuration for the Web site or application.
    The authenticated user does not have permission to use this DLL.
    The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.
    Things you can try:
    Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
    Check the event logs to see if any additional information was logged.
    Verify the permissions for the DLL.
    Install the .NET Extensibility feature if the request is mapped to a managed handler.
    Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click
    here.
    Detailed Error Information:
    Module
       __DynamicModule_Microsoft.Owin.Host.SystemWeb.OwinHttpModule, Microsoft.Owin.Host.SystemWeb, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35_63ffbacd-0ee6-4727-806c-1c01b9b82249
    Notification
       MapRequestHandler
    Handler
       ExtensionlessUrlHandler-Integrated-4.0
    Error Code
       0x00000000
    Requested URL
       https://chipexchangeresources8ff2d21b21f84262ae5c1b3af4dc04ca:80/signin-microsoft
    Physical Path
       D:\Program Files (x86)\SiteExtensions\ApiAppsGateway\0.9.29\signin-microsoft
    Logon Method
       Anonymous
    Logon User
       Anonymous
    More Information:
    This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.
    View more information »
    Microsoft Knowledge Base Articles:

    No, it wasn't anything to do with Insights. Actually coming back after a weekend cleared my mind enough for me to spot my foolish error. It turns out I had accidentally switched the login and redirect urls,
    From
    Login: <gatewayurl>/login/google
    Redirect: <gatewayurl>/signin-google
    To
    Login: <gatewayurl>/signin-google
    Redirect: <gatewayurl>/login/google
    I just didn't notice at the time because /signin-google looks like a signin url rather than a redirect one. As soon as I switched back to using the /login/google one everything is back to working smoothly. Sorry for the false alarm, but as a side note I
    don't think the gateway should be throwing an exception if there is no auth token.

  • Web service Invocation from ADF mobile app errors

    Mobile App Gurus,
    The webservice when invoked from ADF web app is working fine but, when invoked from Mobile APP errors in emulator with as below...
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication serivce is oracle.idm.mobile.SSOAuthenticationService
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication context status is IN_PROGRESS
    D/oracle.idm.mobile.OMAuthenticationServiceManager_retrieveAuthenticationContext
    ( 1096): Authentication context for the key appsnet5login.sysadmin retrieved from the credential store is : null
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication serivce is oracle.idm.mobile.BasicAuthenticationService
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication context status is IN_PROGRESS
    D/oracle.idm.mobile.OMAuthenticationServiceManager_doInBackground( 1096): Invalid Authentication URL.
    Please can you let me know if I am missing some step in ADF Mobile App framework.
    Thanks,
    Shreedhar
    Edited by: sh**** on Apr 22, 2013 5:11 AM
    Edited by: sh**** on Apr 22, 2013 6:50 AM

    I don't know if you fixed it already by this time or not. But here is my findings anyway, to be able to inject the security header correctly in any SOA Gateway service, you need to have your Mobile Application Secured, meaning that there is a prompt for username/password when you open it.
    Then you will have to make a Proxy service for the webservice you are using from apps. And you must create it with a SOAP Handler also and write below sample code in the handler to inject the security header in the SOAP call. At last, you are going to deploy this proxy service to your Application Server.
    These steps were taken on a Glassfish server not Weblogic. I think there is an easy way for this if you are using Weblogic..
    Sample handler is below:
    package com.mobile.xxsoap;
    import java.util.HashSet;
    import java.util.Set;
    import javax.xml.namespace.QName;
    import javax.xml.soap.Name;
    import javax.xml.soap.SOAPElement;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPFactory;
    import javax.xml.soap.SOAPHeader;
    import javax.xml.ws.handler.MessageContext;
    import javax.xml.ws.handler.soap.SOAPHandler;
    import javax.xml.ws.handler.soap.SOAPMessageContext;
    public class CustomSOAPHandler implements SOAPHandler<SOAPMessageContext> {
        private static final String AUTH_PREFIX = "wsse";
        private static final String AUTH_NS =
            "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
        public boolean handleMessage(SOAPMessageContext context) {
            try {
                SOAPEnvelope envelope = context.getMessage().getSOAPPart().getEnvelope();
                SOAPFactory soapFactory = SOAPFactory.newInstance();
                SOAPElement wsSecHeaderElm = soapFactory.createElement("Security", AUTH_PREFIX, AUTH_NS);   
                SOAPElement userNameTokenElm = soapFactory.createElement("UsernameToken", AUTH_PREFIX, AUTH_NS);
                SOAPElement userNameElm = soapFactory.createElement("Username", AUTH_PREFIX, AUTH_NS);
                userNameElm.addTextNode("redsam");
                SOAPElement passwdElm = soapFactory.createElement("Password", AUTH_PREFIX, AUTH_NS);
                Name passwdTypeAttr = soapFactory.createName("Type");
                passwdElm.addAttribute(passwdTypeAttr,
                                       "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText");
                passwdElm.addTextNode("123456");
                userNameTokenElm.addChildElement(userNameElm);
                userNameTokenElm.addChildElement(passwdElm);
                wsSecHeaderElm.addChildElement(userNameTokenElm);
            } catch (Throwable e) {
                e.printStackTrace();
            return true;
        public Set<QName> getHeaders() {
            return new HashSet<QName>();
        public boolean handleFault(SOAPMessageContext messageContext) {
            return true;
        public void close(MessageContext context) {
    I hope it is clear now...
    Regards,
    Mohamed

  • How to implement OData based BASIC Authentication using HTML, JavaScript for Mobile Apps using Apache Cordova/PhoneGap and datajs-1.1.1.js library

    Hello,
    I have an issue with OData based BASIC authentication for iOS App created using HTML, JavaScript, SAP UI5, OData and Apache Cordova/PhoneGap.
    Please check the post here http://scn.sap.com/thread/3527245
    Request you to kindly reply on the above given link.
    Thanks and Regards,
    Suraj Kumar

    Hello Prathik,
    The code which I am using for OData based BASIC Authentication, for my Mobile App is as below.
       var onSuccess = function(data) {
       alert("We are Through"); //Just to check that the OData request was sucessful
       var onError = function(err) {
       switch(err.response.statusCode) {  
       case 403 : {
       window.alert("Error Code - 403, Service unreachable ");
       break;
       case 401 : {
       window.alert("The credentials are incorrect or missing!");
       break;  
    // dataUserName and dataPassword are the two variables, in which I am storing my Username and Password, respectively.
       var connectionRequest = {
       requestUri: "ODATA SERVICE URL GOES HERE/",
       headers: { Authorization : 'Basic ' + Base64.encode(dataUsername + ":" + dataPassword) },
       method: "POST"
       OData.request( connectionRequest, onSuccess, onError);

  • Question About what Azure Services I should be using for mobile app with website.

    Hello,
    I am wondering what Azure service would be best for my new application. I need to have an SQL database that I can connect to and modify from both a website and a mobile app preferably WP8 and Android. I was not really understanding whether I would need a
    mobile service or normal SQL database. Which should I use or am I completely off track?
    Thanks,
    Matthias

    Mobile Services uses SQL Database, nothing special on that SQL Database, its just like any other  "normal" SQL Database.
    Mobile Services provides "back-end services" that simplifies accessing SQL Database, Notification services, authentication, etc...
    Let's assume you don't use Mobile Services, to use SQL Database, you would need your app (both mobile and web) to connect to the database. In practice, you will not want to expose your SQL database directly, so you'd end-up writing some kind of a "facade"
    that your app will access instead of directly connecting to the database.
    Instead of writing that "facade", Mobile services provides that for you (you still have to write code though, but less than what you need to write if you're rolling your own).
    Both your web app and mobile apps can share the same SQL database (pay attention to the mobile service schema).
    To help you decide, ask yourself what other features will your mobile app require? Authentication? Notification? etc... are you prepared to write those on your own or use various libraries instead of one?

  • Loaded Outlook mobile app and now I can't send emails through Mail ("Unable to verify account information" error message).  Can't use the Authenticator number, either.  Help!

    I installed the Outlook mobile app on my iPhone using my Hotmail email address and the authenticator code.  It works, but I can no longer send emails from Mail.  I have not forgotten the password, so I don't know why I am unable to send messages from my mail email account (linked to Hotmail) in Mail.  Should I delete the Outlook mobile app?  Please help!  Thanks.

    I installed the Outlook mobile app on my iPhone using my Hotmail email address and the authenticator code.  It works, but I can no longer send emails from Mail.  I have not forgotten the password, so I don't know why I am unable to send messages from my mail email account (linked to Hotmail) in Mail.  Should I delete the Outlook mobile app?  Please help!  Thanks.

  • Mobile app based on web service data control and VO with VC runtime error

    Hi,
    Jdev 11.1.2.3.0 + mobile extension.
    Windows 7, 64 bit.
    Reproduceable with Android emulator but not on iOS and iOS emulator.
    I can not test on real Android device because we do not have it in our office.
    So I don't know wether this issue is related to android emulator only or to android in general.
    Also not reproduceable by Oracle support.
    I have a VO "Employees" with a VC "department_id = :departmentIdVariable" and exposed the find method for this VO via service interface in AM.
    (see demo video from https://blogs.oracle.com/shay/entry/developing_with_oracle_adf_mobile?utm_source=dlvr.it&utm_medium=facebook).
    In a ADF mobile app I create a parameter form and amx:listView like demoed in the mentioned video.
    Whenever I test this app on android emulator I get the error below.
    Exact the same page used in a second feature works fine.
    I found out that the problem only occures on the first attept (this means when I open the page on the second feature first then this will fail and the subsequent call of the first page will be successfull).
    The problem does not occure when the web service data control does not contain a method based on VC with bind variable.
    [SEVERE - oracle.adfmf.framework - AmxBindingContext - loadDataControlById] Unable to load Data Control testDataControl due to following error: ERROR [oracle.adfmf.framework.exception.AdfException] - Unable to load definition for testDataControl.Types.findEmployeesView1DepartmentIdCriteria.findCriteria.childFindCriteria.findAttribute.
    ERROR [oracle.adfmf.framework.exception.AdfException] - Unable to load definition for testDataControl.Types.findEmployeesView1DepartmentIdCriteria.findCriteria.childFindCriteria.findAttribute
    at oracle.adfmf.metadata.bean.transform.TransformCacheProvider.fetch(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
    at oracle.adfmf.cache.SimpleCache.get(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;(Compiled Method)(Unknown Source)
    at oracle.adfmf.metadata.cache.MetaDataCache.getByLocation(Ljava/lang/String;)Loracle/adfmf/util/XmlAnyDefinition;(Unknown Source)
    at oracle.adfmf.metadata.cache.MetaDataFrameworkManager.getJavaBeanDefinitionByName(Ljava/lang/String;)Loracle/adfmf/metadata/bean/JavaBeanDefinition;(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.registerAccessorAttribute()V(Unknown Source)
    at oracle.adfmf.dc.JavaBeanObject.registerJavaBean(Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;Ljava/lang/String;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.registerAccessorAttribute()V(Unknown Source)
    at oracle.adfmf.dc.JavaBeanObject.registerJavaBean(Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;Ljava/lang/String;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.registerAccessorAttribute()V(Unknown Source)
    at oracle.adfmf.dc.JavaBeanObject.registerJavaBean(Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;Ljava/lang/String;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.registerAccessorAttribute()V(Unknown Source)
    at oracle.adfmf.dc.JavaBeanObject.registerJavaBean(Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.ws.WebServiceObject.registerBean(Loracle/adfmf/metadata/dcx/AdapterDataControlDefinition;Loracle/adfmf/metadata/dcx/soap/SoapDefinitionDefinition;)V(Unknown Source)
    at oracle.adfinternal.model.adapter.webservice.WSDefinition.loadDataControlDefinition(Loracle/adfmf/metadata/dcx/AdapterDataControlDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.GenericJavaBeanDataControlAdapter.loadDataControl(Ljava/lang/String;)V(Unknown Source)
    at oracle.adfmf.dc.ws.WebServiceDataControlAdapter.setDataProvider(Ljava/lang/Object;)V(Unknown Source)
    at oracle.adf.model.adapter.DataControlFactoryImpl.createDataControl(Loracle/adfmf/bindings/dbf/AmxBindingContext;Loracle/adfmf/util/XmlAnyDefinition;Ljava/util/Map;)Loracle/adfmf/bindings/DataControl;(Unknown Source)
    Does anyone has seen the above error ?
    I have recreated the model and mobile app more than 20 times, re-installed Jdev, re-created Jdev settings (integrated WLS & Co), ran the web services on a different machine.
    On my site this problem is 100% reproduceable with android emulator.
    regards
    Peter

    Hi, Peter, this could be an issue with proxy server setting. Are you behind a firewall when you test this?
    iOS simulator would use Mac's proxy setting. Android Emulator has its own proxy setup - it's a bit complicated to get to and varies based on the Android emulator you are using. For 4.1 emulator (you should always use 4.x or above emulators), you would need to go into the emulator itself, and go to settings - Wireless & Networks - click More... - Mobile Networks - Access Point Names. You should see an Access point used by the emulator to simulate network connection. Mine says "T-Mobile US". You click on it, and then you can select the proxy attribute and set it according to your office's settings.
    Hope that resolves the issue.
    Thanks,
    Joe Huang

  • Authentication Mechanism for Our Mobile App

    Hi All,
    We developed a mobile app with SAP SRM System as backend.
    Java Adapters is used in the front end to access SAP Backend in the form of Web Service URL, which is nothing but FM in the form of URL.
    The FM in our application, takes only the User ID, who logs in as the input and returns the data of the user as expected.
    When the Web-Service is called, it is accessing the SAP SRM backend DIRECTLY.
    So, we have to give SAP Backend Credentials to the WS to return the output.
    Is there anyway by which, the user can login the mobile app with his user ID and some other password set by him in the front end login application (which can also have "Forgot Password?") BUT NOT SAP Backend password, as the user id will be consumed in the back-end by the Web-Services.  
    Hope I am clear:)
    Thanks & Regards,
    Pavan

    Cool. Thanks.
    >>> thsundel<[email protected]> 6/18/2012 8:06 AM >>>
    seschenburg;2201882 Wrote:
    > See subject. :-)
    >
    > We just installed Novell Messenger 2.2 and I've been asked about mobile
    > app availability. Mostly for internal users on our internal wi-fi
    > segment, but if there's an external option please share that also. I'll
    > probably get asked about that next.
    >
    > Thanks.
    iPhone and Android mobile apps should be available in mid 2012
    according to the roadmap: http://www.novell.com/php5/groupwise/ (ignore
    the video)
    Thomas
    thsundel
    thsundel's Profile: http://forums.novell.com/member.php?userid=128
    View this thread: http://forums.novell.com/showthread.php?t=456946

  • Getting ioerrorevent type ioerror during webservice call from mobile app

    Hi,
    I building a mobile employee directory and for that I am using Flash Builder 4.6/AIR 3.1.0. I am using RESTful web service to get XML results and to display on my mobile application. I am getting the same below error when accessing the webservice from mobile app (Android - Galaxy Tab 7 inch).
    Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error # 2032"] URL: http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co">http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co ntext-root/jersey/restlabhttp://adfdevp.alshaya.com:7013/RESTEmployeeDetails-http://adfdevp.alshaya.com:7013/RESTEm ployeeDetails-EmployeeDetails-co ntext-root/jersey/restlabEmployeeDetails-context-root/jersey/restlab
    The same code is working in Flash Builder 4.6. I have checked Network Monitor to "Disabled" before deploying to mobile. What am i doing wrong here? I am pasting my code below-
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
       xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView" xmlns:dao="dao.*"
       xmlns:mx="library://ns.adobe.com/flex/mx">
    <fx:Script>
       <![CDATA[
        import mx.collections.ArrayCollection;
        import mx.collections.IList;
        import mx.collections.XMLListCollection;
        import mx.events.FlexEvent;
        import mx.rpc.events.FaultEvent;
        import mx.rpc.events.ResultEvent;
        import mx.rpc.xml.SimpleXMLDecoder;
        import mx.utils.ArrayUtil;
        import valueObjects.EmployeeDetail; 
        [Bindable] 
        private var myXml:XML;
        [Bindable]
        public var resultCollection:IList;
        public function handleXml(event:ResultEvent):void
         var xmlListCollection:XMLListCollection = new XMLListCollection(event.result.children());
         var xmlListCollectionValues:XMLListCollection = new XMLListCollection(event.result.emp.children());
         var resultArray:Array = xmlListCollection.toArray();
         var resultArrayValues:Array = xmlListCollectionValues.toArray();
         var objEmployeeDetails:EmployeeDetail;
         var resultCollection:ArrayCollection = new ArrayCollection();
         var j:int = 0;
         for(var i:int=0;i<resultArray.length;i++){
          objEmployeeDetails = new EmployeeDetail();
          objEmployeeDetails.brand = resultArrayValues[j];
          objEmployeeDetails.division = resultArrayValues[j+1];
          objEmployeeDetails.email = resultArrayValues[j+2];
          objEmployeeDetails.employee_name = resultArrayValues[j+3];
          objEmployeeDetails.employee_number = resultArrayValues[j+4];
          objEmployeeDetails.grade = resultArrayValues[j+5];
          objEmployeeDetails.mobile = resultArrayValues[j+6];
          objEmployeeDetails.position = resultArrayValues[j+7];
          j = j + 8;
          resultCollection.addItem(objEmployeeDetails);
         list.dataProvider = resultCollection;
         //return resultCollection;
        public function handleFault(event:FaultEvent):void
         //Alert.show(event.fault.faultDetail, "Error");              
        protected function sesrchEmployee():void
         xmlRpc.send();
       ]]>
    </fx:Script>
    <fx:Declarations>
       <dao:EmployeeDAO id="srv"/>
       <mx:HTTPService id="xmlRpc" 
           url="http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co ntext-root/jersey/restlab"
           result="handleXml(event)" 
           fault="handleFault(event)" 
           resultFormat="e4x" showBusyCursor="true">
        <mx:request xmlns="">
         <data>{key.text}</data>
         <data>{key1.text}</data>
        </mx:request>
       </mx:HTTPService>
    </fx:Declarations>
    <s:navigationContent/>
    <s:titleContent>
       <s:VGroup width="100%">
       <s:HGroup width="100%">
        <s:Label top="40" paddingTop="10" paddingRight="13" height="29" text="Employee Name:"/>
        <s:TextInput id="key" width="559"/> 
       </s:HGroup> 
       <s:HGroup width="100%">
        <s:Label height="30" paddingTop="10" text="Employee Number:"/>
        <s:TextInput id="key1" width="100%"/> 
       </s:HGroup> 
       </s:VGroup> 
    </s:titleContent>
    <s:actionContent>
       <s:Button icon="@Embed('assets/search.png')" click="sesrchEmployee()"/>  
    </s:actionContent> 
    <s:List id="list" top="0" bottom="0" left="0" right="0"  
        change="navigator.pushView(EmployeeDetails, list.selectedItem)">
       <s:itemRenderer>
        <fx:Component>
         <s:IconItemRenderer label="{data.employee_name}"
              messageField="position">
         </s:IconItemRenderer>
        </fx:Component>
       </s:itemRenderer>
    </s:List>
    </s:View>
    Please help me to resolve this issue as soon as possible. Appreciate your quick response in this regard.
    Thanks,
    Murtaza Ghodawala
    Mobile: +965 97180549
    [email protected]

    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.

  • App Service iOS "get started" demo client

    Is there a version of the iOS "get started" demo client app written in Swift?
    http://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-dotnet-backend-ios-get-started-preview/#create-a-new-ios-app
    It seems the only choice is Objective-C.
    Thank you!
    Robert 

    Thank you for getting back to me so quickly!
    When I signed in to Event Viewer, I got an error message that my event services weren't running, so I downloaded this fix from Microsoft: http://support.microsoft.com/kb/2478117
    That started my Event Services and allowed me to sign into Event Viewer and clear my logs. They are all clear now.
    Then I repaired my version of 11G and rebooted, but am still unable to connect to the database or the Get Started URL.
    Here are my statuses:
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date 16-NOV-2012 16:31:35
    Uptime 0 days 0 hr. 2 min. 30 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\a
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\CONNECTLAP28\liste
    ner\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=CONNECTLAP28.awi.state.fl.us)(PORT=1
    521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL> exit
    sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production on Fri Nov 16 16:34:42 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL>
    At least it's a different error message now! Any ideas?
    Edited by: 971714 on Nov 16, 2012 1:40 PM
    Edited by: 971714 on Nov 16, 2012 1:41 PM
    Edited by: 971714 on Nov 16, 2012 1:41 PM

  • Removing Birthday Notifications on iPhone Mobile App

    PLEASE PLEASE provide an option to disable birthday notifications on the mobile app for iPhone. It is a terrible UX to not be able to remove these and get constant messages for birthdays.  What's worse is that even after you delete the unwelcomed notifications, they will reappear all day until the birthday has passed. I mean what is the point of being able to disable them on your desktop/laptop if you can't do it on your mobile device, too?

    This is ridiculous. It seems to be impossible to turn this 'feature' off on iOS devices.  That is annoying. But what is worse... I put in my date of birth on the Skype settings page the birthday becomes 'Public' by default, with no option to make it private.  I dont' want to broadcast my birthday as it often forms part of other sites' ID authentication. I have been using this service for nearly ten years.  If this is the sort  disregard for privacy that will increase under Microsoft's ownership then I'll be off somewhere else. Please fix this issue.  It is unaccptable that you continue to ignore this forum on your own site.  

  • MFA Server - User portal and mobile app web server should be installed where?

    Hi. We are in the process of testing the Multi-Factor Auth server and are currently using it for two-factor authentication to RDS for a couple of users. At the moment we are only using the phone call/text options but I'd like to get the mobile app portion
    working to test.  Also still need to implement the user self-service portal for testing.
    Currently I have a vm that was dedicated to MFA where the Multi-Factor Authentication Server software was installed.  Now though I'm a bit confused as to if its safe to install the user portal and mobile app web service portion on this same machine
    or if they should go on a different server(s)?  Currently the box is internal but I'm guessing if it has also act as the web server we would stick it behind the TMG for external inbound access.  Is external access to the primary MFA server ok? 
    What's the best practice for separation of the MFA roles; or is there none and its fine to just put it altogether? 
    Thanks.

    Hello Col. Forbin,
    Thanks for posting here!
    You have a dedicated MFA server and if you install User Portal on the same server as the MFA Server, it uses RPC to communicate with the MultiFactorAuth service locally.
    If the User Portal is installed on a different server, it must connect via the Web Service SDK. You can use either a username/password of a service account that is a member of the PhoneFactor
    Admins security group, or you can configure client certificates. If using the username/password, you can encrypt the appSettings section of the web.config file if desired.
    Under Inetpub\wwwroot\MultiFactorAuth when you edit the web.config file you need to make sure these values are set.
    USE_WEB_SERVICE_SDK:
    true
    WEB_SERVICE_SDK_AUTHENTICATION_USERNAME: domain\user
    WEB_SERVICE_SDK_AUTHENTICATION_PASSWORD:
    password
    OVERRIDE_PHONE_APP_WEB_SERVICE_URL: 
    You might want to refer this thread link:
    https://social.msdn.microsoft.com/Forums/en-US/ad1f6fc1-ab3f-482d-a435-e4fd6665f640/mfa-user-portal-issue?forum=windowsazureactiveauthentication
    Additional reference links:
    https://technet.microsoft.com/en-us/library/dn376347.aspx#multifactor
    https://pfweb.phonefactor.net/install/6.2.1.16387/release_notes.txt
    Let me know if you have any further questions!
    Regards,
    Sadiqh Ahmed

  • SAP EHS Safety Issue mobile app on SMP 3.0

    Hi,
    I'm on the process of installing and configuring the SAP EHS Safety Issue mobile app on SMP 3.0. However, the current Administrator guide hasn't been updated since SMP 2.3.
    Has anyone attempted to install this app on SMP 3.0? Any idea how this should be configured? Should it use the SAP Management Console or the Gateway Management Cockpit?
    Also, does anyone has previous experience working with this app? How can I test the OData services without going through SMP?
    Kind regards,
    Omar

    For anyone interested, here's some details:
    The HTTP method implemented by the service is: http://<SAPserver>:8000/sap/opu/odata/EHSMM01/LWM_SAFETY_OBSERVAT
    When you configure the app, you need to set this up as your backend endpoint. You can also set this up as your HTTP authentication for your security profile.
    You don't need to use the Gateway Management Cockpit. Just create an application with app ID:
    com.sap.bsuite.erp.ehsm.safetyobserver
    and use the above information for the backend and security profiles.
    That's all!

Maybe you are looking for

  • Data in server is not updated

    i have modify the data STREET to "ANG MO KIO" http://i192.photobucket.com/albums/z231/yzme/d1.gif but the data in server still "HEAVEN ST" http://i192.photobucket.com/albums/z231/yzme/d2.gif I am using Time2Way T01, if it is when i sync the data will

  • Why my phone's Android apps not work with normal ph data connection​s???

    After 10.3.1.1779 update my phone Q5 had facing lots prblms... at first I can't download anything from amazon app store with normal deta connection, 2nd android apps not work with normal mobile deta connection its always need wifi, 3rd mobile search

  • How to set custom master page for social/sites.aspx in sharepoint 2013

    How to set custom master page for social/sites.aspx in sharepoint 2013.? File path is C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\SocialDataStore\SocialDataStoreList\sites.aspx Thanks in advance

  • BT MX1000 - Lag when scrolling in MSWord

    Does anybody experience this problem? There is a 5-8 second delays when I am scrolling between pages using the BT mouse. When I use the two touch scroll with the Macbook Pro mouse, i don't seem to have this problem. Any suggestions? Thanks.

  • Function module to get Pricing conditions of billing document

    Hi All, Please help me getting the pricing condition values for a billing document.  I got values from KONV table against perticular Condition type. but i need to get the values against step number maintained in Conditions for my billing item. is the