How to provide inferred relationship as an input in the SOAP UI request.

In a single OPA project, I have two separate requests.
Request 1: All the base INPUTS are provided and an inferred relation is an OUTPUT of the request. The outputs of this request (attributes as well as relationships) is stored in the database. So that it can be retrieved and be used as an Input in some other request.
Request 2: The inferred relation from Request 1 is retrieved from the database and is provided as INPUT and then the respective OUTPUTS should be derived.
But when I try hitting the Request 2 (which uses INFERRED RELATIONSHIP as input) it throws me an Error saying "Inferred relationship cannot be set by the user".
Is there any possible way where we can use the inferred relationship as an input in the request?
Thanks
Snehal

Hi SnehalS,
Two approaches:
1. If you keep your inferred relationship in Request 2 you should also provide the input data; which is what you apparently want to avoid.
2. What I mean is probably best explained in the following example:
Request 1:
INPUT: 5 Persons (the person) with their age (the person's age), in global via the relationship "the person's"
the rulebase identifies the children (age < 18) and adds them to the inferred relationship in global (the identified children)
OUTPUT: the inferred relationship (the children), and all other output data
Change the Request to use "the children" instead of "the identified children"
Request 2: n Persons (the person) with their age (the person's age) in global via the relationship "the children"
the rulebase does its determination
OUTPUT: as defined for request 2
Hope this Helps,
Darko

Similar Messages

  • How to provide authentication to a caller (Axis Web-Services)

    Hi everybody
    im a new bie to web services .So,i donno how to provide a user name and password to the client who is consuming my web service.My web server is Tomcat and soap engine is Axis.
    Kindly provide me a sample prog(if any) or any links which can help me.
    So plz help me as soon as possible.....
    Thanks & Regards
    Aleem

    http://www.w3.org/2002/ws/ <- basics
    http://ws.apache.org/axis2/1_2/adv-userguide.html <- there's a security section
    edit: I think axis2 comes with a lot of samples, you should check those, too.
    regards
    slowfly
    Edited by: slowfly on 09.04.2009 11:38

  • Inferred Relationship examples

    Hi,
    1. I want to understand the use of Inferred relation with a proper example. I want to understand how exactly to write rules using inferred relationship. Please provide with a simple as well as complex use of inferred relationship.. that will help me understand better.
    2. Can we have inferred relationship between any two entities or it is necessary that both the entity be same...
    3. If both entities are different then why use inferred relationship? What is the benefit?How the attributes can be accessed in such a case?
    Please provide an example on this too..
    thanks,
    Rajan

    There are numerous examples and explanations between the documentation, examples which install with the product and on OTN (http://www.oracle.com/technetwork/apps-tech/policy-automation/documentation/index.html). A couple of good starting points are the following topics in the OPM User's Guide (10.4.2): "Define a data model", "Define a relationship" and "Write rules that infer relationships and entities" - it is important to understand the different components of a policy model (also covered in the Oracle University courses on Oracle Policy Modeling).
    To quickly answer a few of your questions:
    - Attributes are associated with an entity not a relationship. Relationships are defined as being between two entities.
    - Inferred relationships can be between any two entities - the entities do not need to be the same.
    - Inferred relationships are used so that relationships can be "inferred" by rules - i.e. if rules dictate when two entities should be related then inferred relationships are necessary.
    For example, determining if a person is considered a member of a household or if a product should be recommended to a person or determining the legal dependents of a person, or determining the preferred replacement products to offer under warranty replacement policies. In other words, there are countless uses and needs for inferred relationships.

  • Web app: How can I make a web app input form post directly to a sub category

    Please, how can I go about this? Some of the ideas coming to my head is to  replace the section I require with the  generated webapp input form code with this:
    <input type="radio" name="CAT_Category" value="{module_category, ID} onclick="javascript: return false;" >2013 /> // Not tested because am not sure of the markup
    Am I on point ? Or is there any other way I can get this done.

    I Trickster, pardon me if am not clear enough. But this is it. I have many BC Categories setup for different web apps. If you use the module {module_categorylist} only. BC will populate all the categories on the BC site, instead of a specific category  relevant to the web app. If it is {module_categorylist, categoryID}, you are telling BC to use the the categories in a specific category.
    When you say that you want to assign a web app item to a sub-category... do you mean the built in BC categories . I want to do this via the web app input form not through the admin.
    Do you have a top-level category that contains all the relevant sub categories that the user could use to classify/categorize the web app item upon submission?  Yea I have a top category that the user could use. It is this top-level category ID, I have used with the categorylist module.
    If you don't want the user to choose the sub-category themselves, how do you plan to derive the sub-category anyway? Thanks again Trickster. You have provided the solution to that with the hidden input field code you shared earlier. The sub-category has been pre setup as usual in BC and the sub-category ID would be used as you instructed in the code. This is intended for another web app that won't require users selecting a category. This is the example you shared:
    <input type="hidden" name="CAT_Category" value="my category ID"/>
    Using my example above I was able to test and have it working (using {module_categorylist} with the SELECT element) on a web app input form and when I submitted the new web app item it was classified in the category I chose. Yes Trickster, it works for me too that way. the web app item was classified perfectly, but if you go to your the web app item submitted at the admin-end, you will discover in that the category the user selected in the front-end is not selected, even though the item was classified
    I have highlighted it here: http://screencast.com/t/dwiXzBFXp
    The option selected  by the user is not captured. It often defaults to the 2012, even when the user selected 2013 and the item has been classified as 2013.
    I hope am more clearer. Thanks for all the effort.

  • How to provide signal lights in ALV output

    Hi Experts,
    i have one requirement. i am developing one object oriented alv report based on standard report(RFREISCN).i have one requirement in the output provide signal lights(RED(for inactive) AND YELLOW(for account assignment locks)) and to provide custom button 'RELEASE' using object oriented ALV class. how to add please provide me solution.
    Thanks,
    Venkat.

    Copy the program and Check your requirements
    Dont' forget to give points please (atlease 2 as the Rule of he SDN Forum)
    *& Report  ZMDEMO_ALV_04
    *&Make an Exception field ( = Traffic lights)
    *&There can be defined a column in the grid for display of traffic lights. This field is of type Char 1, and can contain the following values:
    *&  1 Red
    *&  2 Yellow
    *&  3 Green
    *&The name of the traffic light field is supplied inh the gs_layout-excp_fname used by method set_table_for_first_display.
    report  zmdemo_alv_04.
    tables: sflight.
    type-pools: icon.
    types: begin of ty_sflight.
             include structure sflight.
    types:   traffic_light type c,
            lights LIKE icon_xml_doc,
             lights(4),
             icon type icon-id.
    types: end of ty_sflight.
    G L O B A L   I N T E R N  A L   T A B L E S
       data: t_sflight type standard table of ty_sflight.
    G L O B A L   D A T A
       data: ok_code like sy-ucomm,
             wa_sflight type ty_sflight.
    Declare reference variables to the ALV grid and the container
       data:
         go_grid             type ref to cl_gui_alv_grid,
         go_custom_container type ref to cl_gui_custom_container.
       data:
         t_fcat type lvc_t_fcat,
         wa_layout type lvc_s_layo.
    S T A R T - O F - S E L E C T I O N.
       start-of-selection.
         perform build_fieldcat.
         perform build_layout.
         set screen '100'.
    *&      Module  USER_COMMAND_0100  INPUT
       module user_command_0100 input.
         case ok_code.
           when 'EXIT'.
             leave to screen 0.
         endcase.
       endmodule.                 " USER_COMMAND_0100  INPUT
    *&      Module  STATUS_0100  OUTPUT
       module status_0100 output.
    Create objects
         if go_custom_container is initial.
           create object go_custom_container
             exporting container_name = 'ALV_CONTAINER'.
           create object go_grid
             exporting
               i_parent = go_custom_container.
           perform load_data_into_grid.
         endif.
       endmodule.                 " STATUS_0100  OUTPUT
    *&      Form  load_data_into_grid
       form load_data_into_grid.
          data l_light type c value '1'.
    Read data from table SFLIGHT
         select *
           from sflight
           into table t_sflight.
    Condition placing to the traffic_light Field
    LOOP AT t_sflight INTO wa_sflight.
       wa_sflight-traffic_light = l_light.
       MODIFY t_sflight FROM wa_sflight.
       IF l_light = '3'.
         l_light = '1'.
       ELSE.
         l_light = l_light + 1.
       ENDIF.
    ENDLOOP.
    Setting the Icon based on the traffic_light field value.
    LOOP AT t_sflight INTO wa_sflight.
       CASE wa_sflight-traffic_light.
         WHEN '1'.
           wa_sflight-lights = icon_red_light.
         WHEN '2'.
           wa_sflight-lights = icon_yellow_light.
         WHEN '3'.
           wa_sflight-lights = icon_green_light.
       ENDCASE.
       MODIFY t_sflight FROM wa_sflight.
    ENDLOOP.
    loop at t_sflight into wa_sflight.
      case l_light.
        when '1'.
          wa_sflight-lights = icon_red_light.
        when '2'.
          wa_sflight-lights = icon_yellow_light.
        when '3'.
          wa_sflight-lights = icon_green_light.
      endcase.
      if l_light = '3'.
        l_light = '1'.
      else.
        l_light = l_light + 1.
      endif.
      modify t_sflight from wa_sflight.
    endloop.
    Load data into the grid and display them
    call method go_grid->set_table_for_first_display
      exporting
       I_BUFFER_ACTIVE               =
       I_BYPASSING_BUFFER            =
       I_CONSISTENCY_CHECK           =
       i_structure_name              = 'SFLIGHT'
       IS_VARIANT                    =
       i_save                        = 'A'
       I_DEFAULT                     = 'X'
        is_layout                     = wa_layout
       IS_PRINT                      =
       IT_SPECIAL_GROUPS             =
       IT_TOOLBAR_EXCLUDING          =
       IT_HYPERLINK                  =
       IT_ALV_GRAPHICS               =
       IT_EXCEPT_QINFO               =
       IR_SALV_ADAPTER               =
      changing
        it_outtab                     = t_sflight[]
        it_fieldcatalog               = t_fcat
       IT_SORT                       =
       IT_FILTER                     =
    EXCEPTIONS
       INVALID_PARAMETER_COMBINATION = 1
       PROGRAM_ERROR                 = 2
       TOO_MANY_LINES                = 3
       others                        = 4
       endform.                    " load_data_into_grid
    *&      Form  build_fieldcat
          text
    -->  p1        text
    <--  p2        text
    form build_fieldcat .
    data: w_fcat type lvc_s_fcat.
    define macro_fcat.
      w_fcat-fieldname = &1.
      w_fcat-col_pos = &2.
      w_fcat-coltext = &3.
      append w_fcat to t_fcat.
      clear w_fcat.
    end-of-definition.
    macro_fcat 'CARRID'   1 text-c01 .
    macro_fcat 'CONNID'   2 text-c02 .
    macro_fcat 'FLDATE'   3 text-c03 .
    macro_fcat 'PRICE'    4 text-c04 .
    macro_fcat 'SEATSMAX' 5 text-c05 .
    macro_fcat 'SEATSOCC' 6 text-c06 .
    macro_fcat 'LIGHTS'   7 text-c07 .
    endform.                    " build_fieldcat
    *&      Form  build_layout
          text
    -->  p1        text
    <--  p2        text
    form build_layout .
      wa_layout-cwidth_opt = 'X'.
    wa_layout-excp_fname = 'TRAFFIC_LIGHT'.
    wa_layout-excp_group = '1'.
    endform.                    " build_layout
    Regards
    Manju

  • How to provide text formatting options to user from a text field

    Hi,
    My requirement is - in the interactive form, a comments field needs to be provided where user should be able to enter text with formatting options like
    Headers
    indentations
    bold/italic
    bullet points and numbers
    Once user enters the formatted texts in a text field, data needs to be displayed/printed in the same format. Could you help me on how to provide these formatting options to the user for a particular text field?
    I understand that once I define the text field with format XHTML (with RTF), user formatting can be captured and displayed in the same way. But I am not sure on how to provide the formatting options for the text field.
    Thank you,
    Madhu

    Hi,
    if you select a text field for Rich Text and the press Ctrl + E you'll get a bar for all available text formatting options in Acrobat/Reader.

  • How to make numbers in message text input  fields left aligned?

    Hi Friends
    I have completed one of my task .but getting result right side of the field.
    how to make numbers in message text input  fields left aligned?
    Thanks
    Aravinda

    Hi ,
    Sorry for late replay i am trying this alos not set that page....
    pageContext.forwardImmediatelyToCurrentPage(null, true, null);
    and one more that kff field working is fine for ex display any text pled displayed properly and only problem is not set the value and HrSitKeyFlex6 and HrSitKeyFlex7 fields are perfectly get the values but not pront HrSitKeyFlex8 that only my issue....
    Regards,
    Srini

  • How to take Input from the callers telephone keypad into oracle database

    My client requires to automate a registration task for his customers by telephone. The requirement is the Oracle database should take numeric input from the callers telephone keypad eg 1 or 2 or 3 and the oracle must store this input inside its database and do some required processing with such input and generate a unique numeric id (sequence) and send back this unique numeric ID to the caller who is on hold. Please Note. Is there any electronic device to be installed at the client site to solve the above task eg. any telephone line to be connected to the CPU and etc?
    I completely have zero knowledge. Please can you outline/summarise the instructions how to construct and install to meet my client requirement.
    If this is not possible in Oracle I Can migrate to any database. Please suggest.
    please help me. if you cant help i appretiate if you give me some clues

    You need to start with your telephone system. Normally this situation would involve some sort of PBX or other internal switching equipment. Talk to your vendor. There's likely to be software, etc. available to perform the interaction with the end user.
    It should have programmable "hooks" to interface with various databases. To Oracle it just looks like another program.
    Ken

  • How to provide text editor in dialog program

    i have a requirement to enter upto 300 words in a dialog box how to provide text editor in dialog program

    you can use the custom controls for the same
    check this below link may be useful for you.........
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/755b94ca5911d299af5c9604c10e27/content.htm

  • How to get the values inputted by the user in Classification view of  MM02

    Hello,
    Does anyone know how to get the inputted values in Classification view of MM02/MM01? I tried to use CLAF_CLASSIFICATION_OF_OBJECTS but this gets the values that is currently saved in the tables and not the values that the user recently inputted in the screen.
    Regards,
    Alfred

    hi
    try this...
    How to Display the Batch Characteristics in BOM?

  • TS3280 How can i enable both paired bluetooth and ios keyboard input at the same time?

    How can i enable both paired bluetooth and ios keyboard input at the same time?
    This is needed for the app im working on. Need some user input via keypad as well as scanner input via a paired bluetooth scanner.

    You probably should not be using a keyboard bluetooth profile for a scanner, I am not a developer for apple so do not know the location for you to find out the correct profile you should be using for an input device that is not a keyboard. Sorry,
    I am sure if you navigate the apple developer site you will probaly finmd what you're looking for.
    https://developer.apple.com

  • How to provide hyperlink for a particular field in ALV

    Hi,
      How to provide hyperlink for a particular field in alv report.
    Regards,
    Ramu.

    Yes you can do that. using the fieldcatalog there is an option for that. give HOT_SPOT = 'X'. for the column you want.
    wa_field-hotspot = 'X'.
    REPORT  ztest_alv.
    TYPE-POOLS:slis.
    DATA:it_fieldcat  TYPE  slis_t_fieldcat_alv,
         wa_field LIKE LINE OF it_fieldcat.
    DATA: BEGIN OF it_likp OCCURS 0,
           vbeln TYPE likp-vbeln,
          END OF it_likp.
    DATA: layout TYPE slis_layout_alv.
    wa_field-fieldname = 'VBELN'.
    wa_field-tabname = 'IT_LIKP'.
    wa_field-hotspot = 'X'.
    wa_field-outputlen = 10.
    wa_field-no_zero = 'X'.
    wa_field-seltext_l = 'Sales'.
    APPEND wa_field TO it_fieldcat.
    SELECT vbeln FROM likp
    UP TO 10 ROWS
    INTO TABLE it_likp.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program      = sy-repid
        is_layout               = layout
        i_callback_user_command = 'USER_COMMAND'
        it_fieldcat             = it_fieldcat
      TABLES
        t_outtab                = it_likp
      EXCEPTIONS
        program_error           = 1.
    *&      Form  user_Command
    *       text
    *      -->UCOMM      text
    *      -->SELFIELD   text
    FORM user_command USING ucomm TYPE sy-ucomm
                        selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.
          SET PARAMETER ID 'VL'  FIELD selfield-value.
          CALL TRANSACTION 'VL02N' AND SKIP FIRST SCREEN.
      ENDCASE.
    ENDFORM.                    "user_Command

  • How can I enter data in an input schedule on a member in the EPM Add-On that is not a base member?

    Hello, all,
    how can I enter data in an input schedule on a member in the EPM Add-On that is not a base member?
    E.g. I want to implement a top-down-planning scenario and I have the following hierarchy:
    Europe
         Germany
         France
         UK
         Spain
         Italy
    How can I enter a value on Europe in an input schedule in order to allocate this value afterwards?
    Thanks in advance and best regards
    Gerd

    Gerd,
    It should be something like below -
    EuropeInput
    Europe
         Germany
         France
         UK
         Spain
         Italy
    EuropeInput shall be kept out of hierarchy and should be a base level member. Users will enter the numbers in this member. In your script logic, you will make use of this member to allocate the data in Bas(Europe) i.e. Germany, France, etc.
    Effectively, after allocation the same data will be rolled up to Europe.
    Many top-down planning would use such work-around as BPC doesn't allow writing to parent node.
    Regards,
    Ashish

  • How can I have multiple inputs into the selector terminal of a case structure

    Hi everyone
    I have a question on how to wire multiple inputs in to the selector terminal of a case structure. 
    Currently, I have three switches, each switch determines different case. So if I switch the switch 1 is on, the numeric indicator will show 1. If the switch 2 is on, the numeric indicator will show 2, so on and so forth. However, the selector terminal will not allow me to wire multiply inputs into the case structure, I tried Bundle by Name, Bundle and Array to Cluster, but they did not work. I set the case structure with 3 cases, they are 1, 2 and 3.
    Could someone help me please. I have attach an image and the VI of the work I did so far.
    I have another question, is there a function which can toggle other switches to off when there is a switch has been toggled on.
    Thank you very much
    Tommy
    Attachments:
    Trial - Case Structure.vi ‏7 KB

    Tommy, attached find a cheeseball way of doing this that has given me a LOT of mileage over the years.  IT lends itself nicely to a couple of really good practices that NI recommend, but I have given you the bare-bones to "see under the hood".  
    The recommended practices:
    1. You can make this a nice tight sub-vi where you can put it into a core library of routines that you'll use over the years, even extending the logic to look only for changes, etc.
    2.  If you are thinking about Front Panel design considerations, you'll want to use arrays of controls where possible, as that's a nice neat way of containerizing your switch for both the FP and Block Diagram.
    Have fun.  I have TONS of these types of things, so feel free to PM me if you have any other needs.
    Wes
    Wes Ramm, Cyth UK
    CLD, CPLI
    Attachments:
    Boolean Switch Logic.vi ‏11 KB

  • HT204053 how do i change my icloud email address from the one i already have input?

    how do i change my icloud email address from the one i already have input?

    Hi sparkie,
    You cannot change your iCloud email address. It is an @me.com address, and is associated specifically with that iCloud account. If you want a different @me address assigned, you have to delete the current iCloud account and set up a new one.
    Here is a link with all the support information for iCloud:
    http://www.apple.com/support/icloud/
    Hope this helps!
    Cheers,
    GB

Maybe you are looking for