Unable to create business rule in composite.xml

Hi,
When I am trying to create a business rule in composite.xml I am getting the error as shown below:
java.lang.Exception: An attempt to add a schema to the schema browser failed!
Please make sure schemas are in the appropiate directories.
     at oracle.tip.tools.ide.rules.dictionarybuilder.CreationDialogUtil.addSchema(CreationDialogUtil.java:129)
     at oracle.tip.tools.ide.rules.dictionarybuilder.CreationDialogUtil.createFacts(CreationDialogUtil.java:103)
     at oracle.tip.tools.ide.rules.dictionarybuilder.jdev.JDevDictionaryFileBuilder.createRuleDictionary(JDevDictionaryFileBuilder.java:285)
     at oracle.tip.tools.ide.rules.dictionarybuilder.RulesCreationDialog$1.run(RulesCreationDialog.java:101)
     at java.lang.Thread.run(Thread.java:662)
It would be helpful if anyone has any suggestions or solution.
Thanks & Regards,
Padmaja

Make sure there are no exceptions in the schema which you are using for defining the structure of Business Rule facts and try it again
Thanks
N

Similar Messages

  • Unable to access Business Rules Facts after refreshing XML Facts

    I have created a business rule using an xml schema to generate the XML Facts. Then I created a Decision Function to call a Ruleset to process the information in the XML Facts. This decision function has input and ouput parameters from the XML Facts.
    The decision function is used inside a BPEL Process, by defining the Dictionary has the created business, defined the Service has de Decision Service. After this configuration I'm able to define the Input Facts and Output Facts from and to a variable in the bpel process. Using the Decision Fact Map window I define the input and output to the exposed Business Rule Facts. This works just fine. The BPEL runs and the Rules are correctly used.
    When I change my xml schema to add more elements and complex types I use the "Reload XML Facts From Updated Schemas" option available in the bussiness rule. After this operation I will no longer have access to the Bussiness Rule Facts in the Decision Fact Map window. So I'm no longer able to call the decision function.
    Yet the business rule has no problems and i have tested using a fuction to call the Decision Function.
    Is this a bug or a feature?
    I'm using Oracle 11g with the SOA Composite Editor 11.1.1.0.0.52.19.

    Problem solved. There was an element in the xml schema that had nillable = true. Because of this the XML Fact for that element would no longer be available in the BPEL Process. Removing the nillable and generating the XML Facts again solved the missing variable problem.

  • NPE when create Business Rules in SCA in JDEV

    I got this error message when try to create Business Rules in SOA composite with input/output.
    My JDEV Build is JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1
    java.lang.NullPointerException
         at oracle.tip.tools.ide.rules.dictionarybuilder.jdev.JDevDictionaryFileBuilder.createRuleDictionary(JDevDictionaryFileBuilder.java:377)
         at oracle.tip.tools.ide.rules.dictionarybuilder.RulesCreationDialog$1.run(RulesCreationDialog.java:101)
         at java.lang.Thread.run(Thread.java:619)
    When I tried to create Business Rules without input/output, it is created OK.

    I'm still having this problem. I checked that RMI is running but whenever I try to enter in Planning the logs write that it can't connect to the eas database, and HBRPluginData relational table isn't being filled.

  • OIM 11g R1 API to create business rule

    Hi,
    I have a requirement where new companies get created quite often and hence the roles for companies, access policies, authorization policies is to be created.
    I tried figuring out if there is any api to create business rules and authorization policies?
    Configuring companies (along with polices and business rules) is a tedious job and I am trying to find some way to automate it.
    Thanks,
    Ani

    When i go to the request templates, and try to create a new one, the "Create Role" is not a valid request type.
    I would suggest you create an authorization policy that grants permission to create roles. And then you can create an approval policy for action of "Create Role" and configure it so that you trigger an approval process.
    -Kevin

  • Unable to create Picking Rule

    Hi Gurus,
    I am unable to create picking rule in N->Inv->Setup->Rules->Picking using this navigation.
    I have created rule and selected required parameters in the screen, click on save, getting message as "1 transaction completed, saved", If i query same name in Inventory picking rule form, unable to locate the same.
    Please let me know where I miss the setups, profile option for seeing created picking rules.
    Thanks
    AK

    Just Enable it in the header, goto tools and generate the corresponding package.
    If you are in R12+, then you will also need to associate it with an organization by clicking on assign button.
    Thanks,
    Hrishi

  • Unable to create Business Place

    Hi Experts,
    I am unable to create Business Place in my Ides Server. when i follow the path Fin Acctg-Fin Acctg Global SettingWTax-Extended W Tax-Basic Settings-India-Define Business Place.
    Here i get the selection screen as Company Code  Section Code  Name 1 which should had been Company Code Business Place TAN Number.
    Please provide inputs how do i get this done.
    Regards,
    Rahul

    Dear,
    If you want to create Business Place then maintain view J_1BBRANCV using transaction SM30.
    To create section code maintaining view J_1I_SECCODE using transaction SM30...
    Note
    Now Business Place is no longer used in Withholding Tax which has been replaced by Section Code.
    Regards,
    Chintan Joshi

  • Problem using "Create Business Rule Design Definition" utility

    Hi everyone,
    I tried to create a business rule with Headstart Utilities - Create Business Rule Design Definition (Revision 6.0.0.20) and I got the following errors :
    Errors
    Message
    Combination of Message Prefix and Message Number (SGM-ENG) does not match format AAA-NNNNN.
    Activity aborted with ORACLE internal errors.
    -1400 ORA-01400: cannot insert NULL into ("HST50"."QMS_MESSAGE_TEXT"."LANGUAGE")
    I suppose that the utility concatenate the message prefix and the language to build the error message.
    Our Oracle Designer version is 6.0.3.9.0, Headstart 2.1.2 with patch 12.4 and Developper is 6.0.5.35.3
    Any patch available?
    Regards,
    Jerome Couture

    Tim,
    Headstart should be able to check out any tables you need.
    We think we have the user settings
    done correctly, but there may be something that we
    have missed. How can we get Headstart to
    automatically check-out the table(s) for which we
    want to run the Business Rules design transformer?The user settings you need are (see also pages 5-7 and 5-10 in the Headstart User's Guide):
    - Under 'Process the following objects', choose 'Checked out by anyone'
    - Also check the check box '... also Checked In objects'
    - Choose whether you want to automatically check out with or without lock
    If this does not help, please run the utility with log level 'Debug Detailed' (can also be set in the User Preferences) and report the last few lines of the log messages. They should give an indication of why the check out does not succeed.
    Hope this helps,
    Sandra Muller

  • Trouble Creating Business rules from EAS

    Hi All,
    I am new to Essbase and Planning. I am facing trouble creating Business rules from EAS. Every time I click on Business rules it shows login failed...

    Hi,
    Welcome! I believe it could be an access issue. Take a look at this: http://download.oracle.com/docs/cd/E12825_01/epm.111/hbr_admin_help/ch03s02s01.html
    I would also check the provisioning. Here are the Business Rules roles: http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security/apas08.html
    Hope it helps.
    Mehmet

  • Why admin user cannot create Business Rules ?

    Hi All,
    Why admin user can't create Business Rules. We've to create other userID and give the required roles and then we create Busines rules right ? Pls. advice

    Historically, Business rules has an internal "native" admin user. When Hyperion is externalized, this internal id can conflict with the Shared Services admin user. Effectively the two admin ids start to conflict and cause issues. There are methods to resolve this issue, but I suggest as a rule not using the admin id for business rules, therefore bypassing the problem.

  • Where and how to create business rules?

    Hi All,
    1) Where and how to create business rules?
    2) How to configure Rule Engines (Ex: JRULE Engine or any other Rule Engines)?
    3) Whar products are available for Rule Engines?
    Thanks in advance

    Hi,
    You have some options on business rules.
    If you just want to create business rules that are easy for business owners to edit without a lot of training, Oracle BPM has a simple business rules creation and end user edit capability. The benefits to using the rules that come with Oracle BPM are:
    <li> they are simple and easy to edit
    <li> end users can get up to speed quickly to edit them
    <li> when changed, the business process is immediately impacted
    <li> they can use the Oracle BPM business parameters that also come with the product
    Drawbacks are:
    <li> you can only use Project variables as the variable content inside of them
    <li> if a company already has a business rules engine, they are different that the company's standard
    Business rules engines have been used with Oracle BPM. If you are a consultant, first ask if there is a standard business rules engine that the company already has purchased that they use (e.g. iLog from IBM, Corticon...). If this is the case, you typically integrate to the rules using a web service interface that the business rules engine exposes.
    If they do not already have a business rules engine, consider Jrules. The benefits are:
    <li> it is a part of the Oracle BPM Suite that they might have purchased
    <li> version 11g of the Jrules is coming out soon with a friendly front end
    Hope this helps,
    Dan

  • Unable to find Business Rules in the JDeveloper while creating new project

    Hi All,
    I am going through the chapter 9 Creating a Rule-enabled Non-SOA Java EE Application for JDevloper 11g. I am following the instruction given in the chapter.
    However I am unable to find a Business Rules category for creating a Business rules directory.
    Probably it has to be activated from somewhere.
    I tried searching its significance with JDev installation but haven't got anything.
    It seems very basic level problem, however...Please let me know if anybody knows how to solve it
    Thanks,
    Makarand.
    Edited by: user11223806 on Aug 12, 2009 7:48 AM

    Did you install the SOA extension for JDeveloper from the help->check for updates?

  • Expose Business Rules as composite service - ORAMED-03303 on call

    Hi folks,
    I'm on 11g PS2 and Jdeveloper 11.1.1.3.0 with Oracle SOA Composite Editor 11.1.1.3.0.25.57
    The problem: I get ORAMED exception when I call the business rule through its automagically created web service endpoint
    Among the many things which I've tried and didn't work:
    - create my own web service end point for the business process
    - turn on WS Addr for the web service end point
    The payload and returned fault are as follows:
    <messages>
    <input>
    <Invoke_ruleBlacklist_callFunctionStateless_InputVariable>
    <part name="payload">
    <ns0:callFunctionStateless name="processRequest">
    <bpelInstance>
    <processId>processRequest</processId>
    <processVersion>1.0</processVersion>
    <domainId/>
    <processURL>http://localhost:8001/soa-infra/services/default/TestInitiateProcess!1.0*soa_e2ef0cb6-2dbe-4047-96e3-7a8edff9fc16</processURL>
    <instanceId>70002</instanceId>
    </bpelInstance>
    <parameterList>
    <BlacklistRuleInput>
    <party>
    <partyId>string</partyId>
    <partyOrganisation>string</partyOrganisation>
    <partyName>string</partyName>
    </party>
    </BlacklistRuleInput>
    </parameterList>
    </ns0:callFunctionStateless>
    </part>
    </Invoke_ruleBlacklist_callFunctionStateless_InputVariable>
    </input>
    <fault>
    <bpelFault>
    <faultType>0</faultType>
    <operationErroredFault>
    <part name="payload">
    <errorInfo>
    <errorMessage>TestBusinessRules</errorMessage>
    </errorInfo>
    </part>
    </operationErroredFault>
    </bpelFault>
    </fault>
    <faultType>
    <message>0</message>
    </faultType>
    </messages>
    __Steps to reproduce:__
    Create a new project, add simple business rule, tick 'expose as composite service'. A Web service endpoint is automagically created
    To another project:
    - add a web service reference to the business rule ws endpoint
    - add an Assign and Invoke activity within BPEL towards the business rule
    Thanks in advance for reading and appreciate your guidance please

    Hi there jeem,
    I'm having a world of trouble with that same Rules composite example, the OrderApproval one. I've deployed it, and can invoke it, and yet get the following error each time I invoke it:
    HTTP/1.1 500 Internal Server Error
    Content-Type: text/xml; charset=UTF-8
    X-Powered-By: Servlet/2.5 JSP/2.1
    SOAPAction: ""
    Content-Length: 546
    Date: Tue, 31 Aug 2010 03:36:22 GMT
    X-ORACLE-DMS-ECID: 0000If6Dsbg0FwI5yrDCiW1CV7Dc0000A1
    X-HTTPAnalyzer-RuleName: Pass through :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault xmlns:fpre="http://xmlns.oracle.com/OracleRules1/OracleRules1_DecisionService_1">
    <faultcode>fpre:operationErroredFault</faultcode>
    <faultstring/>
    <faultactor/>
    <detail>
    <errorInfo xmlns="http://xmlns.oracle.com/OracleRules1/OracleRules1_DecisionService_1">
    <errorMessage>default/OrderApproval!1.6*soa_5acae7d5-9fcf-4620-a9aa-8fb621faaf0d/OracleRules1</errorMessage>
    </errorInfo>
    </detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    I've tried specifying the name attribute (I'm using "OracleRules1_DecisionService_1" for this) against the callFunctionStateless element, but am still getting this error!
    Can you yourself, jeer, or anyone else please help with this? I've turned on low level logging for the soa server, but the errors it's throwing really don't enlighten me very much at all!
    Any help will be very much appreciated.
    Regards,
    Rhian

  • Migrate Business Rules by generating XML

    Hi BRF plus experts,
    for a project I am currently assigned to I am trying to find an easy way to convert business rules from a legacy systen into BRF Plus v7.
    Using XML export functionality and a few simple decision tables and rules the XML structure of exported expression is clear to me. Using the legacy system I can create an Excel extract with contains the required rules characteristics. Due to the large amount of rules (600+) and the fact that the rules as part of the migration are being cleansed I am looking for an automated way of generating an XML file containing the required rules and then import these.
    Using VBA is not too difficult to generate the correct XML structure and data.
    A problem I am facing however is to understand the identifiers, for example
    <FDTNS:APPLICATION_ID>4AA45F9249F46590E10000000A71030D</FDTNS:APPLICATION_ID>
    <FDTNS:ID>4BE03E7AEBD93E36E10000000A71030D</FDTNS:ID>
    <FDTNS:EXPRESSION_TYPE_ID>0000EEEE001000FFFFFFFFFFFFFFFFFF</FDTNS:EXPRESSION_TYPE_ID>
    <FDTNS:RESULT_DATA_OBJECT>4AA8B5FD8800276EE10000000A71030D</FDTNS:RESULT_DATA_OBJECT>
    Can somebody provide an explanation on the structure of these ID's? I am assuming there must be a type identifier and some kind of counter included.
    Many thx for some support on this.
    Regards
    Edde Voorheijen

    Hi Edde,
    what version of BRFplus are you planning to use? I only can assume that "v7" refers to NW 7.0. But the important point here is the Enhancement Package you are on.
    I would do it in the following way:
    1. Create an XML or cvs file with a well defined structure.
    2. Create an ABAP report to upload and convert the data into ABAP (there is lots of reuse available).
    3. Create the rules with the BRFplus ABAP API (see package SFDT_DEMO_OBJECTS). Therefore you first should model some parts to:
    - understand how the rules could look like in BRFplus
    - create some parts like function and data objects that you do not need to create by API but just use
    The large volume indicates that you need to use BRFplus in NW 7.0 EhP 2. There you also find a big variety of options in the ruleset that will make the upload easy.
    The ID is a technical ID that is generated. Actually it is a UUID.
    BR,
    Carsten

  • Exposing Oracle Business Rule As Composite Service

    Hi Gurus,
    I have created a simple business rule and exposed it as composite service(without using any BPEL process) and deployed it into server successfully.Now i want to call that Business rule as webservice in my BPEL process, but i am facing some issues like, have to provide values of some fields like NCName,some attributes under bpelInstaces.
    When i checked the Business Rule project in EMconsole,faced the same scenario.
    Question: is it mandatory to use BPEL process at the time of exposing Business Rule?
    Any suggestion is helpful to me..
    Thanks in advance
    Sharmistha

    Hi Sai,
    Thanks for the rply.
    Yes, The "Will be Invoked as A Web Service" property is "Checked" for Business Rule Decision Function and the service name is also available.
    when i am trying to get the wsdl of the web service it shows "Error 404-Not Found". (http://<host>:<soa port>/<service name>?wsdl)
    *[e.g http://<host>:<soa port>/OracleRules_WSTest_DecisionService_1?wsdl]*
    But the ruleset is available in the SOA Composer.
    Still facing the same problem, can't invoke the Business Rule in my composite as Web-service.
    Sharmistha

  • Expose Business Rules as composite service

    I´m trying to invoke a business rules as web service, i create a composite aplication and add a busniess rule that is exposed as WS.
    For my rule a need only one input data "testData" but when i test my service from the Enterprise Manager is data is needed:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Body xmlns:ns1="http://xmlns.oracle.com/OracleRules1/OracleRules1_OracleRules1_DecisionService_1">
              <ns1:callFunctionStateful name="">
                   <ns1:configURL></ns1:configURL>
                   <ns1:bpelInstance xmlns:ns2="http://xmlns.oracle.com/bpel">
                        <ns2:processId></ns2:processId>
                        <ns2:processVersion></ns2:processVersion>
                        <ns2:domainId></ns2:domainId>
                        <ns2:processURL></ns2:processURL>
                        <ns2:instanceId></ns2:instanceId>
                        <ns2:conversationId></ns2:conversationId>
    </ns1:bpelInstance>
                   <ns1:parameterList xmlns:ns3="www.xxx.com/crm/services/rules">
                        <ns3:Input>
                             <ns3:testData></ns3:testData>
    </ns3:Input>
    </ns1:parameterList>
    </ns1:callFunctionStateful>
    </soap:Body>
    </soap:Envelope>
    Do you know what are the other´s needed data?
    Thanks!

    I am able to test the business service i exposed as webservice without using BPEL .
    i sent some dummy values to the processId, processVersion , etc.
    Only required value is payload     @ * name NCName once i provided the correct value to it i received the correct response by executing the business rules.
    Thanks
    Phani

Maybe you are looking for

  • How to create Contract or Move-in using Function module

    Hello Gurus, I'm looking for a way to create contract(Move-in) using Function module. Please help me out... Thanks in advance, Rajesh

  • Ios 7 changing color of icons

    changed to ios7 and the background behinf the icon app keys is some awful pinkish color. can this be changed?

  • OWB 10.1.0.4.0 deployment results in RPE-01011

    We are deploying the same project, developed in OWB version 10.1.0.4.0, to both a test and production server. Since a reorganisation of those servers we've been unable to deploy mappings to the production site, due to an apparent version discrepancy:

  • How to get DB Instance name

    Hi , I have build a solutuon to send email invoce using BIP. I want to prefix the DB instance name in email Subject on development/test instances. Please suggest me how to get the DB name in BI publisher bursting control file. <xapi:message id="1" to

  • Marketing Planner - PCUI Question

    Within the Marketing Planner, we would like to remove the default values of <b>Campaign Element and Campaign Element Copy</b> from the "New" button of the MKT_PL_OIP toolbar.  Can anyone tell me how this can be done?  Possibly through security or thr