Calling ESS from ODI
Is it possible to call an ESS web service within ODI? If so please let me know how?
not sure what you mean by ESS (http://www.all-acronyms.com/ESS) but calling a web services is pretty simple from within ODI i.e. using OdiOsCommand. We trigger different SourceSystems this way to deliver csv files (i.e. to an ftp site or via Mail), also i.e. OBIEE-iBots (Agent in 11g terminology) can be triggered this way.
Similar Messages
-
Asynchronous Call Back from ODI to BPEL
I am trying to implement the example for the article Asynchronously Invoke ODI Scenario from BPEL Process with Callback in OTN.
However I am not able to download the OBE_LABS directory.I guess they have changed the location.
Can anyone share the folder with me.
Thanks
Raj.Can someone please help me on this...
Thanks
Raj -
Calling PL/SQL user defined functions from ODI Constraints
Hi All,
We are trying to call user defined PL/SQL functions from ODI. We are able to call them from ODI's User functions. But when we are trying to call them from ODI Constraints under Models, it is throwing an error 'ORA-00920 invalid relational operator'. Kindly let me know if anyone has faced the same issue and got the resolution for the same. Thanks in Advance.
Regards,
Abhishek SharmaHi Ace,
Thanks for the response, the same error was coming in operator also.
I am able to call PL?SQL user defined functions from ODI Constraints. We have to first call ODI User functions from the ODI constraints as we cant call PL/SQL function (compiled in database) directly.
From the ODI User functions, we can then call the PL/SQL functions.
Please reach out to me if you need further details reg this. -
Can we call java jar from ODI?
Hi All,
Can we call java jar from ODI? if yes please suggest how?
Regards,
SatishThis is an excellent article from Uli.
One reason, I dont like this approach is that is mandates to copy the .jar file to the driver folder and restart the agent.
Think of a scenario where there are several developers in love with Java and want to place the jars in the drivers directory.
This is a maintenance nightmare for the admin and would clutter up the drivers directory.
Find here the way to invoke Java jar methods
http://askankit.blogspot.com/2010/09/call-java-jar-methods-from-odi.html -
Odi os call with option parameter from odi procedure
Hi.
I am calling a shell script from ODI as below inside an ODI procedure P1. The os command below is in 'Command on Target' side.I have defined v_in_param as an 'option' inside procedure P1
OdiOSCommand sample.sh v_in_param
i am getting error as 'OS command returned 1'.
Is it the right syntax to pass an 'option' parameter to an OS call?
thanksyou can try OdiOSCommand sh sample.sh <%=odiRef.getOption("v_in_param")%> or even call OS Command in ODI Package and paste the above code.
-
I want to call SAP RFC from ODI. Client has provided only a set of RFC's. So I want to call these RFC's to extract data from SAP ERP system or BW to Oracle Staging using ODI. Would anyone please tell me how it will be possible?
I want to call SAP RFC from ODI. Client has provided only a set of RFC's. So I want to call these RFC's to extract data from SAP ERP system or BW to Oracle Staging using ODI. Would anyone please tell me how it will be possible?
-
ESS throwing error while calling transaction from R/3
Whenever u try to pull certain I-view like under ESS > Income tax provisional statement then the portal throws below mentioned error. Portal is not able to call transactions from R/3.
Error:
The requested URL could not be retrieved
While trying to retrieve the URL: http://dev.mglep.com:26000/sap(ZT0yZElaRG5xNDlZdFF4aGcyTDhzMWxRLS1hVUR5bDBMbjBDZ2hWUUcyMlZmcmlBLS0=)/bc/gui/sap/its/webgui?
The following error was encountered:
Connection to 69.43.161.156 Failed
The system returned:
(111) Connection refusedThe remote host or network may be down. Please try the request again.
Your cache administrator is root.
Please helpHi,
Please check the parameters that has been defined in SICF for the transaction you are using.
With Regards,
Kaustuv Goswami. -
Calling UNIX shell script from ODI package?
Hi,
How Can we call UNIX shell script from ODI package?
I have a ftp_ss.sh script which which ftps a file from remote server to local server, archives the last file and renames new file to the standard (ie file data store)name.
I want to run the above script and interfaces from a package.
Any help is greately appreciated.
Thanks,
RDIn the package window, put "OS Command" from the toolbox.
Provide the command parameters to this tool in form of "/path/to/script/ftp_ss.sh" -
Unix shell script wont execute from ODI
Hi All.
I have an interface that calls a shell script to append a record number to a flat file. The shell script is called by the Execute OS command action.
This works fine in our dev environment as we have migrated the code to a new environment it no longer works.
The error I'm getting from the session task is "wrong process code: 127" and from the session step
ODI-1226: Step Append Record Number into the file fails after 1 attempt
ODI-1242: Operating System command execution fails
I'n calling the shell script as below:
sh xxc_rms_append_record_number.sh
The shell is in the same directory as the agent i.e. agent/bin
Thanks in adavance
GuyHi ,
I assume you are using ODI 11g.
Please try / check the below steps --
1> Try to use OdiOsCommand instead of OSCommand .
2> Try to execute the shell script in the directory in the path you want to run (not from ODI)
3> Recheck the path whether you should run in that directory or not (Environment wise directory can be changed)
Thanks -
Calling package from java using JNDI properties
Hi there,
I have created an interface to transfer data from oracle to JMS XML Queue. It is inside a package and have generated a scenario.
The scenario works well when executed from the ODI designer. When I execute it from java it throws an error. The error is
java.sql.SQLException: Cannot load connection class because of underlying exception: 'javax.jms.JMSException: Cannot create the initial JNDI context
Is there any ways to set the JNDI properties, (any set methods for ODIConnection object)
CheersAre you serious with that question? Did you try to build the web service client before? Because this is exactly the same. Try to find "building web service clients" instead "Calling BPEL from java". By default (probably) every BPEL process has both WSIF and SOAP end points, just use correct WSDL address.
-
Hi ODI Gurus,
I need to execute unix scripts which will internally call java programs from ODI.
I am trying using the packagae - OS Command option but it is saying "Wrong process return code"
Appreciate your inputs ?
Best Regards
ArcHi Arc,
Like to contribute some points,
Wrong Process Return Code will be returned due to,
1. ODI cant able to access your script file ie, access permission issues, script reside in some machine where your ODI agent cant find it.
2. Your script itself failed ie, there is some problem in your script and if its failed ODI will retrun the error. So its always a best practice to redirect the output of script to a log file.
Hopes this helps you.
Thanks,
Guru -
Run multiple unix commands from ODI procedure
I want to run a series of unix commands from ODI procedure. I dont want to use Unix shell scripts. (I know that works).I am just trying to place the contents of the shell scripts in ODI procedure with Operating system as technology. But I am unable to execute the proecedure.
For example below is a very small 3 line commands I would execute
filename="/var/test.txt"
ls -l $filename > /var/anotherfile.txt
chmod 777 $filename
I am not sure if there is any specific syntax that I have to follow for executing unix commands. Also I dont want to write a Jython and use os.system command as well.
Appreciate any help on thisFirst your original question... You can put more than one DOS command on a single line, simply separate each command with an ampersand (&). For example:
mkdir c:\abc & cd abc & dir*
Regarding your concerns about performance, well that would depend on exactly what you mean. Using CLIENT_HOST (or HOST on the server) simply opens a shell (DOS in this case) then passes your command to it. The performance of performing this action really isn't measurable. Basically you are just pressing a button and you should get a near immediate action. As for the performance of executing each command, that has nothing to do with Forms. Once the command is passed to the shell, the rest is a function of the shell and whatever command you passed.
Having said that, if you were to write something sloppy like a loop (in pl/sql) which called CLIENT_HOST lots of times repeatedly, then yes there would be a performance problem because the pushing of the button will cause an exchange to and from the server and each cycle in the loop will do the same.
So the answer to how performance is impacted will depend on what exactly you need to accomplish. If it is a single call to CLIENT_HOST, this should be fine. -
Calling report from form. Need PDF output
I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
ThanksThanks for the response. The first part worked. I am able to get the output in PDF format. In the 2nd part where I want to open acrobat and display the output, I am having some trouble with the code. When I compile, it says
win_api_environment.read_registry must be declared. Is there some package I need to attach?
Also, in the After reports trigger, how do I pass vFile (I am assuming this is the PDF file name)?
Thanks
The first thing you'll want to do is pass parameters to the report IE DESTYPE, DESNAME and DESFORMAT where these could be FILE, 'c:\temp\report' and PDF.
Then, you can try this piece of code I wrote (with some help from other people at Metalink and here) sometime back. Now, I call it from forms, but in your case, you'd have to run it in the after report trigger. Since with RUN_PRODUCT you don't know when the report is finished, if you did it from the form, it wouldn't work correctly.
PROCEDURE OPEN_PDF(vFile IN VARCHAR2)
IS
vcServerApp varchar2(40);
vcServerTag varchar2(600);
vcCommand varchar2(2000);
iArgPos pls_integer;
dummy NUMBER;
BEGIN
-- 1 get the Server App for .PDF files
vcServerApp := win_api_environment.read_registry('HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\.PDF','',true);
-- 2 get the executable
vcServerTag := 'HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\'||
vcServerApp||'\SHELL\OPEN\COMMAND';
vcCommand:= win_api_environment.read_registry(vcServerTag,'',true);
-- 3 Sort out how to specify the Filename
iArgPos:= instr(vcCommand,'%1');
if iArgPos = 0 then --no substitution Var on the command line
vcCommand := vcCommand||' '||vFile;
else
vcCommand := substr(vcCommand,1,(iArgPos-1))||
vFile||substr(vcCommand,(iArgPos+2));
end if;
-- 4 Run using Winexec (or Host if preferred).
win_api_shell.winexec(vcCommand);
EXCEPTION
when no_data_found then
abortt('Acrobat Reader was not found! Please consult with your help desk to install it and try again.','N');
END;
Chad
I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
Thanks -
Contact name not showing in call/sms log even when I call/sms from my address book.
Two things have changed on my phone recently.
1. I ran the latest update 4.3.2
2. My phone was not showing all the contacts in my address book that is in my Mobile Me account. Mobile me had 166 contacts. The iPhone 4 had 136. I I unchecked the syncing of my contacts on my phone. This removed all the contacts from my phone. Then I check the syncing options again. All 166 appeared on the phone.
I'm not sure which of the two caused the issue but now anytime someone who calls their name does not appear on the display or log, just their number. I can even call people from my address book and the display shows that I am calling them with their name and photo on display. However, in the call log the name does not show just their number. This applies for text messages. I send a message directly from within the contact card in the address book and in my text log it shows only the number and not the name.
I've turned the phone off and on a couple of times.
I would appreciate any advice.
CheersThanks iraghib,
In the end I reset my phone to factory settings. I created a back up of my address book and ical. Reset the phone and did a sync again. This fixed it all. I didn't need to use the backups but is was nice to know they were there. I felt entering the various passwords for all my installed apps was a much better deal than adding the international area code to the 166 contacts I have in my address book.
Good luck. And thanks for the post. -
How can I access my Call Handlers from outside line (outside district)
CISCO VoIP System Info:
Cisco Unity Connection version: 8.6.2ES25.21900-25
CM Admin System version: 8.6.2.21900-5 on C200M2 Servers
Our engineer setup our Call Handlers so that in our to change the recordings on them, you diall 7800 from a phone inside the office, or as he put it in the procedures, from within the district. Once you dial, you need to enter the user code, password, then the extension of the Call Handler, and we have no problems recording/changing any Call Handlers. However, due to possible inclement weather approaching in the next few weeks, I was asked how we cna change them from an outside line (manager's home, etc.). We cannot access from an outside line. 7800 is not a DID, it is simply the extension he assigned to access the call handlers. I even went so far as to setup a dummy phone and forward it to 7800, but this does not work either. It forwards to the extension's voicemail. Is there a way we can access the Call Handlers from an outside line? Any help would be gretaly appreciated. Thank you in advance.Hey Joseph,
Go Flames ....errrrrrrrrrrrrrrrrrr maybe not so much
What you are trying to get to is really just the Greetings Administrator
conversation and there are multiple ways to get there.
For example, you can set up a Caller Input off any mailbox (Press 1-9) let's say 7 to
go to Conversation> Greetings Administrator. So you could set this on the managers mailbox
and when he calls his own number from home once his greeting
kicks in he can press 7 to link to the Greetings Administrator conversation
or
You could set up a DID DN xxx-xxx-2345 as a CTI-RP and set Call Forward All to reach Unity Connection.
In this case you will need to use the Forwarded Routing Rules = xxx-xxx-2345 route to
Greetings Administrator. Make sure to move this rule to the bottom of the list!!
Cheers!
Rob
"Why do the best things always disappear "
- The Band
Maybe you are looking for
-
Help needed in hr abap om reporting
hi to all experts, 1)can we declare two ldb in a single program 2) i need a sample code for om reporting ( if anyone could explain it would be great) 3) can we use macros rp* in om reporting if yes how thanks.
-
I use a MAC desktop and Thunderbird with latest update. Recently, when I've tried to open an e-mail that I saved earlier as a file with the .eml suffix, what opens is always the same unrelated e-mail that I saved earlier to an unrelated file. It seem
-
Disabling user form fields in Jsp..
Hi I wrote a function to disable form fields for a resource. function disable(element){ if(element != undefined){ element.disabled = true; element.className="Fieldsdisabled"; element.value=""; when I call this method like
-
HT5621 my apple id said to be disbled, how can i make it enabled?
when i updated my new applications on my i phone 5s, it said my apple id is disabled, how can i change disabled to enabled position. i want my applications updated.
-
Hello, I just installed CR 2008 "Crystal Reports 2008 Fix Pack 3.3 - Redist Install" for the first time on a test box to try out my distribution. I was suprised to see that the DLLs were not installed in the GAC (they are for prior versions of CR) Di