How to call C through Cold Fusion?

I have some legacy C code.Does anybody know how to
call it from Cold Fusion?
Thanks!

Depends on what it does and how you need to interact with the
code. Do you have the option of simply passing arguments and
retrieving output via CFEXECUTE? Is it something akin to CGI that
may require using the CFX framework?
&laz;

Similar Messages

  • How to call dicoverer through menu option in forms

    Hi,
    Need help.........Can anybody tell me .....how to call dicoverer through menu option in forms.
    Thanx
    Sunil

    Hi,
    You can define a Form Function filling the basic information and
    HTML call Set as OracleOasis.RunDiscoverer. You can even define Paramters during the form function registration. With this definition you will able to create a link to a Discoverer workbook that will automatically open Discoverer Plus or Viewer to display the workbook using Apps security.
    Please refer to the following Metalink Note for more details:
    278095.1- How to Create a Link to a Discoverer Workbook in Apps11i
    Hope This helps
    - Sanjeev

  • How to Call DataGrid through xml

    Hi,
    I need to fill my datagrid when i click the add button. How
    to do it and how to call through Xml. Any idea.
    Regards
    Muthu

    Hi,
    You can find a sample in which XML data is being displayed
    using DataGrid.
    http://livedocs.adobe.com/flex/3/langref/mx/controls/DataGrid.html#includeExamplesSummary
    Hope this helps.

  • How to convert asp to cold fusion?

    Hello All,
                This is nagaSeshu,I want to convert asp to clod fuasion.Right now our application is in simple asp,Because of some reasons we are planing to change our appliction into cold fusion.So is there any converters to convert asp into cold fusion pages automatically.If any one having idea about this please give me reply.
    Thanks &regards,
    NagaSeshu,

    An application in "simple ASP" should be straightforward to convert to CF, but it will nevertheless be a manual process.  There won't be a one-to-one correspondence between the ASP code and the CF code:  the CF equivalent is likely to be much smaller and simpler.
    The difference (and the potential advantage of CF) lies in its fundamental approach to the problem:
    ASP is, well, Visual Basic.  It's a programming language by nature, and a web-page is therefore "a script."  The web-server hands the car-keys to the page (full of executable code...) and the page drives the car to its destination.
    CF is, in general, much more of a declarative language.  The various documents contain a well-defined structure ... the structure of HTML itself ... and they are parsed and processed (conceptually speaking...) by an external processor which carries out the desired action based on the overall structure of the page that it sees.  Since "most pages of a certain type are more-or-less exactly the same, and there might be thousands of them," CF gives you a few well-chosen ways to build "pages like that" and to do so quickly.  CF "already knows how to drive the car to the destination," and the stuff that you write consists mostly of details.
    (I recognize that my description, above, of CF's actual modus operandi is not technically correct.  But the big-picture conceptual idea stands, and that's all I'm driving at here.)
    The best way to take advantage of a tool like CF in a conversion project is, "when in Rome, do what the Romans do."  Study CF to see what it can do "quickly and easily," and adapt your project's design to shamelessly take advantage of that way.  Do not spend a lot of time trying to figure out how to "jimmy" CF so that it will do a certain thing in a certain way.
    The choices that were made by CF's designers are pretty-good ones.  Although CF gives you "a full programming language if you want to use it," its greatest strength is in what you don't have to write in order to get "a certain thing" done.  If you find yourself writing a lot of programming, then you need to step-back and have another look:  "there's more than one way to do it."  CF's interpretation of a dot-NET application will be quite different from the original, and it should be.  If it isn't, you're not getting market-value out of the conversion effort.

  • How to call Biztalk  through ABAP-DYNPRO

    Hi All  ,
    I want to call a function module which  in  BIZTALK Server through
    ABAP-DYNPRO ( by service call) . for this I require  Destination details ( in  service call ) .
    Can anyone please send me the Destination details or the approach  to follow for calling the  Biztalk ?
    Thanks in advance ..
    Regards
    Rahul

    Run a search on Web service calls from WDA.
    This topic has been addressed on numerous occassions.
    You can call BIZ-TALK using a web service.
    You could also call it using straight HTTP .
    There are classes in ABAP to allow you to write an HTTP client app if required.
    If possible go the Webservice route.
    IE have you Biztalk guy generate a WSDL for the call.
    The follow instructions on numerous threads on calling web services.
    Cheers
    Phil.

  • How to call program through process chain

    Hi Gurus,
    I am in the position to execute the abap program through process chain, I have used  abap program as process type in process chain(First time I am using this process type).when I am executing the process chain, the abap program is not executing.Eagerly anticipating your reply.
    Regards
    Shiva

    Hi
    I managed the execution of rscrm jobs in PC as follows:
    1. Execute query through RSCRM_BAPI transaction
    2. goto sm37 and copy the Jobname (the active one)
    3. Create following progromm
    *& Report /WST/RSCRM_START *
    REPORT /WST/RSCRM_START .
    parameter: l_bid TYPE sysuuid_c.
    CALL METHOD cl_rscrmbw_bapi=>exec_rep_in_batch
    EXPORTING
    i_barepid = l_bid
    4. Execute Programm and fill the Parameter with the Jobname
    5. Save as a new program variant and use in PC as a normal program
    I hope that helps.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    regards
    ashwin

  • How to call Function through Soap Action

    Hi all,
    I have a Receiver communication channel in PI that sends data to from the interface to Oracle Webservice.
    At that moment a function should be called with two constant parameters and the third one is the xml with all the data.
    updateExchangeRates("CJV", "connector", ratesXML)
    xml schema:
    Anyone knows if it is possible to call that function in PI soap action and how should I do it?
    I've tested soap action with
    updateExchangeRates("CJV", "connector", list_wrapper)
    and got the error:
    invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized
    Thnaks in advance,
    Regards

    Hi,
    Please refer the below blogs for dynammic soap action
    How to set soap action in soap adapter during configuration when there are multiple operations in a web service?
    Dynamically providing URL and action values to receiver SOAP communication channe
    regards,
    Harish

  • How to call DML through procedures

    Hi,
    I've a requirement like i have to call procedure from function,In that procedure,having so many DML operations.
    I am facing error like 'We can't perform DML operation inside a query'.
    How to eliminate this error?
    Any update please.
    Cheers,
    Arun.

    The problem, as Karthik has suggested, is not that you are calling DML inside a procedure or function, but that the DML is being called in a procedure or function that is taking part in a query transaction i.e. you are using the function inside a query and that function (or a procedure it calls) is trying to do DML. This isn't permitted.
    The reason you can't do this is that the query is in the process of reading data from the database and you can't have the same query try and change the data on the database (using insert/update/delete OR any DDL statements that change the structure of the database) whilst it is in the process of reading it. It would be like you trying to read a Word document and there being macros in the document so that as you visited certain pages, the text of the document changed. By the end of it you wouldn't know if you'd read the document correctly or not or whether it all made sense. Oracle recognises this stupidity and prevents it.

  • How to call form through reports

    I want to call form(6i) with parameter's through reports(6i).. replly immediately

    you have to make this question in: Developer suit > Forms
    Joel P�rez

  • How to call report through URL(without displaying userid info) ?

    I want to call report in my APEX application.
    I can get it run like this :
    http://hostname:port/reports/rwservlet?module=invoice.rdf&userid=oe/oe@tnsalias&destype=cache&desformat=pdf But showing the userid in the url would have serious security problem.
    How could I configure the report to set the default userid, so that I don't need to define that in the url ?
    And is there any way to integrate this authorization with my APEX application ?

    frank1018 wrote:
    I want to call report in my APEX application.
    I can get it run like this :
    http://hostname:port/reports/rwservlet?module=invoice.rdf&userid=oe/oe@tnsalias&destype=cache&desformat=pdf But showing the userid in the url would have serious security problem.
    How could I configure the report to set the default userid, so that I don't need to define that in the url ?
    And is there any way to integrate this authorization with my APEX application ?Hi frank
    Check this http://docs.oracle.com/cd/E12839_01/bi.1111/b32121/pbr_run013.htm
    Hope this helps

  • How to call webservice through Oracle HTTP Server

    I have cluster of three Managed Servers. They are behind a Oracle HTTP Server. I deployed a web service to the cluster. When calling web service, I got the error. The error is that the client of web service can not directly access the Managed Servers.
    The error tell that it can not access http://webapp01:7003/webservice/HelloWorld?WSDL
    Where webapp01 is the host name of a managed server.
    Is there a way that web service return the result to HTTP Server and HTTP Server return it to web service client.

    1. Before you invoke the WebServices from client program, I guess you may have already generated the webservices client jar for the WSDL that is deployed using sun jdk "wsimport" command or bea's clientgen ant task. At this time, what is the wsdl url you gave. In the generated client jar file you should see .JAVA files also. Check the Service related .java file and check the WSDL URL in that file. If it is using weblogic servers managed server host and port, then the problem you see is obvious.
    2. To fix this, you re-generate the webservices client jar file again this time giving the http server host and port instead of weblogic host and port. I am hoping you already modified httpd.conf file to accept the webservice url pattern. Check the .JAVA file generated for service to see the WSDL URL that is having inside.
    3. Another approach is on your client side, before you invoke any operation on WebService, you will be first getting Service object, then Port object and invoke methods on Port object. When you get Service Object, you can pass the WSDL URL as one parameter and ServiceName (QName) as second parameter. Most of time we use default constructor without any parameters to get Service object. But you can use other constructor and pass 2 parameters. The WSDL URL will have HttpServers host and port, and rest of the url for wsdl will be the same.
    In our env, we have similar requirment. SOAP BPEL Process WebServices are deployed on WLS 10.3.1 on a Cluster with 2 ManagedServers. We have Apache Proxy in front of this Cluster. All our WSDL requests goes to Apache host and port + wsdl url. This inturn goes to one of the managed servers at a time in round-robin. This is working. In httpd.conf we gave "MatchExpression / " so that any request from apache will go to cluster.
    HTH
    Ravi Jegga

  • How to call the javascript  through sdk?

    I created a plugin through SDK. Now i need to call my javascript file in that plugin. Could you please advice me with some samples. This is for "Photoshop CS". Kindly help me.

    Could you please provide me an example for
    1) plugin could call JavaScript is if an automation plugin calls a script by name.
    2) And also give an example for how to call plugin through javascript.
    I am new for adobe sdk. So kindly help me.
    Thanks in advance,
    Prabudass

  • How not to use Cold Fusion and Java

    Overview
    This write up is intended to give java developers that are
    developing ColdFusion applications some beneficial information:
    things that are not documented.
    Scenario
    The company builds enterprise class web application software
    for fortune 500 companies. It had purchased a CF 7 based product,
    had and existing proprietary J2EE based product, and needed to
    integrate the two while meeting a host of new requirements. These
    requirements were based on delivering a better user experience,
    faster / cheaper integration, increased flexibility /
    configuration, useablily, decreasing maintenance costs, the ability
    to deploy in either install or ASP models. An initiative was
    started to create a new framework that integrated the best of each
    technologies. Tactically, this meant that we were to build a hybrid
    CF and java application: one that used building blocks (decoupled /
    cohesive components) that would allow applications to be rapidly
    assembled, configured and deployed. This made sense on several
    levels, the team was composed of Java and CF developers, the CF
    rapid application development was very productive, there is great
    functionality delivered in the CF platform and initial performance
    tests showed no cause for alarm
    The agreed upon design, based on requirements, and analysis
    by both the CF and Java staff has us using CF in the presentation
    layer, using a CF based MVC, use of CF based web services. The MVC
    was deployed using CFC inheritance for model objects and views made
    use of CF custom tags. The internals of the application, used a
    rules engine, some proprietary java, ORM, and other J2EE
    technology. The initial performance of the system was reasonable.
    We pushed on with product implementation.
    Then it was time to load test the application, and tune it.
    Under load the response times were orders of magnitude slower,
    sometimes the pages even timed out.
    Armed with our profiler, oracle execution plans and we
    charged ahead addressing issue after issue. Note that we took
    meticulous care in tweaking the active thread pool and ensuring
    that our CF setup was tuned for our application. None of the
    observations here are a condemnation of the language; rather they
    are aspects that, when considered together, not conducive for
    building integrated java and CF frameworks that use a structured /
    OO programming practices. Further detail can be provided on
    request.
    CFC inheritance should be avoided - resolution of variable
    scope is expensive even if properly declared.
    Since CF creates a class per method under the covers call
    stacks become very large, especially if used in a loop. This is
    nominally exacerbated by CF calls necessary to set up for the
    method call (String.toUpper()).
    Nesting of loops and if statements should be kept to a
    minimum - the conditional for each lookup of logical operator like
    LT, GT are synchronized. Under load this results in thread waits.
    Jrun has as single thread pool - both http and web service
    requests use the same pool. Under load this leads to thread
    deadlock. There are work arounds, but they are painful.
    Recursion should be avoided - we had a few recursive routines
    and these had to be rewritten.
    Custom Tags - should be used sparingly - each custom tag
    makes a synchronized call to the license server - (This may be
    fixed in CF 8)
    Summary
    In the end we got the performance to reasonable numbers, but
    we ended up moving some code to java (Custom Tags) and getting rid
    of 'good programming' practices (Inheritance, loops, etc), mandated
    proper variable scoping for those things left over. We prototyped a
    sans cold fusion implementation and had an order of magnitude
    improvement in performance and number of requests served per
    second.
    The lesson? Use Coldfusion in its sweet spot: make a query,
    iterate over the results and format for display. Extensive use of
    structure programming techniques or OO CFCs should be avoided: they
    will work but under load - but are better as a prototype. Building
    frameworks in CF? Think twice, no three times, and, if you must, be
    minimalist.
    Text

    interesting aslbert123,
    Not that I doubt you, but could you answer some questions
    about your implementation that was so slow:
    1.) Did you put your CFCs in the application or server scope?
    2.) Were you initializing your CFCs, via CreateObject or
    <cfinvoke>, on every request?
    3.) Are you sure that you were properly Var'ing every
    variable in your methods? (people typically forget about query
    names and loop iterator variables)
    4.) Could you give examples of how your inheritence was set
    up?
    5.) For CustomTags, did you call them the old <cf_tag>
    way or the newer, better-performing <cfimport> way?
    6.) How did you connect CF to Java exactly?
    Thanks,
    Aaron

  • How do you determine what version of PHP is on the cold fusion server

    I am trying to find out what version of PHP is on my cold
    fusion server, how do I do this? Does coldfusion come with
    PHP?

    In the C:\Windows folder, locate the file called php.ini and
    open it in Notepad.
    <?php phpinfo() ?>
    I answered it myself. Maybe it can help someone else.

  • How to register Rest web services in Cold Fusion 9 administration console?

    I am building a Rest web service using Cold Fusion 9 and Cold Fusion Builder 3 and now I want to register it on Cold Fusion 9 admin console, but I didn't see any option there as in CF 10 and CF 11 Data Services ---> Rest Web service. So, please tell me how to register my Rest web service in CF 9 either through admin console or through code?

    Simple answer: you can't.  REST services were a new feature released with CF10.  Alternatively, you can use a community-supported framework to provide REST services, such as:
    Taffy (a dedicated REST framework)
    FW/1 (an MVC framework with REST capabilities)
    ColdBox (an MVC framework with REST capabilities)
    -Carl V.

Maybe you are looking for