Call ODI interface from Business Rule
Hi All,
Is there any way to call ODI interface from business rule?
I search the forum and found there is a way to call java code from business rule by CDF.
ODI provide a dos batch file to invoke the ODI interface. But, how can I call batch file from business rule.
I am using planning version 11.1.1
Thanks.
I can call the JAVA from business rule after assign the security in udf.policy.
And, I am working on calling ODI scenario. However, I found connection refuse as follows.
ava.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at java.net.Socket.<init>(Socket.java:367)
at java.net.Socket.<init>(Socket.java:180)
at oracle.odi.sdk.invocation.internal.AgentNetworkCmd.<init>(AgentNetworkCmd.java:38)
at oracle.odi.sdk.invocation.OdiInvocation.<init>(OdiInvocation.java:107)
at com.gammonconstruction.odi.ODICaller.main(ODICaller.java:
do I need to add scheduler agent for java request ?
and, how to add the agent if need?
Similar Messages
-
Can I call an interface from java
Dear All,
Can I call an interface from java in ODI ?
Best Regards
ArcShort answer, Yes.
Long answer - you must create a scenario from the interface (the scenario is the "executable" code), right-mouse-button on the interface in the tree and "Generate Scenario". This can then be called using the invocation api this is documented in your <installationdirectry>/oracledi/doc/sdk/invocation. This points you at all the necessary classes etc to use. -
Running ODI Interface from BPEL WEB SERVICE
Guys,
How to invoke ODI Interface from BPEL Web service?
i.e can we use odistartscenerio?if we can then how to pass conext/agent as parameters?
CheersYou need JavaEE agent and configure odi run time service. BPEL can then call this service to start an odi scenario.
For details refer to http://docs.oracle.com/cd/E15586_01/integrate.1111/e12643/running_executions.htm#BABDHJJF
and for installation of JavaEE agent http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/setup_jee_agent/setup_jee_agent.htm (as part of extending the domain you get the option to deploy this service)
Regards,
Harris -
Calling BSP Application from Business Object?
Hi,
Can any one tried to call BSP Application from Business Object for showing in the Portal.
I have the following Scenario:
1. BSP Page: User will input the Date and Submit to store in the Database. and in this page the Workflow will be truggered and a Work item will be sent to the Next Level User.
2. When he executes the Work Item it has to trigger the BSP Application and has to show in the Enterprise Portal.
All this has to happen in the Enterprise Portal.
If any one knows how to triggere from business object, please let me know.
Thanks & Regards
SumanthHi Vijay,
Thanks for the information. Its long back i was working on this, but not successful,
Now the similar requirement i need to develope in R/3.
I checked the mentioned class in R/3 4.7, This class is not available. I hope this is only in CRM because of PC-UI.
Any Suggesions how can i achieve this execution of BSP.
In one of the document i saw the Business Object BUS1006 as an example but i could not locate the way to reutilize the similar way.
Thanks & Regards
Sumanth -
Control process flow from Business Rules
hi
i would wish to control the process flow in BPEL by using Business Rules(based on conditions) rather than using Switch. how can i accomplish this? please do help me in this.what do you mean with control the process flow? Do you mean to destine which partner link is called? Or just make some decissions through the business rules and use a switch afterwards....
If you are talking about controlling the partner link to be called, then you should have a look at the chapter three of the cookbook
http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html
You could use the outcome of the business rule to make a decission which endpoint reference to use. Perhapes even return the endpoint reference from the business rule...
Greets Jens -
Calling Remote interface from client
Hi there!
I am working on a BMP (using weblogic 6.1)
My problem is - How do I contact remote interface from client. In my jndi tree I have mentioned only Home interface. Right now I am calling my remote interface like this:
//contact home interface
Object obj = ctx.lookup("APIHome");
APIHome home = (APIHome) javax.rmi.PortableRemoteObject.narrow(obj, APIHome.class);
//creating remote somehow - I got this clue from a website
rem = home.findByPrimaryKey(new EntityPK("test1","test2"));
//calling getter & setter methods
rem.setWidth()
rem.getId();
This works...but doesn't make any sense to me. Why should we initialize remote interface as above. Or is there any other option. Can somebody please explain me more clearly about this concept.
Thanks very much
regards
-ManasviThe HomeInterface contains two types of methods - create and find. The create methods create an instance of the entity bean(i.e., a record in the database) and the finder methods finds an existing record in the database, constructs an entity bean representing this row and returns the remote interface of this bean to the client for further manipulations.
-
Displaying Value from Business Rule in the UI
My requirement is as follows:
I profile a customer based on some business rules and the business rules asserts a business object based on the rule evaluation. I checked the output of the Business Rule and I can see that the values have been set correctly but when I added the Business Object to the Human task the same is not displayed in UI. Can anyone please help me on this. I am using 11g.
Regards
VenkatIf i'm not wrong, this is undoubtly teh MOST ASKED Qs on the Forum .
U can get help from URL :- http://jsptags.com/tags/navigation/pager/
Also, the Java Pet Store application has another such JSP tag library. Look in the package com.sun.j2ee.blueprints.petstore.taglib.list
OR just simply search the Forums & u'll get many replies to ur Query -
Calling Synchronous Interface from Asynchronous in BPM
Hi,
Are there any articles I can browse through or review which explains how to call Synchronous Abstract Interfaces from Asynchronous Interfaces in BPM.
Regards,
Amar NemalikantiHi Amareshwar
check these blogs, hope they give you the required information,
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
Regards
Vishnu -
Removing Message Interface From Business Service
Hi Experts,
I want to remove one message interface from the Business Service.But, am not able to do so from ID.
Can anyone tell me how can this be done?
Thanks,
Sushamahi,
>>>Business Service.But, am not able to do so from ID.
if you're talking about business service (not business system)
then just select the message interface and press the minus sign
that's all
if this is not possible you may not have sufficient authorization
Regards,
Michal Krawczyk -
Apex button calling ODI Interface.
Hi Everyone,
I have to run ODI interface using apex button means on apex screen several buttons will be there each one calling different ODI interface...
Is it possible in apex and if yes then what approach should i follow?
Thanks in advanceIt would be of great help if you started off by explaining what "ODI" and the nature of its interface is. It seems non-obvious in this context?
It would help even more if the information requested in the FAQ and forum sticky threads was provided:
- APEX version
- DB version and edition
- Web server architecture (EPG, OHS or APEX listener)
- Browser(s) used
- Theme
- Templates
- Region type -
Hi, I have a question that hopefully someone can give light to.
Our current requirement for an ODI solution is to have business users create or edit rules (not just table constraints, but actual complex business process rules) that they would like to apply to the data during integration. I was thinking of two possibilities for this:
1. Load a rule file in ODI and then execute the rules in ODI.
2. Use Oracle Business Rule.
Between the two options, which is most likely possible? I have yet to fully explore ODI so I'm not sure if both of these options are feasible. If not, can someone give me sound ideas to work on for this requirement?
Thanks,
JasonMelli,
I just started with semantic so won't have many useful ideas for at least some time.
mostly there will be bugs and misunderstanding on my part.
At this point i do see that the supplied library is not working properly . see my other thread. Fixing that would be really helpful.
Let me know
As of Composer - well let's just say its cost ineffective for organization to use on pilot project.. -
Calling shell script from udev rule
Hello,
I've encrypted partition with key stored on usb drive. I created udev rule:
SYSFS{size}=="....", SYSFS{serial}=="....", ACTION=="add", SYMLINK+="pendrive", RUN=="/bin/sh /home/kamil/bin/cryptsetup.sh"
as You can see I would like to call cryptsetup.sh when pendrive has been inserted. This script looks like:
/bin/mount /media/pendrive
/usr/sbin/cryptsetup luksOpen /dev/sda7 enc1 -d /media/pendrive/key.txt
/bin/mount /mnt/enc1
The idea is to create /dev/mapper/enc1 and mount it automatically without any user action. My problem is that second line of this script (cryptsetup command) hangs for a long time - minute or two.
Here, if it helps, is the listing of processess when cryptsetup hangs:
ps ax | grep crypt
1379 ? S< 0:00 [kcryptd/0]
6418 ? S< 0:00 [kcryptd/1]
8046 ? S< 0:00 /usr/bin/perl /home/kamil/bin/cryptsetup.sh
8049 ? S<L 0:01 /usr/sbin/cryptsetup luksOpen /dev/sda8 enc2 -d /media/pendrive/key.txt
8098 pts/2 S+ 0:00 grep crypt
Notice status of command /usr/bin/cryptsetup... - it's S<L. I don't know if it is connected to the problem.
When I comment out this udev rule, connect the pendrive and than manually call cryptsetup.sh I have no problem and everything works fine.
Any ideas how to fix that?
Thanks, best regards
KamilHi,
Requirements
* CREATE JOB (10g Rel.1)
* CREATE EXTERNAL JOB (10g Rel.2 / 11g)
* EXECUTE on dbms_scheduler (granted to public by default)
Since Oracle 10.2.0.2 the commands are executed as user nobody.
Code:
--Create a Program for dbms_scheduler
exec DBMS_SCHEDULER.create_program('RDS2008','EXECUTABLE','c:\ WINDOWS\system32\cmd.exe /c echo 0wned >> c:\rds3.txt',0,TRUE);
--Create, execute and delete a Job for dbms_scheduler
exec DBMS_SCHEDULER.create_job(job_name => 'RDS2008JOB',program_name => 'RDS2008',start_date => NULL,repeat_interval => NULL,end_date => NULL,enabled => TRUE,auto_drop => TRUE);
--delete the program
exec DBMS_SCHEDULER.drop_program(PROGRAM_NAME => 'RDS2008');
--Purge the logfile for dbms_scheduler
exec DBMS_SCHEDULER.PURGE_LOG;
This is one way as suggested by Trent.
We can also achieve as follows.
http://www.dba-oracle.com/t_execute_shell_script_plsql_procedure.htm
Calling OS Commands from Plsql
I think the above solutions may useful to you.
Let me know if you are facing any problem.
Thanks and Regards
Maheswara -
Running Maxl from business rule
Hi,
We have very large BSO cube and we decided to create ASO for aggregation purposes.
We were thinking of running the replicate partition with Maxl, but we want to do it at the end of every business rule.
In order to do it we want to have the possibility to run Maxl from the BR. We heard that there is a way to do so, but we couldn't find guide / tutorial / any other thing that will give the proper explanation.
We are working with 11.1.2.2
Can someone help?
Thanks,
Ramiduplicate post https://forums.oracle.com/message/11106737
-
Security removed from business rules
Hi,
The business rules for an application stopped working with an error it could not be validated against the database. I looked on this thread
Error validating business rule
The security was no longer present. The business rules had not been imported. I added it back in and things started working. I would like to know why the security was lost as I have not seen this before.
Thanks,
NathanHas it only every happened once and on one rule? If so I am not sure if you will get a definitive answer to why the rule has no security.
Cheers
John
http://john-goodwin.blogspot.com/ -
Call ODI Scenario from a Java Program
Hi,
I would like to invoke the ODI Scenario from a Java Program. Is there any way i can do this?
Please let me know if you have any posts related to this.
Thanks,
MansurCheck this ..
How to run ODI scenario from java?
Maybe you are looking for
-
How do i connect external hard drive
Was trying to copy mp3 audio book into I tunes library which I think I have on an external drive. I kept getting failures that said could not access drive. I know I could see the drive on my desktop. Itunes would only copy some of the flies (about
-
Passing a parameter to a BW Web Report via a URL
Hi, I have a BW Web Report that has a selection screen that allows a project to be selected. I would like to call the report passing the project as a variable, automatically populate the selection screen field and execute the report. Is this possible
-
hi all, could anyone explain me how to run a payroll for a particular pernr. Thanks in advance.
-
I want to understand how crypto works.
Hi, I want to understand how crypto works and all. where i can start with. i really dont know anything about crypto. i need to understand how DC and keys and algorithims work together and how they work. pls suggest me where and with what i can start.
-
ZDATE_ILLEGAL_LOCTIME Short dump
Dear all c any one tell me the solution for this dump runtime error : ZDATE_ILLEGAL_LOCTIME Make a note of the actions and input which caused the error. To resolve the pr