How to avoid hard codes in SOA

Hi gurus of SOA,.

Until my current assignment, I used file DVM to keep all the static values in BPEL/XSLT. But recently, I received the review comment we should probably use the descriptor.

Could someone help me please in understanding what exactly this is? Also, is there another option to use file ownership of the thing to avoid the codes-hard.

Please excuse me if my question seems silly :)

Thanks in advance,
Vikas

Hello

By descriptor, they intended for the use of the preference variables. Using the preference variable, you can change the static values at run time. For tracking more than understand the links below.

http://eelzinga.WordPress.com/2009/10/28/Oracle-SOA-Suite-11g-setting-and-getting-preferences/
http://oraclesoa.blogspot.in/2011/05/using-preferences-deployment.html

See you soon,.
Durga

Be sure to mark the appropriate fix/useful messages. For the long term, it will benefit us all.

Tags: Fusion Middleware

Similar Questions

  • imp exp/full FUL grant allows select u / drop all tables... How to avoid this?

    Hi all

    We do nightly exp as our backup for certain pattern... and shell script we used the password hardcoded in the script system and we want to avoid this... so I try to create another user who can make exp/IMP... and what's my user statement like... to give full grant create imp exp/full...

    CREATE test USER
    IDENTIFIED BY THE VALUES OF 'PASS '.
    DEFAULT TABLESPACE USERS
    TEMPORARY TEMP TABLESPACE
    DEFAULT PROFILE
    RELEASE OF ACCOUNT;
    -3 roles for test
    GRANT IMP_FULL_DATABASE TO test.
    GRANT CONNECT TO test;
    GRANT permission TO test;
    Test of ALTER USER DEFAULT ROLE;
    -1 privilege system for test
    GRANT UNLIMITED TABLESPACE TO test;

    but now, here's the thing... This test user is able to query every single table in any schema... or drop something... . How can I stop that...

    all I want to do for test user is exp/imp and nothing else... the user can select on any table but cannot modify or drop whatever it is... what according to give for it? some exp/IMP...

    If not, how can I avoid hard codding the password in my shell script? Can I have one parfile but then again who will need to have the password... and we try to avoid that...

    Anyone (with the appropriate privileges) can import the dump file later. You wouldn't need the TEST user to be able to import the file. If the only thing that the TEST user generates a FULL dump file = a, then the user would only need permission privileges. If the user does not have a full export because you're that concerned about a few diagrams, the user didn't even need permission privileges.

    Justin

  • How to avoid Photos

    How to avoid the Photos and not the transfer of the app and open it that my images directly from my camera? My brother is trying to avoid the picture and just get the pictures from his camera on his hard drive. But the Photo does not seem to give him an opportunity to transfer just to a location of his choice. He dislikes do not have control and do not like the Photo App.

    Use the Image Capture to import photos from your camera.  Image capture will allow you to transfer the photos to a folder of your choice.

    To stop the pictures of the opening when you insert the card, select the map in the sidebar of pictures and clear the check mark 'open pictures... '. ».

  • How to avoid the launch of Labview when called by Teststand VI

    Hi, friends.

    I am a student of teststand. I wrote a few screws by Labview. Now, I want to invoke in teststand environment. But when I run the sequence. LabVIEW automatically launches. How to avoid the launch of Labview when I run the sequence?

    Thank you.

    I'm not sure that I follow what you're saying...  But it seems that when the VI is called, the LabVIEW Development software is started and you want to avoid this.

    If you create an executable file or a dll and that any call within TestStand, she should not call the development environment.  You must have the LabVIEW runtime engine installed on the target computer.

    For several years I used TestStand with LV, if my memory does not have to be precise.  I think that the above worked for me.  However, it seems that I remember something to have the LV code in debug mode, causing to open development environment... but it's a distant memory.    You do not use breakpoints where the LV VI is called, are you?

    R

  • How to obfuscate the code in blackberry?

    Hello

    I want to know is - it possible in blackberry to decompile the source code. If we distribute the application with the files .alx file then what are the chances of him have decompiled. If this is the case, then can someone tell me how to avoid this. I know all obfuscators like Proguard, but is it necessary to use it.

    We hope to get an answer soon.

    See this article.

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/How_To_-_Obfus...

  • When I uninstall & reinstall MS-Windows & MS-Office (HDisk upgrade do), how to avoid licenses lose

    Hey there

    How to avoid Microsoft OS & Office licenses to lose?
    I want to upgrade the hard drives on my PC 2,
    * PC1 has Windows 7 Professional and Office 2010
    * PC2 has Windows 7 Home Premium and Office 2007
    When I uninstall & reinstall MS-Windows & MS-Office (HDisk upgrade do), how to avoid licenses lose?

    Because it's the same machine, you don't deplete all your licenses when you reinstall on the same hardware. In some cases, the reactivation by phone may be required:

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

    How to reactivate Microsoft Office:

    Microsoft Office Activation number:
    http://support.Microsoft.com/kb/950929

  • Refreshing the page creates a new record – how to avoid this?

    I have a 'submit' button that runs a 'record insertion.

    After insertion is made I branch (back) to this same page.

    The problem is that when I hit page refresh the folder gets reinserted.

    How to avoid this behavior?

    AZZ says:

    fac586,

    Yes. You are right. It was a late semi written post. My apologies. You must stop working after midnight.

    Let me clarify:

    I have a SUBMIT"" button.

    There are the conditional 'after send' (if the key) process.

    the process calls a function that inserts a new record in the table.

    Question:

    How can I avoid running the process on refreshing the page?

    I've simplified the situation - no record insertion. However, if you refresh the page the success of the function call message will be displayed.

    https://Apex.Oracle.com/pls/Apex/f?p=4000:1:126172565551184:no:RP:FB_FLOW_ID, F4000_P1_FLOW:21325, 21325

    user/pass help/help

    workspace - AZ_

    To reproduce:

    Click on the submit - observe green popup "OK!"

    Refresh the page (F5 or ctrl-R) - see 'OK!' again.

    No process is executed to see the page or page refresh. This can be confirmed by looking at track of debugging to see the processing page. The page contains no defined process to run at a show of page processing point; None of the calculations which could call a function that could not perform an insert as a side effect; None of the dynamic actions or calls JS could initiate an insertion using AJAX; Neither the source region contains any code that could do it. I'll draw the line search conditions that can contain deeply buried code which could be responsible and direct you to a previous thread of the same nature: success of process Message not tied to Conditions.

  • How to copy the code snippet?

    Hi all, please help me. How to copy the code snippet? (screenshot)

    div.png

    If you want to avoid using drag-to-select your operating system function to select blocks of code starting and ending with a specific tag, you can do the following...

    1. click anywhere in the code in the tag/block to copy
    2. click on the button select the Parent tag in the toolbar display of Code on the left side of the display window of the Code (the icon with a pointer arrow inside sharp brackets)
    3. press Ctrl + C

    Repeated by clicking on the button will continue select parent tag higher following.

  • How to avoid refresh table on commandLink/pop-up window button click

    Hello

    I use JDeveloper 11.1.1.6 with webcenter extension.

    I have table of records. When I opened the window with view detailed and I click commandLink or button inside the pop-up window, I can see update on table in the background (behind the window).

    I remove all the code and there is not any partialTriggers.

    Is this normal? How to avoid this behavior?

    Thanks in advance

    You can try by setting partialsubmit = true for the link within the popup?

    Is the popup and the underlying table even VO-based table?

    Thank you

    Alisson

  • Modal region of the tree as a popup... After clicking the value in the tree... How to avoid the parent page is refreshing

    Hi, I spent long hours to solve this problem and wait for the answer from the expert.

    I created a form with text boxes and one of them, I created just small image button to call the modal region of the tree.

    Everything is OK, tree appear and disappear after the passage of the code value for the text element in the parent form.

    But it refreshed and initialized all other areas of empty text as well... ^ ^;

    I think that, because of the link in SQL tree. Someone help me?

    Select case when connect_by_isleaf = 1 then 0

    When level = 1 then 1

    else                           -1

    end the status,

    level,

    "CAT_NM" as the title,

    NULL as an icon,

    "CAT_CD" as a value.

    NULL as ToolTip,

    ? p = & APP_ID.:112 :'|| : APP_SESSION |': P112_CAT_CD :'|| "' CAT_CD ' as link-> How to avoid refreshing the page parent and just switch the CAT_CD to the called page?

    'category '.

    Start with 'PARENT_CAT_CD' is null

    connect prior "CAT_CD" = "PARENT_CAT_CD."

    siblings arrested by "CAT_CD".

    Hey "zoomok,"

    Large - an example would have been my next request in any case I took a glance and changed your demo page to work as you want.

    Things of note:

    -SQL source tree: NO link value! A link value will generate apex code that will redirect you to the link. It will always be a redirect page, where a rerender page, and not what you want! Leaving NULL allows us to interact with the tree interactively via javascript

    -Code in variables and functions global page - javascript - next:

    function treeOnload(){
      var l$Tree = $("#tree_modal div.tree"); // get the tree instance
      // handle the onselect event of the tree
      $.tree.reference(l$Tree).settings.callback.onselect = function(NODE, TREE_OBJ){
        $s( "P112_CAT_CD", $(NODE).attr('id') ); // get the VALUE of the node and put it in item P112_CAT_CD
        closeModal(); // close the active modal region
      };
    };
    

    -In javascript - dependent section I added a call to this procedure:

    treeOnload(); // initialize the tree with our settings
    

    And that's all! I didn't know that you use "openModal". There are different ways to implement modal regions, so it is important to know how we do for ourselves what to do with it.

    FYI - you now need to change your credentials. And mark the answer that has helped you or is correct, please.

  • Question CP9: HTML5: Apple: Android: how to avoid the click on the Play button / tap?

    Hello

    Captivate 9.0.0.223: HTML5 draft.

    I'm sorry to ask this question, it's a little old chestnut on HTML5 in Apple iOS and Android.

    I have searched on the internet and forums for a solution underway, but could not find something that works.

    The problem is how to avoid the PLAY button, which forces the user to click / tap on it, when the project is accessible on an Apple or Android system.

    Play_icon.png

    The project will be published on the internet for use on any Windows, Apple or Android device.

    I have no control over the Web server or devices that will use the people, so that any changes to the software server or browser is out of the question.

    I have tried both a plain HTML5 and a responsive project, but neither avoid the Play button. I put an example of 1 slide on these links.

    http://www.hoffits.com/test_responsive/index.html

    http://www.hoffits.com/test_html5/index.html

    The bottom line is: ' is it possible to remove the need for the user to click / press the Play button?

    Thank you.

    Peter

    Cardiff

    In Wales

    UK

    In your normal HTML5, there is a line (I think it's 46) with this code:

    CP. DoCPInit();

    Add cp.movie.play (); Located below.

    so:

    CP. DoCPInit();

    CP. Movie.Play ();

  • Favorite Confirmation your Favorites list has been successfully updated. How to avoid this

    Favorite Confirmation your Favorites list has been successfully updated.   This message was showing every time, after I decided to a product,

    But my requirement is:

    After logging in, a favorite of box user a product by clicking on an icon of the heart, under the thumbnail image, only the color of the heart icon should be changed, if a favorite is applied or favorite is removed it will change to another color, (tag icon he color change already there is BC) my only concern is how to avoid these (favorite Favorites Confirmation your list has been updated with success.) currently its display in a blank page with the confirmation text

    If a user wishes to favorite means more than 15 products, whenever it shows the message... Please someone help me... If I almost finish my project is over... Pleaseeeeeeeeeeeeeeeeee

    Do you it with JavaScript, crush the BC function that is called to save the favorite to eliminate the popup alert and full of color. I don't have code available to post. I hope this helps.

  • I am a newbie to this and I was wondering how to write CSS Code for text, text color, size text and text effects...

    Please keep in mind that I am a newbie. For the moment, I don't know how to write code, so I use Muse to try to build a Web site that is not super fancy writing know, then improve or build or create a new site later. I called Adobe and they said someone in the forums may know how to write code and that he could help me. That said, if someone could answer my questions and help me somehow, I'd be really grateful.

    1. How can I write code, what code should I write to

    Text?

    Color of the text?

    Text size?

    Text/Font Style

    Text effects (such as fly in or fly out, bounce in and out bounce, spin in and spin out, fade in and fade out, etc)?

    Direction of text effect?

    Time that the effect occurs, if it is applied, initiated, comes in? example fly in or fade?

    Time than the last.

    After the effect stops, turns off? example: fly away or fade out?

    2. how to enter the code Muse?

    3. should I have a program to write the code?

    4. is there a function I could use on my computer, such as Notepad, to write the code, copy and paste it into Muse?

    5. What is the best book or books to learn how to write css, code and everything I need to do to be able to do the above and more?

    6. is there anything else I need to know or do to be able to do these things with the text?

    You can find more information on the style of your text (paragraphs, titles, etc. in some of the tutorials here: TUTORIALS |) Adobe Muse CC

    You can also check out tutorials on this page for scrolling effects that can do some of the other effects you need. Without exactly knowing your use case it's hard to give specific advice.

    Basically if it is not covered undressed under the text, scrolling Effects tutorials or in a third party widget already made, then you will need to create it yourself using CSS. You will need to use some sort of browser Firebug like developer tools in Firefox to find the ID of the element you want to add the CSS to write the CSS code and insert it into the head section of the page properties.

  • How to avoid the error ORA-01858:

    Hi all
    I use apex 4.1.
    I tried a query while dealing with the dates I had error, but I did not how to avoid it.
    like trying to get the number of students joined between certain dates.
    declare
    SMO varchar2 (100);
    SDO varchar2 (100);
    SYO varchar2 (100);
    SYDS varchar2 (100);
    SYDE varchar2 (100);
    a varchar2 (100);
    b the number;
    D1 date;
    D2 date;
    Start
    Select to_char(sysdate,'MM'), to_char(sysdate,'DD'), to_char(sysdate,'YYYY') in SMO, SDO, SYO double;
    SYDS: = '0602' | SYO;
    SYDES: = '0902' | SYO;
    D1: = to_date(SYDS,'MM/DD/YYYY');
    D2: = to_date(syde,'MM/DD/YYYY');
    run immediately "select |" TO_CHAR (DATE_OF_JOIN, "YY"), (TOTAL_NO_STUDENTS) Count of CROP_SALE where class = 7 and to_char (DATE_OF_JOIN, "YYYY") = to_char (sysdate, "YYYY") and to_date (to_char (DATE_OF_JOIN), "MM/DD/YYYY") > to_date(''d1'',''MM/DD/YYYY'') and to_date(DATE_OF_JOIN,''MM/DD/YYYY'') < to_date(''d2'',''MM/DD/YYYY'') group to_char (DATE_OF_JOIN "AA")' has , b ;
    dbms_output.put_line(a|| b);
    end;
    This error comes in dates d1 & d2 referring, but I did not how slove it.
    can someone help me pls
    Kind regards
    Pavan

    There are two types of errors that I see. First, fix the date format before removing the slashes (because the source has no slash).

    D1: = to_date (SYDS, 'MMDDYYYY');
    D2: = to_date (SYDE, 'MMDDYYYY');

    Secondly, in the statement immediately execute you put in the text "d1" and "d2", not the values of d1 and d2. You must either concatenate the values like this:

    to_date('||) D1 |', "MM/DD/YYYY)

    Or better yet, use bind variables like this:

    to_date(:B1,''MM/DD/YYYY'')

    and add a "using" clause

    using d1, d2;

    I made the changes in the code. Try this:

    declare
      SMO  varchar2(100);
      SDO  varchar2(100);
      SYO  varchar2(100);
      SYDS varchar2(100);
      SYDE varchar2(100);
      a    varchar2(100);
      b    number;
      d1   date;
      d2   date;
    begin
      select to_char(sysdate, 'MM'),
             to_char(sysdate, 'DD'),
             to_char(sysdate, 'YYYY')
        into SMO, SDO, SYO
        from dual;
      SYDS := '0602' || SYO;
      SYDE := '0902' || SYO;
      d1   := to_date(SYDS, 'MMDDYYYY');
      d2   := to_date(SYDE, 'MMDDYYYY');
      execute immediate 'select to_char(DATE_OF_JOIN,''YY''),
                         COUNT(TOTAL_NO_STUDENTS)
                         from CROP_SALE
                         where class=7
                         and to_char(DATE_OF_JOIN,''YYYY'')=to_char(sysdate,''YYYY'')
                         and to_date(to_char(DATE_OF_JOIN),''MM/DD/YYYY'') > :B1
                         and to_date(DATE_OF_JOIN,''MM/DD/YYYY'') < :B2
                         group by to_char(DATE_OF_JOIN,''YY'')'
        into a, b
        using d1, d2;
      dbms_output.put_line(a || b);
    end;
    

    Edit: Fixed the to_date function, which operated on a date. Also fixed an extra | After the selection

  • To avoid writing code with the front-end database

    Hello

    I'm working on a database application using database 10 g as backend and front-end dotnet. I want to run only oracle stored procedure to select all (to avoid the hard parse and use bind variable), operations DDL and DML. just to avoid writing code database with the front-end server. Can someone give me please a little examples of:

    1. Select the output of the query to be returned in the result set of the stored procedure.

    2. DML for example of stored procedure.

    3. stored procedure DDL examples.

    using scott.emp, so that I just called the stored procedure, rather than selecting on the don, DML or DDL commands at the front end. Even though I read in the documentation, but a cup examples will help me to enter a clear concept as well.

    Thanks and greetings
    Girish Sharma

    Hello...

    --> Select example
    create or replace procedure get_emp (rc on sys_refcursor)
    is
    Start
    Open rc to select * from emp;
    end;

    --> Example of DML
    create or replace procedure do_dml_emp (pempid in number,
    pempname varchar2,
    Result number)
    is
    Start

    insert into emp(empid,empname) values(pempid,pempname) return empid as a result;
    exception
    while others then
    result: =-1;
    end;

    --> Example of DDL
    create or replace procedure ddl_emp (varchar2 column name,
    ColType varchar2,
    Result number)
    is
    Start
    result: =-1;
    run immediately 'alter table emp add column' | colname | ' ' || ColType;
    result: = 1;
    end;

Maybe you are looking for