Hello,
Is there a way i can access a dll registered in COM using oscript?
Thanks,
I have never done this other than call a windows program but here's a thread that supposedly does this
https://knowledge.opentext.com/knowledge/cs.dll?func=ll&objId=3968260&objAction=viewincontainer&ShowReplyEntry=3969583#forum_topic_3969583
BTW what is so difficult in calling a java class who can manipulate the com thing
from oscript.The java class could be the middleman here wouldn't it
A dropin would enable simpler architecture. Java in between makes it more complicated but supporting dropins may not be easy outside OT.
You could also make a wrapper around your COM component offering a service access via a TCP socket or even with HTTP protocol. Then you could communicate with your wrapped COM object using built-in OScript functionality.
--- Ferda
Me and one of my colleaugues actually did a webservice call(I think this is what you say http or socket I presume).We called from oscript a asp page that in turn was a webservice into SAP for some info.Everything worked.We wrapped our oscript into a mutex thread and did all due diligence on that.Sometimes the SAPwebservice would hang then our oscript thread would not get any info and hang as well.That is what I rememeber doing with it.
The oscript java bridge was not used in our implementation because the customer did not allow it.
If you have xECM for SAP you are able to call RFC functions directly from OScript. That is based on the SAP Activator.
I’ve used it for the CardFile module to select attribute values based on information available in SAP.
Hans
From: eLink Entry: Content Server Builder Forum [mailto:componentbuilder@elinkkc.opentext.com]Sent: Mittwoch, 26. September 2012 15:33To: eLink RecipientSubject: Calling COM dll from oscript
Calling COM dll from oscript
Posted byappu.n.nair@conocophillips.com (Nair, Appu) On 09-26-2012 09:23
[To post a comment, use the normal reply function]
Topic:
Forum:
Content Server Builder Forum
Content Server:
Knowledge Center
Hans,
This happened circa 2007,the oscript-java bridge was just out there,and the customer was sold too much by sap saying that you should only allow webservices to be consumed and not RFC's.Would the SAP activator be able to consume a webservice.Anyways at that time they were not in the mood to put the SAP activator module so we had to come up with something to retreive sap info.