In this simple loanApproval scenario I will use Oracle Rules to work out who to route to.
Car – car loans will be approved by jcooper
Home – home loans will be approved by mtwain
Personal – personal loans will be approved by jstein
Define participants via Rules -
Auto-generate task form
Deploy & Test
Thursday, February 25, 2010
Tuesday, February 9, 2010
ADF11g calling Oracle Rules
Simple scenario here -
I have created a simple Rules component and deployed it to SOA Suite 11g.
I now want to execute the Rules from an ADF app. No coding required!!!
I create / deploy a very simple Rules app
Input XSD (simpleCheck.xsd)–
Output XSD (simpleResult.xsd)–
to soa_domain
The Rules are as follows –
Test using default WLS Tester
I test via http://localhost:8001/soa-infra
Test using ADF Web Service DataControl
Create a new ADF App in JDeveloper
location = file:///path to your simpleResult.xsd
I have created a simple Rules component and deployed it to SOA Suite 11g.
I now want to execute the Rules from an ADF app. No coding required!!!
I create / deploy a very simple Rules app
Input XSD (simpleCheck.xsd)–
Output XSD (simpleResult.xsd)–
to soa_domain
The Rules are as follows –
Test using default WLS Tester
I test via http://localhost:8001/soa-infra
Test using ADF Web Service DataControl
Create a new ADF App in JDeveloper
location = file:///path to your simpleResult.xsd
Tuesday, February 2, 2010
Memory issues after installing SOA Suite 11g PS1?
I had issues starting the weblogic adminServer after installing PS1 on an older laptop of mine.
Solution -
amend the setSOADomain.cmd in the
D:\soaSuite11gPS1\user_projects\domains\soa_domain\bin
directory.
set DEFAULT_MEM_ARGS=-Xms512m -Xmx512m
set DEFAULT_MEM_ARGS=%DEFAULT_MEM_ARGS% -XX:PermSize=128m -XX:MaxPermSize=384m
Solution -
amend the setSOADomain.cmd in the
D:\soaSuite11gPS1\user_projects\domains\soa_domain\bin
directory.
set DEFAULT_MEM_ARGS=-Xms512m -Xmx512m
set DEFAULT_MEM_ARGS=%DEFAULT_MEM_ARGS% -XX:PermSize=128m -XX:MaxPermSize=384m