I have just started working on Oracle BPMN and it's a perfect product for modelling business processes.
The first challenge which i surfaced while working on BPMN was how to configure Users for particular Roles.I could see that the task was getting automatically assigned to ProjectName.ApplicationRole
I tried everything starting from LDAP setting to Administrator Console configuration but i could not figure out why every task was by default getting assigned to weblogic(default administrator)???
I did some R&D and then at last bingo!! i was able to get it going......
To Configure Users,you need to do following:
1)Open Enterprise Manager http://localhost:7001/em
2)Expand Application Deployments under your domain(base_domain default)
2)Select any deployed Application and right click on it.
3)In my scenario,i have selected MakerTaskFormUI
4)Right click on it and select Security
5)Under Security Select Application Roles
6)The Application Roles page will open up.
7)Select Application Stripe to Search
8)From the drop down,select OracleBPMProcessRolesApp
9)You will notice that,all the roles will be visible as YourProjectName.Role
10)Select the role for which you want to assign user.
11)After clicking add the user and do not forget to click on OK for each entry.
12)On adding each entry for different roles,you'll see something like this for your application.
13)Go on and test,it should work fine.
Saturday, December 4, 2010
How to Integrate SOA With ERP(JD Edwards,PeopleSoft,etc)??
You might have come across situations where you need to integrate Oracle SOA with ERP like JD Edwards,People Soft,SAP etc...
There are two approaches for this:
1)Application Adapters
2)Dynamic Connectors
With the first approach,you just need to install Oracle Application Adapters,follow the installation guide for it and you'll be able to configure it for integration as it discusses about all the requirements,jdeinterop.ini in case of JD Edwards,configuration...GenJava stub...classpath etc..So,it's not worth writing about it on this blog.
The second approach involves,writing the java code in a class and using a Java Embedding in the BPEL in order to meet the requirement.It can be tested individually as well, but as we need to integrate, so it should be called from somewhere and BPEL makes this possible.
In case of of JDE.it requires DB2 client installed on the machine from which the call to JD Environment will be made,and the dependent libraries and jars.
While compiling the code containing BPEL to call the JDE environment, you might encounter an error: Jars could not be found in the BPEL Classpath.
This occurs because at the runtime BPEL looks for the location from where it could pick the dependent jars to hit JDE.
For this you need to do following:
1)Open enterprise manager http://localhost:7001/em
2)Right click on soa_server1
There are two approaches for this:
1)Application Adapters
2)Dynamic Connectors
With the first approach,you just need to install Oracle Application Adapters,follow the installation guide for it and you'll be able to configure it for integration as it discusses about all the requirements,jdeinterop.ini in case of JD Edwards,configuration...GenJava stub...classpath etc..So,it's not worth writing about it on this blog.
The second approach involves,writing the java code in a class and using a Java Embedding in the BPEL in order to meet the requirement.It can be tested individually as well, but as we need to integrate, so it should be called from somewhere and BPEL makes this possible.
In case of of JDE.it requires DB2 client installed on the machine from which the call to JD Environment will be made,and the dependent libraries and jars.
While compiling the code containing BPEL to call the JDE environment, you might encounter an error: Jars could not be found in the BPEL Classpath.
This occurs because at the runtime BPEL looks for the location from where it could pick the dependent jars to hit JDE.
For this you need to do following:
1)Open enterprise manager http://localhost:7001/em
2)Right click on soa_server1
3)Select SOA Administration
4)Then BPEL Properties
5)BPEL Service Engine Properties will open up
6)Click on More BPEL Configuration Properties
7)Under The Attributes Tab,look for BPELcClasspath
8)Enter the location of the jars in the value field
9)Click on Apply and now compile your project containing Dynamic Connector,Java Embedding in BPEL.
I am sure you wont get any errors...
Subscribe to:
Posts (Atom)