How can I call a COM object from a PL/SQL CODE
Hi everyone,
Does anyone know how to call a COM object from a stored procedure in oracle.
a sample of code
please help,
Hilaire
Are you familiar with external procedures? Basically, you can expose functions exported by a shared library (i.e. a DLL on Windows) to the Oracle database. My assumption is that you'd probably need to write a wrapper DLL around the COM object, since I believe you can only pass fundamental data types back and forth (i.e. no object references). You'd expose the method(s) of that wrapper DLL to the database via external procedures.
Justin
Distributed Database Consulting, Inc.
www.ddbcinc.com/askDDBC
Similar Messages
-
How can I call a java object from Web dynpro ABAP application?
I made Web dynpro ABAP application and posted it to SAP EP.
For certain business purpose, we need to call external 3rd party java object using 3rd party's java api in Web dynpro application.
Is there anybody who experienced this kind of java interface issue?
I know Web dynpro Java environment can fully support this kind of requirement. but regarding Web dynpro ABAP, I couldn't find any clue for this.
Any comment or suggestion would be greatly appreciated.
Thanks,
Raymond, ABAP Consultantif you have jco configured, then you can make calls to java api from ABAP .
check out this weblog.
/people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
Raja -
How to call a COM object from an Oracle Form?
Hi All,
Pls advice. How to call a COM object from an Oracle Form?
Thanks.try asking the "Form" forum
-
How can i call mouse click event from keypress event???
How can i call mouse click event from keypress event???
I want same GUI changes to be occured at key press.....i.e . button going down & comming up.....
for calculatorPut all the code that happens on those events into a method. Then call that method from both events.
-
how can i call Apple in usa from Egypt to buy an iPhone from Apple store please who khnow the contacting number answer me
http://www.apple.com/eg/buy/
There are three companies linked to towards the bottom right to purchase an iPhone from. Above those three is Arab Business Machine. Choose one, or check each one out. -
How can I call a plsql function from an attribute?
I have an attribute defined in an element. I want execute a PLSQL function from the attribute, and display the returne value with an HTML template.
I've defined the attribute's type like PLSQL, and I've put the called of the function in the value of the attribute, but it doesn't work. The only value I obtain is an URL (I think that is the URL of the function or someting like this).
How can I call to my function from the attribute and display the returnes value in the page?
Thanks.Thanks, but it doesn't work. I have an attribute called ID_BOL and I want to associate a sequence to that attribute. I've created a function, with the sequence. This function return de value of the sequence. I want taht the attribute takes the value of the sequenece dinamically.
I've tried it, creating the type attribute like PLSQL, and calling the function from the attribute, but it doesn't work.
How can I return the sequence value to my attribute?
Thanks. -
Can any one tell me how can i call a shell script from pl/sql
i like to call shell script from pl/sql procedure.
can any one suggest how can i do thisHave you not mastered in asking the same kind of question ?
First do write a script...
no one will spoon feed you.
How can i call a shell script from procedure
How to call Shell Script from pl/sql block
-Sk -
How can i call a shell script from procedure
I have a shell script.now i am i a situation to call that shell script from one of my procedures and need to get a value from that script.
can u suggest me that how can a call the shell script from pl/sql?Is the same question you asked here
How to call Shell Script from pl/sql block
-SK -
How can I drop the java objects from a schema
hi..good afternoon all...
How can I drop the java objects from a database schema???
suppose the credentials are scott/tiger@db1
Another thing is that...I have to do this from cmd(command prompt) as there is no plsql developer or sqldeveloper installed in the machine.
plss help...thanks in advance...hi...i have already tried all the options..but it is showing the error..
ora:01435 - user does not exist
but when i have given the command...
select object type, object_name, status from user_objects where object_type like'%JAVA%';
then it is showing that the java_object is present....
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
SQL>
SQL>
SQL> set linesize 200
SQL>
SQL>
SQL>
SQL> select object_type, object_name, status from user_objects where object_type
like '%JAVA%';
OBJECT_TYPE OBJECT_NAME
STATUS
JAVA CLASS javaclass1
VALID
JAVA SOURCE javaclass1
VALID
SQL> drop java source javaclass1.java;
drop java source javaclass1.java
ERROR at line 1:
ORA-01435: user does not exist
SQL> -
How can i call forpro prg file from java
Hai friends,
I have a doubt,clear it.
how can i call forpro prg file from java file
by,
N.VijayThanks to your reply,
I have some print statements in my foxpro program file.
Then i like to invoke that foxpro file from my java file
This want i want..,
by,
N.Vijay -
How can i call a DLL file from labview?
Iam using a sensoray 2601 module.It is given as DLL file(S2600.DLL).How can i call this function from LabVIEW?
Please Mark the solution as accepted if your problem is solved and donate kudoesAs far as I can tell problems might occur with the call library function node if the the DLL from visual basic is actually an ActiveX dll if that is the case it seems calling the dll by using the Invoke node is the way to go.
Have a look at this
/sletten -
Instantiating COM objects from within the java code in WLS
is there a way to use COM objects from servlets or ejb's,
with JVM, not with JView.
thanks,
ali.Sun has released a beta product - its a COM bridge that you can use
to connect a Java2 JVM to a COM object with. I havent tried it yet
but I probably will soon.
Brad
"Michael Girdley" <[email protected]> wrote in message news:39b86deb$[email protected]..
>
>
No, at the current time we only support COM integration when using the
Microsoft JVM. The Jintegra product from Linar is good.
Thanks,
Michael
Michael Girdley
BEA Systems Inc
"Ali Ozgun" <[email protected]> wrote in message
news:[email protected]..
is there a way to use COM objects from servlets or ejb's,
with JVM, not with JView.
thanks,
ali. -
How can I use a COM object that does not have a type library?
Hello,
I've created a com server in python for which I do not have a type library. I am able to call functions for this application in Python, TCL, I'm sure VB, etc. without the type library.
Must I have a type library registered to use this COM object with Labview? I was hoping I could simply supply the name to the refnum (or the GUID) then call functions by passings strings to the invoke node. This does not seem to be possible - am I missing something?
In the event that I cannot use a com server without a type library. Any recommendataions on how to create one? I'm wondering if I can use the same GUID and create a shell in LabWindows which generates the IDL/TBD file I need for Labview to see my
com server.
Any help is greatly appreciated.
73,
TimothyTimothy Toroni wrote:
> Thanks for the info, however their example is labview server and
> python client. I'm going the other way. It's good to know about
> LabPython though...
>
> As of now, it seems to be there is no way to use a COM object without
> a type library from inside LabView.
Yes that is true. LabVIEW needs that to configure the Property and
Methode Nodes correctly. Otherwise it would need to have a special
Property and Method Node with a configuration dialog similar to the Call
Library Node, but a LOT more complicated. Not sure many people could
make use of that, and it would be a very tiring experience trying to get
things setup in that way, by going through the edit, test, and crash
cycle over and over again.
Rolf Kalberm
atter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
How can I call a Jscript function from XML, which is written seperatly outside the xml file
Dear All,
I have made a SharePoint ribbon button which should display an alert message with SharePoint custom list
ID information. But it has problem for calling the Jscript methods, It may be a XML tag mistake!!! Unable to
find the error in code line!!!, can somebody please tell me this error by referring my code snippet????
It is a farm SharePoint solution I have kept the Jscript file in mapped folder named "Layouts"
It is showing the error as : JavaScript runtime error: The value of the property 'myFunction' is null or undefined, not a Function object
That means, as I understand the control is not moving or not calling the function from JScript file....why it
is so...not able to debug JScript or xml using Visual Studio that makes my effort tedious!!!
Code:
Elements.xml
<CommandUIHandlers>
<CommandUIHandler Command="ShowAlert" CommandAction="javascript:retrieveListItems()" EnabledScript="return true;"/>
</CommandUIHandlers>
<CustomAction Id="Ribbon.Library.Actions.Scripts" Location ="ScriptLink" ScriptSrc="/_layouts/RibAlert.js"/>
</Elements>
RibAlert.js
<script>
var siteUrl = http://A5-1224';
function retrieveListItems()
var clientContext = new SP.ClientContext(siteUrl);
var oList = clientContext.get_web().get_lists().getByTitle('Measurements'); //getByTitle('Custom List');
var camlQuery = new SP.CamlQuery();
camlQuery.set_viewXml('<View><Query><Where><Geq><FieldRef Name=\'ID\'/>' +
'<Value Type=\'Number\'>1</Value></Geq></Where></Query><RowLimit>10</RowLimit></View>');
this.collListItem = oList.getItems(camlQuery);
clientContext.load(collListItem);
clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
</script>Hi,
I suggest you write an alert() in your function to check whether it can be executed first.
If alert() is ok, then it would be an issue of the code with Client Object Model, you can take a look at the link below about How to retrieve List Items Using JavaScript:
http://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx
If alert() can’t be executed, then please check whether the steps of created ribbon button is correct.
The links below about how to add a custom button to the ribbon:
http://aarebrot.net/blog/2010/09/adding-a-custom-button-to-the-ribbon-using-a-feature-in-sharepoint-2010/
http://www.c-sharpcorner.com/uploadfile/anavijai/how-to-create-custom-button-in-sharepoint-2010-ribbon-user-interface/
https://pholpar.wordpress.com/tag/custom-actions/
What’s more, there seems no query succeeded handle function in your code, please take a look at the link provided above for a reference.
Thanks
Patrick Liang
TechNet Community Support -
How can I call a java class from within my program?
I was wondering if there's a platform independent way to call a java class from my program.
Here's my scenario. I'm working on a platform independent, feature rich, object-oriented command prompt program. The way I'm designing it is that users can drop classes they write into my bin directory and gain access to the class through my program. For example, they drop a class named Network.class in the bin directory. They would type Network network at my command prompt and gain access to all the methods available in that class. They can then type system.echo network.ipaddress() at my prompt and get the system's ip address. I have it designed that there's a server running in the background and the clients connect to my port. Once connected the end-user can enter their user name and password and gain access to the system. When they type a command they actually call another java program which connects to my server using a seperate thread. They can then communicate back and forth. I have it set that everything has a process id and it's used to keep track of who called what program. Once the program is done it disconnects and closes. Rather than getting into the nitty gritty (I didn't want to get into heavy detail, I know how everything will work) I'm really interested in finding out how I can call a java program from my program. I don't want it to be part of the app in any way.
Maybe you are looking for
-
Sales order stock with stock transport orders
Dear all, We are on ECC 6.0. We are using intracompnay stock transport orders from one plant to other. Sales orders are created in one plant with a purchase requisition and then converted to a purchase order with order type UB on the supplying plant.
-
Error message when launching Automator - wrong version
Clicking on Automator results in a popup error message saying I can't use this version of Automator with this version of OS X. It appears I have version 2.0.4 of Automator, dated by in August of 2009. My Operating System is 10.6.6 running on a fairly
-
Trouble with opening a 2nd page of Safari and getting Wx or Stock updates?
My ipod touch says it is connected to internet through my home wifi router and all the items under Settings>wifi seem correct. My windows laptop works correctly on the same router. But when I open Safari on the Touch, the first page of the web site o
-
Why Oh Why does Apple make it so hard to get an simple answer on something-
My main complaint is that Apple seems to go out of its way to put everything in categories for support help, and makes it very difficult to access a simple email access to support techs for questions that are not listed. Most recent example: I purcha
-
iPhone could not be activated because activation server is temporarily unavailable. this is now the third day and nothing improves please help. iTunes says my sim is locked but I can't unlock it