Access composite level property in BPEL

Hi,
   I have a composite level "auditLevel" property defined in composite.xml as given below. Can anyone suggest a way to access that property in BPEL process ?
<composite name="SetInstanceTitle"
               revision="1.0"
               label="2015-04-12_18-52-43_897"
               mode="active"
               state="on"
               xmlns="http://xmlns.oracle.com/sca/1.0"
               xmlns:xs="http://www.w3.org/2001/XMLSchema"
               xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
               xmlns:orawsp="http://schemas.oracle.com/ws/2006/01/policy"
               xmlns:ui="http://xmlns.oracle.com/soa/designer/">
      <import namespace="http://xmlns.oracle.com/CompositeSamples/SetInstanceTitle/SetInstanceTitleWithCondition"
              location="SetInstanceTitleWithCondition.wsdl" importType="wsdl"/>
      <service name="setinstancetitlewithcondition_client_ep"
               ui:wsdlLocation="SetInstanceTitleWithCondition.wsdl">
        <interface.wsdl interface="http://xmlns.oracle.com/CompositeSamples/SetInstanceTitle/SetInstanceTitleWithCondition#wsdl.interface(SetInstanceTitleWithCondition)"/>
        <binding.ws port="http://xmlns.oracle.com/CompositeSamples/SetInstanceTitle/SetInstanceTitleWithCondition#wsdl.endpoint(setinstancetitlewithcondition_client_ep/SetInstanceTitleWithCondition_pt)"/>
      </service>
     <property name="auditLevel" many="false">Off</property>
  <component name="SetInstanceTitleWithCondition" version="1.1">
    <implementation.bpel src="SetInstanceTitleWithCondition.bpel"/>
   </component>
Thanks in advance,
Saba

Hi AnatoliAtanasov,
  Thank you for your reply.
My requirement is to set composite instance title by retrieving SOA Audit Level settings in BPEL process.
Need to set composite instance title If "auditLevel" is not "Off" or "Inherit".
If I use this composite level property "<property name="auditLevel" many="false">Off</property>", it is getting reflected in EM Console. Also this property value get change if do auditLevel change from EM console.
So I thought, I can use this property to control composite instance title setting in BPEL process dynamically.
Please advise me any possible solution to achieve my requirement.
Thanks in advance,
Saba

Similar Messages

  • Properties on composite level

    Hi,
    Im making a project for Oracle SOA Suite 11g. What i want is to have properties that are accessible to all the components. I have tried to define properties in the composite.xml file. It works and they show up in the MBeanBrowser, but i can't access the mfrom the BPEL components. I have tried using the ora:getPreference() function, but this seems to only look for properties defined within the component itself.
    Is there any way t odefine properties on composite level and acces them on composite level.
    Kind Regards
    Oddgeir Gitlestad

    Hi,
    I guess there is no option to access the property from another composite directly. But still if you want to have some kind of global property through out all your composite, in that case you can store all those property definition either in a file or database and then build a composite which can access these properties from the file or DB through adapter.
    Then use that common composite to be used in all other composites using Web service . Then use the Config Plan to change those property values for different environments during deployment and these property values.
    Edited by: Pradosh Kumar on Feb 1, 2013 9:54 AM

  • Unable to set a top-level property object

    Hey guys
    I've made a little sequence to fetch data from a XML file. In that XML file, there is some informations (entries) (IP addresses, port numbers, etc) about 4 different types of devices(sections are the devices names). The first section of the XML tells me the NAMES of the devices I have to configure. The type of each device is located in the entries of each device. Each device has its own information and I can have more than one device of a type. In teststand, I've created custom data types (containers with empty fields) for each type of device I need.
    I want to dynamically create the devices that the XML file tells me to configure as fileglobal variables and populate them with their own config informations (entries of the XML file). I'm creating new fileglobal of the type I want using PropertyObject step and I'm creating an alias of that fileglobal that I'm passing in parameter to a subsequence who's getting infos from XML. Here, everything is OK.
    The problem occurs when I want to configure 2 or more objects of the same type. At the SetProperty step (where i'm creating the fileglobal variable) teststand gives me the error:
    "Unable to set a top-level property object to another object. Error accessing item 'Parameters.DeviceToInitStruct'."
    Is there any ways to avoid that problem and creating to variable of the same type ?
    thanks

    Hi
    I finally got rid of that problem.
    Instead of using a PropertyObject.Clone step, I used a statement who's just copy the "MasterObject" into a "CloneObject" and i'm working with that copy. So the sequence can now create devices of the same type without any conflict with the first device.
    i'll post here a short example to show how i did... maybe it'll be useful for someone...
    regards

  • DspMaxRequestDepth property in bpel 10.1.3.5

    Hi
    Can anyone please let me know how and where do I configure dspMaxRequestDepth property in bpel 10.1.3.5 version. In BPEL 10.1.3.3 this property is set at the domain level - Domain configuration.
    Thanks
    Edited by: 869271 on May 10, 2013 12:44 PM

    You can generate a plan for each instance.
    For example in build.xml add something like this:
    <target name="Generate_Deployment_Plans"
            depends="validateTask, compile, Generate_DEV, Generate_TEST, Generate_PROD"/>
        <target name="Generate_DEV">
            <generateplan planfile="DPlan_DEV.xml"
               verbose="true" overwrite="false" descfile="${process.dir}/bpel/bpel.xml"/>
        </target>
        <target name="Generate_TEST">
            <generateplan planfile="DPlan_TEST.xml"
               verbose="true" overwrite="false" descfile="${process.dir}/bpel/bpel.xml"/>
        </target>
        <target name="Generate_PROD">
            <generateplan planfile="DPlan_PROD.xml"
               verbose="true" overwrite="false" descfile="${process.dir}/bpel/bpel.xml"/>
        </target>Not sure if this is what you are asking for though.

  • TimeOut Property in BPEL

    Hi,
    We have a requirement to Indroduce a Timeout Property to 60 secs at BPEL Process level. Usually TimeOut Property will be placed at Partner Link level. Is there any way to introduce the Timeout Property at BPEL Process level? We can change the BPEL Property in BPEL Console but it will apply this property for all the BPEL processes deployed in the instance.
    Any help on this will be highly helpful.
    Thanks,
    Saravana

    Hi:
    Is it for BPEL 10g?
    If it so, take a look to the BPEL Best Practices Guide http://download.oracle.com/technology/tech/soa/soa_best_practices_1013x_drop3.pdf
    there is a very clear explanation about the time out parameters.
    thx
    best

  • Debug/Trace at individual Composite Level

    Hello All,
    Morning , need some inputs regards this question.
    --we are getting the errors mentioned here (ORA-29261 bad argument , ORA-06512 at SYS.UTL_HTTP) while calling the composite (which is a bpel process) deployed on 11.1.1.4 Soa Suite.
    ---From PL/SQL side we are calling this composite by forming the soap request by using : utl_http.begin_request('end point location of composite', 'POST', 'HTTP/1.1')
    1.is there any way we could enable debugging/tracing only for this deployed composite to see whether for any reason this HTTP call to this process is timing out
    we have many composites deployed to this partition, could we enable tracing only for this specific one.
    2.Also wanted to know within the Soa Suite 11g , what other options are available for tracing as in Soa Suite 10g there used to be opmn logs, bpel logs , domain logs etc..
    3. Whether debug could be enabled at Web Logic Server level itself, as we are not sure what could be the issue here whether the HTTP connection is timing out or WLS server gets stuck & doesn't respond after some time
    due to some issue
    Please do assist here with some details & pointers , as this issue is a bit critical for us.
    regards

    Hi,
    This is your error, You need to recover this file E:\ORACLE\DR0\SAPDATA2\UNDO_1\UNDO.DATA1
    ERROR => CONNECT failed with sql error 604. [dbsloci.c 11479] B ***LOG BY2=> sql error 604 performing CON [dbsh#4 @ 1208] [dbsh 1208 ] B ***LOG BY0=> ORA-00604: error occurred at recursive SQL level 1 ORA-00376: file 2 cannot be read at this time ORA-01110: data file 2: 'E:\ORACLE\DR0\SAPDATA2\UNDO_1\UNDO.DATA1'
    Read this thread
    recover database
    Thanks
    Siva

  • I am getting an error while coding between CS5 and Flash CC specifically: Access of undefined property instrument_txt. I am using a book that is made for CS5. Is there a current book or resources for Actionscript 3.0 and Flash CC?

    Scene 1, Layer 'actions', Frame 1, Line 47, Column 2
    1120: Access of undefined property instrument_txt.
    this is my problem. any ideas. thanks

    I did try this and nothing happened, same error codes. The code works fine from CS5 and CS6 Flash versions. The animation runs well, the text displays where it should in the instrument_txt frame. It is when I try this in Flash CC that it creates the code error. here was an error that came up regarding text problems, something with FLT text converted to another text (I am not sure of the name of the text-type and the "FLT" I am not sure of either).
    thanks

  • Access of undefined property _btn (problems with all my buttons)

    I keep getting this error:
    Scene 1, Layer 'actionscript', Frame 1, Line 1
    1120: Access of undefined property tennis1_btn.
    Scene 1, Layer 'actionscript', Frame 1, Line 7
    1120: Access of undefined property tennis2_btn.
    Scene 1, Layer 'actionscript', Frame 1, Line 13
    1120: Access of undefined property tennis3_btn.
    Scene 1, Layer 'actionscript', Frame 1, Line 19
    1120: Access of undefined property tennis4_btn.
    Scene 1, Layer 'actionscript', Frame 1, Line 25
    1120: Access of undefined property tennis5_btn.
    Scene 1, Layer 'actionscript', Frame 1, Line 31
    1120: Access of undefined property tennis6_btn.
    Here is a screen print of my code
    I'll also paste below:
    tennis1_btn.addEventListener(MouseEvent.CLICK, gotennis1);
    function gotennis1(event:MouseEvent):void {
              var gotennis1url:URLRequest= new URLRequest ("juniortennis.php");
              navigateToURL(gotennis1url,"_parent");
    tennis2_btn.addEventListener(MouseEvent.CLICK, gotennis2);
    function gotennis2(event:MouseEvent):void {
              var gotennis2url:URLRequest= new URLRequest ("adulttennis.php");
              navigateToURL(gotennis2url,"_parent");
    tennis3_btn.addEventListener(MouseEvent.CLICK, gotennis3);
    function gotennis3(event:MouseEvent):void {
              var gotennis3url:URLRequest= new URLRequest ("http://abbottsports.com/membership/memberships.php#tennis");
              navigateToURL(gotennis3url,"_parent");
    tennis4_btn.addEventListener(MouseEvent.CLICK, gotennis4);
    function gotennis4(event:MouseEvent):void {
              var gotennis4url:URLRequest= new URLRequest ("staff.php");
              navigateToURL(gotennis4url,"_parent");
    tennis5_btn.addEventListener(MouseEvent.CLICK, gotennis5);
    function gotennis5(event:MouseEvent):void {
              var gotennis5url:URLRequest= new URLRequest ("calendar.php");
              navigateToURL(gotennis5url,"_parent");
    tennis6_btn.addEventListener(MouseEvent.CLICK, gotennis6);
    function gotennis6(event:MouseEvent):void {
              var gotennis6url:URLRequest= new URLRequest ("tenniscourts.php");
              navigateToURL(gotennis6url,"_parent");
    Please help:  i have a couple of them types of menus but this is the only one that is giving me problems.  Here is the website I'm using them on:
    www.abbottsports.com  Working
    http://abbottsports.com/football/football.php Working
    http://abbottsports.com/motocross/motocross.php working
    I was adding another on to our tennis page. I just copied the flash files to my tennis folders and renamed everything tennis instead of football including the buttons like you can see on the right side of the page in the photo.
    I'm pretty sure it has something to do with me renaming the button, because I never changed anything in the code except replacing the word football to tennis in every spot. and renamed my buttons to tennis instead of football.
    Thanks for any assistance.

    yeah they are all named right.
    tennis1_btn
    tennis2_btn
    tennis3_btn
    tennis4_btn
    tennis5_btn
    tennis6_btn
    I uploaded it here:
    http://abbottsports.com/tennis/flash/tennismenu.swf
    http://abbottsports.com/tennis/flash/tennismenu.fla
    http://abbottsports.com/tennis/flash/tennismenu.html

  • How  to Set JMS property and Read JMS property in BPEL using JMS adapter

    Does any one know how to set or read more than one JMS property in BPEL using JMS adapter. My queue server is Oracle JMS server.
    Any help and sample is well appreciated

    Hi Van
    I have noted that only the attribute "type" is missing. It seems that when you create a "string" property, the attribute "type" is droped from the XML. If you use another type (as "integer" or "double") it stays there.
    If you try to read your properties, except for the "type" attribute, you should be successful, as I am. If you need, please tell me your email, I can send you my code.
    Source Code:
    in ASSIGN activity (process which SENDS the JMS message):
    <assign name="TESTES">
    <copy>
         <from expression="'string'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@type"/>
    </copy>
    <copy>
         <from expression="'name'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@name"/>
    </copy>
    <copy>
         <from expression="'value1'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@value"/>
    </copy>
    <bpelx:append>
         <bpelx:from>
         <Property name="" type="" value=""
              xmlns="http://xmlns.oracle.com/pcbpel/adapter/jms/"/>
         </bpelx:from>
         <bpelx:to variable="HeaderJms" part="outboundHeader"
              query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties"/>
    </bpelx:append>
    <copy>
         <from expression="'string'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@type"/>
    </copy>
    <copy>
         <from expression="'name2'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@name"/>
    </copy>
    <copy>
         <from expression="'value2'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@value"/>
    </copy>
    </assign>
    in ASSIGN activity (process which READS the JMS message)
    <assign name="Assign_1">
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[10]/@name"/>
    <to variable="temp"/>
    </copy>
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[10]/@value"/>
    <to variable="temp"/>
    </copy>
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[12]/@name"/>
    <to variable="temp"/>
    </copy>
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[12]/@value"/>
    <to variable="temp"/>
    </copy>
    </assign>
    Note that I do not try to read the "type" attribute, otherwise it will fail.
    Here is the JMS Header Message received:
    <inboundHeader>
    <JMSInboundHeadersAndProperties xmlns="http://xmlns.oracle.com/pcbpel/adapter/jms/">
    <JMSInboundHeaders>
    <JMSCorrelationID>
    bpel://localhost/pi_lms-c001e/BpelPiAtualizacaoC001E~1.0/3200025-BpInv0-BpSeq1.6-2
    </JMSCorrelationID>
    <JMSDeliveryMode>2</JMSDeliveryMode>
    <JMSExpiration>0</JMSExpiration>
    <JMSMessageID>ID:467DFA1FA1ED459EBF37F51F596C3F12</JMSMessageID>
    <JMSPriority>4</JMSPriority>
    <JMSRedelivered>false</JMSRedelivered>
    <JMSType>com.mercurio.lms.integration.c001eip.c001EIntegrationPoint</JMSType>
    <JMSTimestamp>1201552046253</JMSTimestamp>
    </JMSInboundHeaders>
    - <JMSInboundProperties>
    <Property name="JMSXDeliveryCount" type="integer" value="1"/>
    <Property name="JMSXRecvTimestamp" type="long" value="1201552046698"/>
    <Property name="JMSXUserID" value="lms_dev_int_v1_user"/>
    <Property name="JMS_OracleDeliveryMode" value="2"/>
    <Property name="JMS_OracleTimestamp" type="long" value="1201552046253"/>
    <Property name="JMS_OracleDelay" type="long" value="0"/>
    <Property name="JMSXState" type="integer" value="0"/>
    <Property name="IAS_VERSION" value="10.1.3"/>
    <Property name="JMS_OracleDeliveryMode" value="2"/>
    <Property name="name" value="value1"/> ("type" attribute was droped!!!)
    <Property name="JMS_OracleTimestamp" type="long" value="1201552046253"/>
    <Property name="name2" value="value2"/> ("type" attribute was droped!!!)
    </JMSInboundProperties>
    </JMSInboundHeadersAndProperties>
    </inboundHeader>
    Regards
    Marcelo

  • SaveAs - Security settings prevent access to this property or method.

    Hi,
    This question seems to have been dealt with in this forum on a few occasions but I am still have trouble with it:
    I have written a script to add a footer containing the file name to a PDF and then save the PDF:
    app.addMenuItem( { cName: "newdoc", cUser: "Add Footer", cParent:
    "File", cExec: "AddFooter()", nPos: 0 } );
    function AddFooter()
    for (var p = 0; p < this.numPages; p++)
    var fd = this.addField("Date", "text", p, [10,5, 300,28]);
    fd.textSize=10;
    fd.value = this.path  ;
    var SaveFile = app.trustedFunction(function()
      app.beginPriv();
      this.saveAs(this.path);
      app.endPriv();
    When I try to execute this script I receive an error:
    Security settings prevent access to this property or method.
    Any assistance would be much appreciated.
    eddiec :-)

    At which line do you get the error message? Do you use Adobe Acrobat?

  • Page rotate script not working(not allowed error security settings prevent access to this property)

    HI,
    I am using a script to rotate each pages in pdf file when clicking a button. I have added a script to rotate file in the rotate button's click event as a javascript.It is working in acrobat but not in adobe reader. Pleae see the script
    nStart = 0;
    nEnd = this.numPages - 1;
    nRotate = 90;
    try
    if (this.numPages > 0)
               this.setPageRotations(nStart , nEnd , nRotate)
    catch(e)
    app.alert("Processing error: "+e)
    But I'm getting this  error in adobe reader not in acrobat.'not allowed error security settings prevent access to this property or method'. What is the problem. Please anybody tell me.

    OK, so here's what you do:
    - Create a new file in a plain-text editor (I recommend Notepad++), and paste this code into it:
    safeExecMenuItem = app.trustPropagatorFunction(function(code){
        app.beginPriv();
        app.execMenuItem(code);
        app.endPriv();
    mySafeExecMenuItem = app.trustedFunction(function(code){
        app.beginPriv();
        safeExecMenuItem(code);
        app.endPriv();
    Close Reader if it was open and then save this file as "MyScripts.js" and place it in the following directory (this is for Windows):
    C:\Program Files (x86)\Adobe\Reader 11.0\Reader\Javascripts
    If you want it to work in Acrobat as well place the file also under:
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Javascripts
    Now to rotate the pages clockwise attach this code to your button (in Acrobat, of course):
    mySafeExecMenuItem("RotateCW");
    And to rotate them counter-clockwise, use this code:
    mySafeExecMenuItem("RotateCCW");
    Open your file in Reader and the buttons should rotate the pages when clicked...

  • Variable values in composite.xml property

    Hi, i've got the similar proble to: variable values in composite.xml property
    Static value for property
    <property name="oracle.webservices.auth.password" type="xs:string"
    many="false" override="may">admin</property>
    <property name="oracle.webservices.auth.username" type="xs:string"
    many="false" override="may">admin</property>
    Expect result:
    <property name="oracle.webservices.auth.password" type="xs:string"
    many="false" override="may">$variable</property>
    <property name="oracle.webservices.auth.username" type="xs:string"
    many="false" override="may">$variable</property>
    i've probe the suggestion but cant get the specific solution.... may soneon can't help me!!

    Hi
    Thank you for the reply, I also would like to use the DVM solution to get the dynamic values, but the problem is how should I use this variable after this variable get the value from DVM?
    Does it have a property to override "oracle.webservices.auth.username" property or how could I use "oracle.webservices.auth.username" to get the variable value?
    I'm not sure if you understand my question, feel free to let me know.
    Thanks again for your reply.

  • Simple question (Trace issue) Access of undefined property

    Having a strange issue with my new Flash Builder and the trace command. Anyone seen this before and why?
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
         <fx:Declarations>
               <!-- Place non-visual elements (e.g., services, value objects) here -->
         </fx:Declarations>
    <fx:Script>
         <![CDATA[
              var myString:String = "Help";
              trace(myString);
              //Error 1120: Access of undefined property myString.
         ]]>
    </fx:Script>
    </s:Application>

    your trace command isn't in a function
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"          
                   xmlns:s="library://ns.adobe.com/flex/spark"          
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" applicationComplete="doThis()">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                private var myString:String = "Help";
                private function doThis():void
                    trace(myString);
            ]]>
        </fx:Script>
    </s:Application>

  • Incorrect number of subscript accessing external object property loadfile in open event

    Hi
    I used  the following method to  view pdf  OLE Object Control -> Insert Control -> Then I select Adobe pdf reader. After that I wrote the following script in the open event of the form
    ole_1.object.loadfile("H:\document\empdoc.pdf") . But when I run the application the following error is coming
    "Incorrect number of Subscript Accessing external object property loadfile in open event" please can u help.
    With Thanks
    Pol

    Hi Polanchan,
    I've tried the following code in both PB 11.2 and 12.6 on Windows 7 and I do not see the error message you are seeing.
    string ls_filename
    ls_filename = "my.pdf"
    ole_1.object.LoadFile(ls_filename)
    What version of Acrobat Reader do you have on your machine?  I have version 10.1.13.
    Patricia Steinhardt
    SAP Active Global Support

  • Getting the very lovely 1120: Access of undefined property...

    Hi Guys n Gals,
    I’m getting the "1120: Access of undefined property texttwo_mc." error I've done this code before and no issue.
    What I’m doing is simple, click a button and it will go to a movie clip within a movie clip to start the label named "_go", and this error accrued. The MC I’m calling is on the beginning of the timeline.
    Thanks
    BTW for some odd reason my SWF keeps deleting it self, thats on 2 differnt PC's ones CS5 and CS4.

    Hi Ned,
    Ok ill be as detailed as possible.:
    In the main stage I have a MC with a instance name of texttwo_mc, within that i have a mocvie clip "about button" that acts like a button and its on 5 on the timeline.
    The "about button" is not viable till timeline 5 but there's a stop on timeline 1 and it goes to timeline 5 (to make itself viable) when its told to in action scripting. And there's a button on the main stage that makes it go from 1 to 5 in action scripting.
    and thats where the eror is.
    BTW the "about button" is on timeline 1..just not viable till 5.

Maybe you are looking for