More than one group in ias-web.xml role-impl?

Hello,
iAS 6.0 SP3 Solaris 8.
According to the ias-web DTD, it possible to map more than one LDAP group
or user to a role; i.e. it should be possible to say something like
<role-mapping>
<role-name>sales</role-name>
<role-impl>
<group>directsales</group>
<group>salesmanagement</group>
</role-impl>
</role-mapping>
When I do this, the 'roles' tab in ksvradmin shows both groups, so that's
promising. However, when I actually try it, only users in the first group
(directsales in the example) have the 'sales' role. Users in the second
(and subsequent) groups do not have the role.
What gives??
Jan.
==============================================================
Jan de Visser Digital Fairway Corp.
tel. (416) 628 7525 [email protected]
<Enter any 12 digit prime to continue>
==============================================================

Hi,
Just check the roles in kregedit. You will find the roles in
SOFTWARE\iPlanet\6.0\J2EE-modules. Please check it. And do th emapping if
neccessary. You need to restart the server after doing role mapping. see if
it helps.
Jan de Visser wrote:
Hello,
iAS 6.0 SP3 Solaris 8.
According to the ias-web DTD, it possible to map more than one LDAP group
or user to a role; i.e. it should be possible to say something like
<role-mapping>
<role-name>sales</role-name>
<role-impl>
<group>directsales</group>
<group>salesmanagement</group>
</role-impl>
</role-mapping>
When I do this, the 'roles' tab in ksvradmin shows both groups, so that's
promising. However, when I actually try it, only users in the first group
(directsales in the example) have the 'sales' role. Users in the second
(and subsequent) groups do not have the role.
What gives??
Jan.
==============================================================
Jan de Visser Digital Fairway Corp.
tel. (416) 628 7525 [email protected]
<Enter any 12 digit prime to continue>
==============================================================--
thanks.
parsu

Similar Messages

  • Auto creation of child requests when parent request has more than one group

    Hi,
    I have created a request dataset which has a child form for AD Group. While raising a request, if I add more than one group, how to process the approval flow. Because I will be having different different approvers for different different groups. Is there any way to create child requests automatically when we submit a request with more than one group? I am using OIM 11.1.1.5.0.
    I know in OIM 11g, whenever user raises request for more than one beneficiary/target-resource then OIM breaks that request into Child Requests. But this is not happening when I add more than one group in the same resource. Do I need to write my own code for DataValidator to split parent request into child requests upon validating child form? If so, is it going to impact the existing feature which is creating child request when parent has more than one user/resource.
    Please let me know.

    No not possible OOTB in current version. Check {thread:id=2318652} for more information.
    -Bikash

  • Having a user in more than one group makes them choose a group at login..

    hello
    osx server 10.5.6
    xserve quad core xeon
    when a user is in more than one group in OD they are made to choose which group they want to log in to when logging in.
    all groups have home folders that are automounted on login under groups->preferences->login->items->add group share point
    and then also under groups->preferences->dock->dock items->documents and folders->add group folders is checked and the group folder is added as well under here.
    when they are in a single group and they log in, their group folder is automatically added to the dock. it's great.
    my question is, how do i have someone in multiple groups have all the group folders show up on the dock? why do they have to choose a group when they log in? it's very constricting.
    any ideas?

    Hi Jakelh, I'd be looking at Tips and Tricks
    especially pages around page 80 seem to come close to what you want.
    Cheers

  • How do I share my contacts with more than one group? I really don't want to have re-type them into a different group. Help!

    How do I share my contacts with more than one group without having to re-type them into each group?

    Without "pretending" to be yourself on the other phone (change settings) there's nothing else you can do.
    iOS devices are meant to be single user and can't view iCloud.com the same way a Mac or PC can do.
    You need to find a desktop or laptop machine (Mac or PC) to log in at iCloud.

  • How to select more than one free characteristics in web report?

    Hi,
    From the performance point of view, I want to select more than one free characteristics to be displayed in WEB report.
    I know in BEx Analyzer, we can do this by right mouse click and choose' query property' from the context menu, all the free characteristics are displayed in the popup window. But in WEB report these free char don't displayed in the 'query property' popup window.
    Could anyone tell me how to implement this in WEB report?
    Eileen

    Hi,
    each free characteristics in the list has two functions beside it, 'drilldown in rows' and 'drilldown in columns', but this functions as select only one free characteristics, each time you select one, the report will be loaded again.
    if I want to select like 10 free characteristics, the report will be refreshed and reloaded 10 times.
    my question is that how can I select these 10 free characteristics once to improve the performance.
    your help will be appreciated. Thanks.
    Eileen

  • More than one ejb in ejb-jar.xml ?

    Can i have more than one ejb in a jar file ??

    Include session and entity beans in your ejb-jar.xml with <session> &
    <entity> tags.
    <enterprise-beans>
    <session>
    </session>
    <entity>
    </entity>
    </enterprise-beans>
    David wrote:
    Can i have more than one ejb in a jar file ??

  • Why can't I display content from more than one domain in my web app?  Is there a workaround?

    I'm trying to display 2 datasources in different views of my web app, an rss from twitter, and an rss from wordpress,  but for some reason dashcode doesn't allow this.  Is there code that can fix this?  A source paramater change code (shown below) is provided in dashcode, but I don't know how to implement this, or if it will even solve the problem.  Can anyone help?
    // Retrieves data source. Sets a query parameter "category" to "Apple"
    var dataSource = dashcode.getDataSource("detailRequest");
    dataSource.setValueForKeyPath("Apple", "parameters.category");

    If you have the Creative Cloud and the Photoshop subscriptions in the same ID, then that's the issue:
    http://www.adobe.com/products/creativecloud/faq.html
    Can I buy more than one membership to an individual offering of Creative Cloud? 
    No, Adobe has moved to identity-based licensing with a technology that will not support multiple same-product licenses, so you can buy only one membership per Adobe ID. If you need two Creative Cloud memberships, you will need to purchase each with a unique Adobe ID. You can also purchase a Creative Cloud for teams membership, which allows you to purchase and manage multiple seats under one account.
    Just talk with Adobe customer's support and they will help you sort it out.
    Cheers,

  • ACL and user with more than one group

    I have a (simple) question, but I coudn't find answer in docs :(
    My problem is:
    I want to have in Tuxedo users, which belong to more than one ACL group. Each
    of this group have some special rights, i.e. group A could execute services K,L,M
    and group B could execute services M,N,O. If my user belongs to A and B group,
    which rights it have? Your rights are sum of rights of group or common part of
    them ? I will be very greatful for link to docs talking about it ....
    Best regards
    Dominik Michniewski

    user3715462 wrote:
    Hi All,
    it's just a question
    we're using R12 12.1.3 db: 11Gr2 on OUL5x64
    is it possible for an oracle user that can have more than one email address?
    i add 2 email addresses in E-MAIL box
    and it did not seem to work.
    Thanks in advance.
    Regards,What email addresses are you referring to? Is this at the OS level or the database/application level? Please elaborate more.
    Thanks,
    Hussein

  • Problem with Query when I try to do more than one group

    Hi Sap Experts,
    Hopefully somebody can suggest a way to make my query work a bit better. I have built a stock warehouse query which prompt for item groupcode
    see below
    SELECT T1.[ItemCode] AS 'Item No.', T1.[ItemName] AS 'Item Description', T1.[BuyUnitMsr] AS 'Purchasing UoM', T1.[AvgPrice] AS 'Item Cost', T2.[OnHand] AS 'In Stock', T2.[OnHand] * T1.[AvgPrice] AS 'On-Hand Qty*Unit Price', T1.[PurFactor1] AS 'Purchasing Factor 1', T2.[OnHand] * T1.[PurFactor1] AS 'On-Hand*Purchase Factor', T2.[WhsCode] AS 'Warehouse Code', T3.[WhsName] AS 'Warehouse Name' FROM  [dbo].[OITB] T0  INNER  JOIN [dbo].[OITM] T1  ON  T1.[ItmsGrpCod] = T0.[ItmsGrpCod]   INNER  JOIN [dbo].[OITW] T2  ON  T2.[ItemCode] = T1.[ItemCode]   INNER  JOIN [dbo].[OWHS] T3  ON  T3.[WhsCode] = T2.[WhsCode]   WHERE (T0.[ItmsGrpNam] >= (N'[%0]' ) ) AND  (T0.[ItmsGrpNam] <= (N'[%1]' ) ) AND  (T2.[OnHand] > (0 ) )  ORDER BY T2.[WhsCode]
    At the moment this is working fine when I select to and from a group with the same ItemCode- however I now would like to to add 2/3 itemgroupcodes to the same query.
    So at the moment if I run this - it promts for the Item Group Code - I enter the to/from itemcode - the query gives me a breakdown of the item group , warehouse location for that item and if there is stock on hand for each location
    However I would like to be able to select 3 distinct Item groups but don't see to be able to when I adjust the query - can you add multiple parameter to add the 3 distinct itemgroup codes
    If any one could suggest a way to alter the query to allow to choose 3/4 distinct groups either using the [%1] selections or simply built into the query that would be great
    thanking you in advance for any suggestions you may have
    Paul

    Hi Gordan,
    I have been playing with the query and the conclusion i have come to is this - this way works selecting one itemgroupcode
    SELECT T1.[ItemCode] AS 'Item No.', T1.[ItemName] AS 'Item Description', T1.[BuyUnitMsr] AS 'Purchasing UoM', T1.[AvgPrice] AS 'Item Cost', T2.[OnHand] AS 'In Stock', T2.[OnHand] * T1.[AvgPrice] AS 'On-Hand Qty*Unit Price', T1.[PurFactor1] AS 'Purchasing Factor 1', T2.[OnHand] * T1.[PurFactor1] AS 'On-Hand*Purchase Factor', T2.[WhsCode] AS 'Warehouse Code', T3.[WhsName] AS 'Warehouse Name' FROM  [dbo].[OITB] T0  INNER  JOIN [dbo].[OITM] T1  ON  T1.[ItmsGrpCod] = T0.[ItmsGrpCod]   INNER  JOIN [dbo].[OITW] T2  ON  T2.[ItemCode] = T1.[ItemCode]   INNER  JOIN [dbo].[OWHS] T3  ON  T3.[WhsCode] = T2.[WhsCode]   WHERE (T2.[OnHand] > (0 ) )  AND  (T1.[ItmsGrpCod] = (N'130' )) 
    This query works by it self and selects the Item Group Code that I need to see.
    However I can't seem to get it to work If I try to add a further group code? see code below
    SELECT T1.[ItemCode] AS 'Item No.', T1.[ItemName] AS 'Item Description', T1.[BuyUnitMsr] AS 'Purchasing UoM', T1.[AvgPrice] AS 'Item Cost', T2.[OnHand] AS 'In Stock', T2.[OnHand] * T1.[AvgPrice] AS 'On-Hand Qty*Unit Price', T1.[PurFactor1] AS 'Purchasing Factor 1', T2.[OnHand] * T1.[PurFactor1] AS 'On-Hand*Purchase Factor', T2.[WhsCode] AS 'Warehouse Code', T3.[WhsName] AS 'Warehouse Name' FROM  [dbo].[OITB] T0  INNER  JOIN [dbo].[OITM] T1  ON  T1.[ItmsGrpCod] = T0.[ItmsGrpCod]   INNER  JOIN [dbo].[OITW] T2  ON  T2.[ItemCode] = T1.[ItemCode]   INNER  JOIN [dbo].[OWHS] T3  ON  T3.[WhsCode] = T2.[WhsCode]   WHERE (T2.[OnHand] > (0 ) )  AND  (T1.[ItmsGrpCod] = (N'130' ))  AND  (T1.[ItmsGrpCod] = (N'135' ))
    It just seems to fail even though I know there is data for both groups - Have i missed something in the code?
    I would like to be able to add 3 further group codes to the query as it will be for a report showing stock on hand once a month in the various locations
    Any suggestion as to who to tweak the addtional groups
    thanks
    Paul

  • More than one ANT Build-Script "build.xml" in a JDev Project?

    Hi,
    were using JDev 10.1.3.3 with our Projects in which i am trying to inject the code coverage tool "Cobertura".
    We want to handle Cobertura through ANT-Targets, so we have to set up an .XML-Buildscript.
    But we already have a Build.xml to cover our deployment needs.
    I don't want to put the cobertura-targets into our Build.xml - would be a mix of purpose to me...
    Instead of having one big .xml, i wanted to have "Build.xml" and "Cobertura.xml", but when generate the latter and put in the ANT-Project it isn't recognized as an ANT-Script, but as an ordinary XML.
    With new-->Ant-->buildfile i can only generate the "Build.xml".
    Is it possible to convert a regular XML into an Ant-Script, so that JDev would recognize them?!
    regards,
    Henning
    Edited by: Haymaker84 on 03.12.2008 03:00

    whoops...
    i was able to generate another buildscript with the standart dialog!

  • More than one parameter in "Run Web Service" automator action?

    Hi,
    any one know how to send to parameters to a web service with the "Run Web Service" automator action?
    i tryed
    {paramA:"foo",paramB:"bar"}
    but didn't work, the service seem to get only the first one
    Thanks a lot
    updated: actually that works, but not {USER:"foo",PASSWORD:"baR"}. it takes the user but not the password. Any idea?
    PowerBook G4   Mac OS X
    (10.4.6)  

    Can you share some specs on the service in question? To send a struct you need to make sure your labels match on the server side. Enclosing them in |pipes| will avoid terminology conflicts. You may also need to specify each struct in its own curly brackets, e.g. {{|USER|:"foo",|PASS|:"bar"}}
    HTH

  • Filter per activity for resources who are included in more than one group

    Have several resources who participates in 3 Groups (Design, Assembly, and testing) Would like to somehow filter or Group in a Way so a report can be viewed only showing the actual work they are doing för the specific Group. I.e. showing their assembly
    work only. etc.
    (All assembly tasks has a taskname which includes "assembly"')
    Kind regards //Anders

    Anders,
    I replied earlier but after reading you post several times I realized that I probably misunderstood what you want. This is what I now understand. You have several resources, each of who may work on various parts of design tasks, assembly tasks, and test
    tasks. For example, let's say your resources are Joe, Bill & Tom. Joe is assigned to a design and test task, Bill is assigned to an assembly and test test task and Tom is assigned to a design task, an assembly task and a test task (Tom is very versatile).
    You would like to see a report showing just the assembly tasks and the amount of work each of the three resources is assigned on those tasks.
    Assuming the above is a correct interpretation, you will need to employ three processes, some VBA, grouping and filtering.
    1. First, designate a custom text field for group identification (e.g. use Task Text1 to enter "design", "assembly", or "test" for each task)
    2. In order to use grouping and filtering effectively,  you will need to translate the Task Text1 information to the Assignment Text1 field. To do that, go to the MVP website at: http://project.mvps.org/faqs.htm, and run the macro in FAQ 37.
    3. Now go to the Task Usage view and set up a group with Text1 as the first group by element and Name as the second group by element. Check the box to group assignments and not tasks. Then select "assignment" for field type of the second element
    (i.e. Name).
    4. Apply the group
    5. To show only the work hours for each resource in a specific group, autofilter on the desired group. Note, if you do not run the macro to populate the Assignment Text1 field with the Task Text1 field, the filter will yield nothing.
    Hope this helps
    John

  • LDAP Connection - users in more than one group

    Hallo.
    I set up an appl. with ldap connection (Novell eDirectory 8 / Novell 6.5).
    Working fine for users in an specified container.
    Using (Based on a pre-configured scheme from the gallery
    ; Show Login Page and Use LDAP Directory Credentials)
    LDAP DN STRING=
    cn=%LDAP_USER%,o=los
    only users in container los can connect,
    Using
    LDAPDN=
    cn=%LDAP_USER%,ou=amt10,o=los
    now menbers of amt10 can connect but no one else
    Is there an hint to get it work recursive ? (like mod_auth_ldap in apache does ?) So all users in any conainer under o=los will able to connect
    I have nearly 1000 Users in ~50 Containers, what sould I do best? What is misconfigured?
    Ralf

    I'm using a nifty little application call iCalPublish. Check it out at http://www.buddy.com/ical/
    sb

  • Script to find users that are a member of more than one of a list of specific groups

    Hi,
    I need to generate a list of users that are members in more than one group, out of a list of specific security groups.  Here's the situation:
    1) We have about 1100 users, all nested under a specific OU called CompanyUsers.  There are sub-OUs under CompanyUsers that users may actually be in.
    2) We have about 75 groups, all directly under a specific OU called AppGroups.  These groups correspond to a user's role within an internal line of business application.  All these groups start with a specific character prefix "xyz", so the group
    name is actually "xyz-approle".
    I want to write a script that tells me if a user from point 1) is a member in more than one group in point 2).  So far, I've come up with a way to enumerate the users to an array:
    $userlist = get-qaduser -searchroot 'dq.ad/dqusers/doral/remote' | select samaccountname |Format-Table -HideTableHeaders
    I also have a way to enumerate all the groups that start with xyz that the user is a member of:
    get-QADMemberOf -identity <username> -name xyz* -Indirect
    I figure I can use the first code line to start a foreach loop that uses the 2nd code line, outputting to CSV format for easy to see manual verification.  But I'm having two problems:
    1) How to get the output to a CSV file in the format <username>,groupa,groupb,etc.
    2) Is there any easier way to do this, say just outputting the users in more than one group?
    Any help/ideas are welcome.
    Thanks in advance!
    John

    Here is a PowerShell script solution. I can't think of way to make this more efficient. You could search for all groups in the specfied OU that start with "xyz", then filter on all users that are members of at least one of these groups. However, I suspect
    that most (if not all) users in the OU are members of at least one such group, and there is no way to filter on users that are members of more than one. This solution returns all users and their direct group memberships, then checks each membership to
    see if it meets the conditions. It outputs the DN of any user that is a member of more than one specfied group:
    # Search CompanyUsers OU.
    strUsersOU = "ou=CompanyUsers,ou=West,dc=MyDomain,dc=com"
    $UsersOU = New-Object System.DirectoryServices.DirectoryEntry $strUsersOU
    # Use the DirectorySearcher class.
    $Searcher = New-Object System.DirectoryServices.DirectorySearcher
    $Searcher.SearchRoot = $UsersOU
    $Searcher.PageSize = 200
    $Searcher.SearchScope = "subtree"
    $Searcher.PropertiesToLoad.Add("distinguishedName") > $Null
    $Searcher.PropertiesToLoad.Add("memberOf") > $Null
    # Filter on all users in the base.
    $Searcher.Filter = "(&(objectCategory=person)(objectClass=user))"
    $Results = $Searcher.FindAll()
    # Enumerate users.
    "Users that are members of more than one specified group:"
    ForEach ($User In $Results)
        $UserDN = $User.properties.Item("distinguishedName")
        $Groups = $User.properties.Item("memberOf")
        # Consider users that are members of at least 2 groups.
        If ($Groups.Count -gt 1)
            # Count number of group memberships.
            $Count = 0
            ForEach ($Group In $Groups)
                # Check if group Common Name starts with the string "xyz".
                If ($Group.StartsWith("cn=xyz"))
                    # Make sure group is in specified OU.
                    If ($Group.Contains(",ou=AppsGroup,"))
                        $Count = $Count +1
                        If ($Count -gt 1)
                            # Output users that are members of more than one specified group.
                            $DN
                            # Break out of the ForEach loop.
                            Break
    Richard Mueller - MVP Directory Services

  • Xml to Oracle (Update more than one row)

    Hi,
    I want to update more than one row in table from .xml file. My xml file is as follows:
    <ROOT>
    <PROFILE PROFILEMASTER_PKEY="54" DB_MSTR_PKEY="2" PROFILE_NAME="Bhushans" DELIMETER="~" PRE_PROCESSOR="1" POST_PROCESSOR="10" PRE_PROCESSOR_TYPE="1" POST_PROCESSOR_TYPE="2" GROUPID="2" />
    <PROFILEDETAILS PROFILEMASTER_PKEY="54" TARGET_SOURCE_TABLE="FM_FEEDVALIDATION_LU" COLUMN_NAME="FEEDVALIDATION_ID" DATA_TYPE="NUMBER" DATA_SIZE="22" START_POSITION="12" END_POSITION="22" COLUMNORDER="1" PROFILEDETAILS_PKEY="399"/>
    <PROFILEDETAILS PROFILEMASTER_PKEY="54" TARGET_SOURCE_TABLE="FM_FEEDVALIDATION_LU" COLUMN_NAME="CHANGE_TYPE" DATA_TYPE="VARCHAR2" DATA_SIZE="1" START_POSITION="12" END_POSITION="144" COLUMNORDER="5" PROFILEDETAILS_PKEY="403"/>
    <OPTIONS PROFILEMASTER_PKEY ="54" LDR_SYNTX_DTLS_PKEY ="19" OPTIONVALUE="@" PROFILE_CFILE_PKEY="337" />
    <OPTIONS PROFILEMASTER_PKEY ="54" LDR_SYNTX_DTLS_PKEY ="19" OPTIONVALUE="~" PROFILE_CFILE_PKEY="336" />
    </ROOT>
    To update according to xml file, I have written following procedure. My procedure updates the table if u r updating 1 row. If you try to update more than 1 row, I mean .xml file contains more than 1 row then my procedure doesn't work. Please help to solve this problem.
    Procedure:
    create or replace procedure fm_prc_xml_dup_up
    as
    f utl_file.file_type;
    s varchar2(2000);
    v varchar2(3000);
    xml XMLType;
    v_pmpk number;
    v_sdtl_pk number;
    chng_typ VARCHAR2(20);
    type r1 is ref cursor;
    rcur r1;
    v1 varchar2(120);
    v2 number;
    begin
    f := utl_file.fopen('CITI', 'S.XML', 'R');
    loop
    utl_file.get_line(f, s);
    v := v || ' ' || s;
    end loop;
    exception
    when no_data_found then
    utl_file.fclose(f);
    xml := xmltype(v);
    SELECT extract(xml, 'ROOT/CHANGE/@CHANGETYPE').getstringval()
    INTO CHNG_TYP
    FROM DUAL;
    UPDATE FM_PROFILEMAST
    set db_mstr_pkey = extract(xml, 'ROOT/PROFILE/@DB_MSTR_PKEY').getnumberval(),
    profile_name = extract(xml, 'ROOT/PROFILE/@PROFILE_NAME').getstringval(),
    file_type = extract(xml, 'ROOT/PROFILE/@FILE_TYPE').getstringval(),
    delimiter = extract(xml, 'ROOT/PROFILE/@DELIMETER').getstringval(),
    pre_processor = extract(xml, 'ROOT/PROFILE/@PRE_PROCESSOR').getstringval(),
    post_processor = extract(xml, 'ROOT/PROFILE/@POST_PROCESSOR').getstringval(),
    pre_processor_type = extract(xml, 'ROOT/PROFILE/@PRE_PROCESSOR_TYPE').getstringval(),
    post_processor_type = extract(xml, 'ROOT/PROFILE/@POST_PROCESSOR_TYPE').getstringval(),
    groupid = extract(xml, 'ROOT/PROFILE/@GROUPID').getstringval(),
    change_type = 'U',
    change_by = chng_typ,
    change_dt = default,
    active_flag = default
    WHERE profilemaster_pkey = extract(xml, 'ROOT/PROFILE/@PROFILEMASTER_PKEY').getnumberval();
    UPDATE FM_PROFILEDET
    SET target_source_table = extract(xml, 'ROOT/PROFILEDETAILS/@TARGET_SOURCE_TABLE').getstringval(),
    column_name = extract(xml, 'ROOT/PROFILEDETAILS/@COLUMN_NAME').getstringval(),
    data_type = extract(xml, 'ROOT/PROFILEDETAILS/@DATA_TYPE').getstringval(),
    data_size = extract(xml, 'ROOT/PROFILEDETAILS/@DATA_SIZE').getnumberval(),
    start_position = extract(xml, 'ROOT/PROFILEDETAILS/@START_POSITION').getnumberval(),
    end_position = extract(xml, 'ROOT/PROFILEDETAILS/@END_POSITION').getnumberval(),
    change_by = chng_typ,
    change_dt = default,
    columnorder = extract(xml, 'ROOT/PROFILEDETAILS/@COLUMNORDER').getstringval(),
    column_format = extract(xml, 'ROOT/PROFILEDETAILS/@COLUMN_FORMAT').getstringval(),
    nullable = extract(xml, 'ROOT/PROFILEDETAILS/@NULLABLE').getstringval(),
    change_type ='U',
    active_flag = default
    WHERE profiledetails_pkey = extract(xml, 'ROOT/PROFILEDETAILS/@PROFILEDETAILS_PKEY').getstringval();
    UPDATE FM_PROFILE_CFILE
    SET profilemaster_pkey = extract(xml, 'ROOT/PROFILE/@PROFILEMASTER_PKEY').getnumberval(),
    ldr_syntx_dtls_pkey = extract(xml, 'ROOT/OPTIONS/@LDR_SYNTX_DTLS_PKEY').getstringval(),
    val = extract(xml, 'ROOT/OPTIONS/@OPTIONVALUE').getstringval(),
    change_by = chng_typ,
    change_dt = default,
    sub_line_seq = extract(xml, 'ROOT/OPTIONS/@SUB_LINE_SEQ').getstringval(),
    change_type = 'U',
    active_flag = default
    where profile_cfile_pkey = extract(xml, 'ROOT/OPTIONS/@PROFILE_CFILE_PKEY').getnumberval();
    END;

    Hi Bhushan,
    one where clause is missing in the main update.
    update fm_profiledet
    set (....)
    =(select ....)
    where id in (select your profiledetails_pkey from the xml). <--this where clause were missing.
    if xml extracting is too slow(xml very large) then you can create a procedure where exract your data from the xml and then update rows in for loop.
    something like this
    create procedure up_xmls(p_xml xmltype) is
    cursor cur_xml(p_xml xmltype) is
    select ......<--here you extract your xml
    begin
    for r_row in cur_xml(p_xml) loop
    update fm_profiledet set target_source_table=r_row.target_source_table
    where profiledetails_pkey=r_row.profiledetails_pkey;
    end loop;
    end;this should work:
    SQL> drop table fm_profiledet;
    Table dropped.
    SQL> create table fm_profiledet(
      2   profiledetails_pkey number
      3  ,target_source_table varchar2(100)
      4  ,column_name varchar2(100)
      5  ,data_type varchar2(100)
      6  ,data_size number
      7  ,start_position number
      8  ,change_type varchar2(100)
      9  )
    10  /
    Table created.
    SQL>
    SQL>
    SQL> insert into fm_profiledet
      2  values(399,'test','test1','test2',1,2,'A')
      3  /
    1 row created.
    SQL>
    SQL>
    SQL> insert into fm_profiledet
      2  values(403,'test3','test4','test5',3,4,'B')
      3  /
    1 row created.
    SQL> insert into fm_profiledet
      2  values(443,'test3','test4','test5',3,7,'B')
      3  /
    1 row created.
    SQL>
    SQL>
    SQL> select * from fm_profiledet;
    PROFILEDETAILS_PKEY TARGET_SOU COLUMN_NAM DATA_TYPE  DATA_SIZE START_POSITION CHANGE_TYP                               
                    399 test       test1      test2              1              2 A                                        
                    403 test3      test4      test5              3              4 B                                        
                    443 test3      test4      test5              3              7 B                                        
    SQL>
    SQL> create or replace directory xmldir as '/home/ants';
    Directory created.
    SQL>
    SQL>
    SQL>
    SQL> update fm_profiledet fm
      2  set (target_source_table,column_name, data_type, data_size, start_position,change_type)
      3  =(
      4    select  target_source_table
      5          , column_name
      6          , data_type
      7          , data_size
      8          , start_position
      9          , change_type
    10    from(
    11      select
    12        extractValue(value(x),'/PROFILEDETAILS/@PROFILEDETAILS_PKEY') profiledetails_pkey
    13      , extractValue(value(x),'/PROFILEDETAILS/@TARGET_SOURCE_TABLE') target_source_table
    14      , extractValue(value(x),'/PROFILEDETAILS/@COLUMN_NAME') column_name
    15      , extractValue(value(x),'/PROFILEDETAILS/@DATA_TYPE') data_type
    16      , extractValue(value(x),'/PROFILEDETAILS/@DATA_SIZE') data_size
    17      , extractValue(value(x),'/PROFILEDETAILS/@START_POSITION') start_position
    18      ,'U' change_type
    19     from
    20      table(xmlsequence(extract(xmltype(bfilename('XMLDIR','prof.xml')
    21                                      ,nls_charset_id('AL32UTF8'))
    22                               , '/ROOT/PROFILEDETAILS'))) x
    23    ) s
    24  where s.profiledetails_pkey=fm.profiledetails_pkey)
    25  where
    26    fm.profiledetails_pkey in (select
    27        extractValue(value(x),'/PROFILEDETAILS/@PROFILEDETAILS_PKEY') profiledetails_pkey
    28     from
    29      table(xmlsequence(extract(xmltype(bfilename('XMLDIR','prof.xml')
    30                                      ,nls_charset_id('AL32UTF8'))
    31                               , '/ROOT/PROFILEDETAILS'))) x
    32  );
    2 rows updated.
    SQL>
    SQL>
    SQL> select * from fm_profiledet;
    PROFILEDETAILS_PKEY TARGET_SOU COLUMN_NAM DATA_TYPE  DATA_SIZE START_POSITION CHANGE_TYP                               
                    399 FM_FEEDVAL FEEDVALIDA NUMBER            22             12 U                                        
                        IDATION_LU TION_ID                                                                                 
                    403 FM_FEEDVAL CHANGE_TYP VARCHAR2           1             12 U                                        
                        IDATION_LU E                                                                                       
                    443 test3      test4      test5              3              7 B                                        
    SQL> spool off;Ants
    Message was edited by:
    Ants Hindpere

Maybe you are looking for

  • I can't find my touch id in the settings app on my iphone 5s that i restored today

    i got my 5s about a week ago and i was able to access my touch id OPTION at that time but i was not able to activate it until today. but after a while (about 8 hours) later my phone wasn't displaying the home screen even after i would press the sleep

  • Slow to load BB

    Hello, Im new to BT but have BT phone and Broadband unlimited evening and weekends. My BB was switched on on 28th August and I realise it can take up to 10 days to stabilise from reading the info given. However it is very slow to load pages which oft

  • Printing check signatures through crystal / xml publisher

    We have our signatures burned into a SIMM on the printer. The signatures get activated by an escape sequence. Is there a way of sending these escape sequences via crystal. On another note has anyone printed checks using xml publisher using the aforem

  • White stripe on right of web page

    I end up with a white stripe above and below my page in mobile Safari. I have all elements to the edge of the DOM(correct term?) in Muse on the phone site. www.angeldesignconcepts.com. Does anyone have a solution for this?

  • Search engine bug

    Hello, Since I've updated my phone on the latest version of android software 4.4.4 I've noticed a bug in the search engine. If I want to find a specific contact or a specific song in the Walkman app, the phone doesn't recognize the typed letter. If I