Is it possible to start JSON Service specific to the user session?

Is it possible to make JSON service to start different sessions of BusinessLogic Code in short - Is it possible to start JSON Service specific to the user session?
Here is what I'm trying to do. I have a created a Configuration Model which contains the business logic. I want to start this model as a JSON service, and the user will interact with this model via mobile App developed using ADF Mobile. The JSON sevice has two calls
/startConfiguration/{model_id}
/getConfiguration
Both of them return the string that indicates the BusinessModel being started by JSON service.
When invoked " /startConfiguration/{model_id} " from two different browsers (Chrome - started first, FF - started second) for the same model_id (simulating the scenario of two user accessing same model), it did returned two different 'configuration' object strings, indicating that each call started its own Configuration.
However, when I validated that the session started is user specific by calling "/getConfiguration"  it return same 'configuration object string - which is the second call from FF. Thus indicating that I cannot have JSON service tied individually to each user session. 
My goal is to have JSON service specific to each user session. Is this possible?

Hi,
what is a JSON service? JSON is an object notation used with REST services. So I assume you have a REST services that returns JSON and you now want to obtain the same identifier for a specific input string? REST services - like all Web Services - are stateless and if you want to associate a request with a specific context then you need to pass a token or similar with the request so the context can be re-established. In your case I would have a look at the code mapped to startConfiguration/{model_id} to verify if the method checks for an existing configuration with the provided ID. Chances are that its the code returning the wrong ID. In general I would go with a token approach.
Frank

Similar Messages

  • I would like to know whether its possible to start running a vi automatically without user interaction after a system has booted up and launched labview?

    I would like to know whether its possible to start running a particular vi automatically without user interaction after a system has booted up and launched labview?

    > I would like to know whether its possible to start running a vi
    > automatically without user interaction after a system has booted up
    > and launched labview?
    >
    > I would like to know whether its possible to start running a
    > particular vi automatically without user interaction after a system
    > has booted up and launched labview?
    >
    LV doesn't have any sort of Startup folder as we are a little concerned
    about the security issues this brings about. You can specify VIs on the
    command line for LV to open. And VIs can be set to run when opened.
    Combining these features, you wind up using the system's Startup folder,
    placing either a batch file or a shortcut to LV with the command line
    options added to list out the VIs, and finally, set the VI properties
    so
    that the VIs run when opened.
    Greg McKaskle

  • Is it possible to Install Oracle Apps without having the user in a group db

    Can we Install oracle 11i with the user oracle:dba for db tier and user aapl:aapl for application tier.
    Is it possible to Install Oracle Apps without having the user in a group dba

    Can we Install oracle 11i with the user oracle:dba for db tier and user aapl:aapl for application tier.
    Is it possible to Install Oracle Apps without having the user in a group dbaI would say no, as the dba group is required to do the database administration tasks.
    What is the point of not using the dba group? Any specific reason?
    Thanks,
    Hussein

  • How to include in the sub-menu a table specifies of the user - UDO

    hi, forum  
    how to include in the sub-menu a table specifies of the user 
    I created a table '@ IA_RELAT' in User-Defined Obejcts but I don't know as including in the sub-menu that I created  
    it follows my code
      Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
            If (pVal.MenuUID = "MySubMenu") And (pVal.BeforeAction = False) Then
                Try
                           <u201DmyTableName->@IA_RELATu201D>
               Catch
                    SBO_Application.MessageBox("The Form already exists")
                End Try
            End If
    thank you
        End Sub

    Hi David
    Excuse me but I didn't find in MenuCreationParams Objects how to do this call of the table '@ IA_RELAT' created in User-Defined Obejcts 
    It follows my code 
    in AddMenuItems I set up the Menu and Submenu 
    in SBO_Application_MenuEvent it is where I am having difficulties of showing the table '@ IA_RELAT' created in User-Defined Obejcts 
    Thank you for any help
        Private Sub AddMenuItems()
            Dim oCreationPackage As SAPbouiCOM.MenuCreationParams
            oCreationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)
            oMenuItem = SBO_Application.Menus.Item("43520") 'moudles'
            Dim sPath As String
            sPath = Application.StartupPath
            sPath = sPath.Remove(sPath.Length - 3, 3)
            oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_POPUP
            oCreationPackage.UniqueID = "MyMenu01"
            oCreationPackage.String = "Standard cost"
            oCreationPackage.Enabled = True
            oCreationPackage.Image = sPath & "UI.bmp"
            oCreationPackage.Position = 15
            oMenus = oMenuItem.SubMenus
            Try ' If the manu already exists this code will fail
                oMenus.AddEx(oCreationPackage)
                '// Get the menu collection of the newly added pop-up item
                oMenuItem = SBO_Application.Menus.Item("MyMenu01")
                oMenus = oMenuItem.SubMenus
                '// Create s sub menu
                oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING
                oCreationPackage.UniqueID = "MySubMenu"
                oCreationPackage.String = "Auxiliary Table"
                oMenus.AddEx(oCreationPackage)
            Catch er As Exception ' Menu already exists
                SBO_Application.MessageBox("Menu Already Exists")
            End Try
        End Sub
    Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
    If (pVal.MenuUID = "MySubMenu") And (pVal.BeforeAction = False) Then
        Try
    SBO_Application.ActivateMenuItem(menus.Item(1).UID.IndexOf("@IA_RELAT"))
        Catch
                    SBO_Application.MessageBox("error")
        End Try
    End If
    End Sub

  • Failed to start worker process: Logon failure: the user has not been granted the requested logon type at this computer. (0x80070569

    We just rebuilt our machine with server 2012, and it was working flawlessly and then randomly it started giving me this error if i would try to start up a machine. At first this was just an annoyance but now it is worrying me greatly. I have tried
    everything from logging on as the domain admin account to the actual server administrator account. Nothing seems to start these machines up, and I need them to start.
    'Computer1' failed to start worker process: Logon failure: the user has not been granted the requested logon type at this computer. (0x80070569). 

    Hi,
    As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as 'Answered' as the previous steps should be helpful for many similar scenarios.
    If the issue still persists and you want to return to this question, please reply this post directly so we will be notified to follow it up. You can also choose to unmark the answer as you wish.
    In addition, we'd love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems.
    Thanks!
    Lawrence
    TechNet Community Support

  • Error message: "Service 'Apple Mobile Device' (Apple Mobile Device) failed to start.  Verify that you have sufficient privileges to start system services."  during the latest iTunes download.

    While downloading the newest iTunes update I received several errors. The latest one being this: "Service 'Apple Mobile Device' (Apple Mobile Device) failed to start.  Verify that you have sufficient privileges to start system services."  These are the steps that I have already taken: un install iTunes (several times), reinstall iTunes (several times), move the .dil files to my desktop (although I have no idea what to do with them now)... I am still getting the same error while trying to download 1. the service error and 2. iTunes failing to open because it isn't properly installed. Can some one PLEASE be so kind as to help me with VERY simple step by step directions. I'm usually more computer savvy than the average user, but I'm feeling computer illiterate at the moment. I've been trying to work though this for 2 days now... sigh. Thank you in advance!

    I found the answer to my question here: https://discussions.apple.com/thread/5572755?tstart=0

  • Is it possible to start a remote server from the IDE?

    I would want to know if it is possible to start a domain that makes reference to a remote server (from the IDE). On this way I could start and stop the server without loading so much the machine that I use to develop my portal applications. If it is possible how I can do it?

    There is no personal Information on a crash Report unless you put something personally identifiable in the comment field. For example, here is a crash report I had on my machine awhile back: https://crash-stats.mozilla.com/report/index/bp-1de8924f-7068-4702-a410-89c492121220.
    You can go to about:crashes in your address bar, and click on the report to view the info there to satisfy yourself that there is nothing in the report. But submitting crash reports is very useful because it gives us the ability to view what crashes are plaguing our users and what we need to fix.

  • AX Dynamics 2012 Reporting Service Extension Error - The user or gorup name is not recognized

    Hi,
    I am currently installing AX Dynamics 2012 Reporting Service Extension on one of our machine. But this always fails during the installation with this error:
    DynamicsSetupLog
    Our current domain is MWSerp
    An error occurred while adding users AxERP\qaproxy, AxERP\qaaos, MWSerp\qaproxy to the SQL Server Reporting Services DynamicsAXBrowser role in the folder dynamicsAX. The error is: The user or group name AxERP\qaproxy is not recognized.
    The database was restored from our old Ax Deployment on a different domain - AxERP if you noticed on the error, 2 domains are present: AxERP (old domain) and MWSerp (our existing).
    I find it peculiar that it is still adding old accounts from the old domain which is not existent. Tried looking for it on the registry or on the AX Dynamics User account but there are no entries on AxERP\qaaos and AxERP\qaproxy on it.
    Do you have any clue on where AX Installer is picking up those information which needs to be added on the DynamicsAXBrowser? Tried stopping /starting the AOS Service and generating WCF. Also tried looking on registry but couldnt find it. How can I bypass
    it so the Extension will be installed successfully. I also tried not deploying the reports, just the Extension only.
    Regards,

    I'd ask them here.
    http://community.dynamics.com/product/ax/f/33.aspx
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • BW Employee Hierarchy report to be specific for the users.

    Hi *,
    My BW system contains the data from HR. There is a report which displays the list of all employees in a strict hierarchial manner with the topmost position being assigned to the highest designation.
    Now the change to this report should be done in such a way that the user who logs in should be able to see only his/her group. That is all the employees who report to him should be displayed with this user at the top.
    Is it possible ? I can create a new report also if required.
    Please suggest so that I can assign points.
    Regards,
    Srinivas

    Hi Srinivas,
    First u need to make that Info Object as Auth Relevant.
    InfoObject > BusinessExplorer tab > Auth Relevant
    In RSSM u need to generate the Auth Object for that.
    Authorization Object
    Regards,
    Ram.

  • How to assign the default service package to the user in the command line ?

    when i create use use the following command ,which service package is assigned to the user ,or in where can i set the default service package ,thanks for you!
    /opt/SUNWcomm/bin/commadmin user create -D admin -F John -l jdoe -L Doe -n jnpc.com.cn -p 80 -w admin123 -W demo -X v120e.jnpc.com.cn -S mail,cal -E [email protected] -H v120e.jnpc.com.cn -k legacy

    When I create a user via command-line, I get no service package. I don't see any way to assign such on creation via command-line.
    Some of what might be in a service package can be set as default falues, through configutil.
    quota is this kind of thing.

  • Is it possible to setup a different language for the user account?

    Hi,
    My server is in English but many of my users will use French.
    Can I setup in WGM a different language (international) for the user?

    The settings are changed in at least three locations for a user account. Changes are made to ~/Library/Preferences/.GlobalPreferences, ~/Library/Preferences/com.apple.HIToolBox.plist, and ~/Library/Preferences/ByHost/com.apple.HIToolBox.<MACAddress>.plist. There are a lot of keys in there that get changed and might vary between 10.4.x and 10.5.x -if you have a mixed OS environment. So while you you may be able to import the first two into WGM, the last one might be the most trouble as it's machine specific.
    If you gave access to the 'International' System Prefpane, it wouldn't affect anything but the student account since their prefs are saved to a network location or to their local PHD account. Changes would revert to whatever the system default preferences were on logout. Those would be the prefs in /Library/Preferences.
    The 'International' System Prefpane has many listings for the other language choices that are installed on the system which could be a source of confusion for student users. Removing those resources, using certain tools like MonoLingual, can make certain software behave badly or even make the system unusable. Use with caution.

  • Please help, my Mac book pro,  starts but could not access the users, out just keeps spinning until it does a circle with a line across

    I was doing a check up with onyx and all of the sudden the computer got stucked. I turned it off and back on and nOw it starts but access the users and Just spins.  After a while,  It just shows a circle with a line across

    It says suid file system library cores has been modified and will not be repaired,  what can i do?

  • How do I get sufficient privileges to start system services specifically Apple Mobile Device?

    I can't get itunes 10.5 to download this is the most common error that I seem to get any help you can give would be greatly appreciated

    Log into the computer as an Administrator, then download and install iTunes.
    If you can get it to download with your current Windows account, you should also be able to right-click on the itunes.exe file and select "Run as Administrator".

  • Is possible to start my program when initiating the cellular??

    Hi,
    Is possible to create a autorun program for cellular?
    Please help-me.
    Antonio Carlos

    Has been asked several times before, use the search!

  • How can i restrict the query specific to the user??

    Hi all,
    I have a query used by multi users; I wanted to restrict the users how can I do that??
    Regards
    Kiran Kumar

    Hi,
    check this links
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/restrict-query-to-user-1453172
    Restrict Query on the logged User
    regards,
    shikha

Maybe you are looking for