Calling c/c++ code from websphere

hi,
I want my application that would be deployed in websphere application server
to communicate with a c/c++ program that is residing on another computer.
Would it we possible if it is please provide some help hoew to achieve it.

You can communicate via a socket. Over that socket you can use CORBA, SOAP, HTTP or other protocols. What's the nature of the communication?

Similar Messages

  • Re calling c/c++ code from websphere

    yes, i want to use sockets but whether this is possible with websphere application server or not.
    if yes pls provide link where can i find material regarding this
    Thanks in advance

    Using socket is possible in any java (J2EE | J2SE) application. I would just use the examples for sockets you can find on google.

  • Call to JAVA code from VB

    i plan to write the interface(Presentation of the software, plz don't mistake it for java interface) in VB and all logic in JAVA...........Can you help me out. Is this possible? I mean can i make calls to JAVA code from VB ......?? Some references plz
    Thanks & Regards,
    Gurmeet S. Budhraja

    You can link the 2 projects VB and J# not Java, 'cause I don't think it's possible to like Microsoft to Sun

  • How to call external Java code from Animate project?

    I am creating a trainer using Animate that needs to interface with an aircraft model written in Java.  Is there a way to call external Java functions from Animate?
    Thanks!

    you can import external java files by yepnope
    yepnope({nope:[
                                  'your java script file address.js',
                             ],complete: init});
    function init() {
    codes that work with your js file can be write in here
    Zaxist

  • Calling simple Java Code from 11g BPM

    Hi,
    I know this has been round the houses but I cant find a satisfactory solution for my scenario. I would like to call some simple java code from BPM (11.1.1.6). I guess I need to expose it as a service but it seems overkill to be via soap so any advice you can give would be much appreciated. Creating a jar that I can call somehow would be perfect.
    This is my scenario:
    - I am creating a Security POC for BPM
    - The BPM Process is exposed as a web service and authenticated using SAML
    - I am testing by calling the WS from OSB
    - I want to be able to get the WLS Principal and display the username and the roles for the launching user, from within the BPM process
    - This is possible using some simple weblogic client api code shown below
    - So all I want to do is call this code from BPM somehow
    - Anyone point me in the right direction ?
    cheers
    Tony
    subject = Security.getCurrentSubject();
    for(Principal p: subject.getPrincipals()) {
    if(p instanceof WLSGroupImpl) {
    groupList.add(p.getName());
    } else if (p instanceof WLSUser) {
    principal = p.getName();
    }

    The problem to communiate java classes and forms solved !
    i have add my .jar file to $OA_JAVA/oracle/apps/fnd/jar and now i can communicate between forms and java.
    I can create an object, i can get simple message from class, but when i try to create
    ServiceFactory factory = ServiceFactory.newInstance();
    ive got ORA-105100...
    can anybody help ?

  • How to call C/C++ - Code from Java?

    I would like to know if it is possible to call C or C++ - Code from Java and how to do.

    In short, yes you can do this.
    Have a look at http://java.sun.com/docs/books/tutorial/native1.1/concepts/index.html
    to see how...
    Good luck!

  • Calling a java code from shell script.

    Hi all,
    I want to access a method of java class from a unix shell script.basiacally I want to know how to access a java code from a shell scriptt.If anybody has any info on this , kindly revert back to me.
    Rgds,
    Satya

    Hi,
    Suppose I hv a main() method.
    Then how to access that class from Shell Script.
    Can u send me the piece os compiling and running process for it.
    Rgds,
    Satya

  • Calling Java Android code from XSLT

    I am trying to get an XSLT stylesheet to work that invokes Java code at certain points during execution (used to parse RDFa). You can find a very simple example of such code below:
    <?xml version="1.0" encoding="UTF-8"?>
    <stylesheet
    xmlns:xsl ="http://www.w3.org/1999/XSL/Transform" version="1.0"
    xmlns ="http://www.w3.org/1999/XSL/Transform"
    xmlns:xalan="http://xml.apache.org/xalan"
    xmlns:java="http://xml.apache.org/xalan/java"
    exclude-result-prefixes="java" >
    <xsl:template match="/">
    <value-of select="java:android.xslt_test.XSLTTest.testing()"/>
    </xsl:template>
    </stylesheet>
    Although this XSLT calls the specified method for a Java desktop application, it doesn't do anything in an Android application (no methods are called and the transformer simply returns the original document). After I configured the Transformer instance with a custom ErrorListener subclass instance (via aTransformer.setErrorListener()), I get a NullPointerException (packaged as a TransformerException) when the above XSLT code is parsed. This error does not occur for "normal" XSLT sheets (these are parsed correctly on Android).
    Any ideas on why this doesn't work? Do I need to use another prefix / namespace for Android applications? I've spent quite some time looking online for a solution, but couldn't find any..
    Thanks,
    William

    The question really comes down to "can I call a server-side object from the client side?"
    The answer is "not directly". You can call a client-side JavaBean from JavaScript (e.g. when you use <jsp:plugin/> to embed a JavaBean in the HTML, you can call that from the JavaScript on the client-side.) You can call a server-side JavaBean using server-side code only.
    You can probably set up a framework to cause a function on the client to submit to a servlet which changes the bean on the server, but you can't just call it directly.

  • Calling one t -code from other

    Hi all,
    I have to 2 module pool programs with t-code zpgm1 and zpgm2.
    In zpgm2 i have 2 screens (9001 INITIAL SCREEN AND 9002 SCRREN) AND IN
    ZPGM1 I HAVE ONLY 1 SCREEN 2001 . IN 2001 SCREEN I HAVE A PUSH BUTTON WHEN I CLICK THAT I HAVE TO GO TO ZPGM2 9002 SCREEN.
    I HAVE USED CALL TRANSACTION 'ZPGM2' but it takes me to zpgm2 but 9001 screen.
    Is there a way to achieve this
    Thanks
    Kajol

    Hi KPN,
    In ZPGM2 as i said i have 2 screen 9001 and 9002 . I have a button on 9001 when i press it will take me to 9002 screen.
    When i am call the same 9002 screen from 2001 screen of zpgm1 t-code can you tell what all i have to pass.
    As of now i haven't passed anything and it takes me to 9001 screen
    Thanks
    Kajol

  • Error ITS_TEMPLATE_NOT_FOUND when calling a function code from the web

    Hi Experts,
    I have craeted a simple module pool program and a service for the same in SICF. The module pool has only one screen where I am giving the input to the two fieds
    1. year  2. category. when I click on FIND button the result will appear on the same screen. The result will be the winner and the nominees for that year. The program is running perfect when I execute the transaction in R/3.
    The coding in the PAI of the module pool is as follows:
    *& Module Pool       ZYMOVIE1
    INCLUDE ZYMOVIE1TOP                             .    " global Data
    INCLUDE ZYMOVIE1O01                             .  " PBO-Modules
    INCLUDE ZYMOVIE1I01                             .  " PAI-Modules
    INCLUDE ZYMOVIE1F01                             .  " FORM-Routines
    tables : ymovie.
    DATA:     OKCODE like sy-ucomm.
    tables: ztext.
    *&      Module  GET_RECORD  INPUT
          text
    MODULE GET_RECORD INPUT.
    case okcode.
    when 'FIND'.
    SELECT SINGLE * FROM YMOVIE
                   WHERE YYEAR      = YMOVIE-YYEAR
                         AND CATEGORY     = YMOVIE-CATEGORY.
    endcase.
    ENDMODULE.                 " GET_RECORD  INPUT
    I have created a Internet service ZYMOVIE1 ans created a template for screen 9000
    The HTML code is as follows:
    `include(~service="bbpglobal", ~name="bbpfunctions.html")`
    <html>
      <head>
    <title>`~windowtitle`</title>
      </head>
      <body>
    `~messageline`
    <form name="formFind" action=&#8221;`wgateUrl()`&#8221; method="POST">
       year : <input type = "text" name = "`YMOVIE-YYEAR`"/>
       category : <input type = "text" name = "`YMOVIE-CATEGORY`"/>
    <INPUT TYPE="hidden" name="~okcode" value="FIND">
    <INPUT TYPE="submit" name="btnSubmit" value="FIND">
    <input type = "text" name = "YMOVIE-WINNER" value= "`YMOVIE-WINNER`" size = "`YMOVIE-WINNER.maxsize`"/>
    <input type = "text" name = "YMOVIE-NOMINEE1" value= "`YMOVIE-NOMINEE1`" size = "`YMOVIE-NOMINEE1.maxsize`"/>
    <input type = "text" name = "YMOVIE-NOMINEE2" value= "`YMOVIE-NOMINEE2`" size = "`YMOVIE-NOMINEE2.maxsize`"/>
    <input type = "text" name = "YMOVIE-NOMINEE3" value= "`YMOVIE-NOMINEE3`" size = "`YMOVIE-NOMINEE3.maxsize`"/>
    </form>
      </body>
    </html>
    when i click on the FIND button in the web I am getting a dump "ITS_TEMPLATE_NOT_FOUND".
    Please suggest me where I am doing wrong. Also is there any way i can add attachemtns in SDN. It is very difficult to write everything here and how to use the "code" button when i create a new thread in SDN?/
    thanks
    sankar

    hi
    yes i got some entries in SM50 with w at the left
    A  Error Code ITS_TEMPLATE_NOT_FOUND.
    W      *** ERROR => diag: Template for modulepool ZYMOVIE1, dynpro number 9000, service zymovie1 is not found and GenerateDynpro fla
    W      *** ERROR => plugin: XKrnHandleResponse failed rc= -25 [itspxkrn.cpp 764]
    W      *** ERROR => plugin: ItspXKrn_HandleResponse failed. 0x2b96feff78 rc: 0 [itspxkrn.cpp 391]
    W    *** ERROR => ipl_ConvertOut failed rc = 1, send icf error page [itsplxx.c    1551]
    let me know if you need any other information
    thanks
    sankar

  • How to call PL/SQL code from ODI

    Hello friends,
    Can you please let me the steps for calling a pl/sql code in ODI?
    Regards
    Ulhas

    This should give you an idea - http://odiexperts.com/?p=666

  • Calling PL/SQL code from Select statement

    Hi
    I have a PL/SQL function to calculate a value.
    create or replace procedure "SR_GROSS_MARGIN"
    (netsales IN NUMBER,
    margin IN NUMBER,
    GM OUT NUMBER)
    is
    BEGIN
        IF NETSALES = 0 THEN
           GM := 0;
        ELSIF
           NETSALES < 0 THEN
           GM := 0;
        ELSE
           GM := NETSALES / MARGIN;
        END IF;
    END;How do I call this from a SELECT statement?
    Regards
    Adam

    here you go:
    create or replace function SR_GROSS_MARGIN
    (netsales IN NUMBER,
    margin IN NUMBER)
    return number
    is
    gm number;
    BEGIN
        IF NETSALES = 0 THEN
           GM := 0;
        ELSIF
           NETSALES < 0 THEN
           GM := 0;
        ELSE
           GM := NETSALES / MARGIN;
        END IF;
    return gm;
    END;then you can:
    select gm(2500,20) from dual;

  • Calling external C code from the database

    Hi,
    We have an external routine written in C which we want to reuse. I have run this using external procedure call but as expected extproc processing is very slow. The routine cannot be rewritten, it is a "black box" component. We have considered wrapping the call to C in a Java procedure using JNI and installing the java inside the database to run inside the oracle jvm. Does anyone know if this will work or has any experience of using JNI inside the database? Is this supported by Oracle? Does anyone have any ideas/advice for tuning extproc calls or other alternatives to suggest for calling C from inside the database.
    Thanks

    Thanks for the advice. I did notice the support comment in the documentation - pretty much kills that idea then! Bulk processing might be difficult. The external procedure works on two values, one taken from the environment and one from a value embedded in each row of a table...the function is called once for each row and returns a value which i then use within a context and drives visibility, or not, of the row through Virtual Private Database configuration. So when an operator runs "Select * from a_table" the VPD adds in "and/where this_row_is_visible". Both the row value and operator environment value are updateable in real time so I cannot "process" the data first. Sounds like I need to set expectations here!
    Thanks

  • Calling the T code from the reprt

    Hi,
    I am displaying the list of materials.if the user clicks on the particular material. The material number shd copy in MM03 Tcode intial screen and the user can see full details of the material.
    <<removed_by_moderator>>
    Regards,
    Rasheed.
    Edited by: Vijay Babu Dudla on Jan 28, 2009 1:03 AM

    Hi,
    If u are using alv to display the materials, then the below piece of code will help u.
    In FM, use user command.
    **Calling the function module for ALV Grid
    call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
       i_callback_program                = sy-repid
       is_layout                         =  it_layout
       i_callback_user_command           = 'USERCOMMAND'
       it_fieldcat                       =  it_fieldcat[]
       i_save                            = 'A'
       is_variant                        = v_variant
      tables
        t_outtab                          = it_final
    exceptions
       program_error                     = 1
       others                            = 2.
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    In form usercommand,
    **For navigating the screen.
    form usercommand using ucomm type sy-ucomm
                        selfield type slis_selfield.
      case ucomm.
        when '&IC1'.
         if selfield-fieldname = 'MATNR'.
          set parameter id 'MAT'  field selfield-value.
          call transaction 'MM03' and skip first screen.
        endif.
      endcase.
    endform.
    Hope this helps u.
    Thanks.

  • Calling SAP t-code from mobile

    Hi ,
    Can we call sap transaction from mobile? If so how can we call ? your help is very much appereciated.
    Regards,
    Pavani

    Hi Pavani,
    Well a good answer to your query would be guixt mobile suite which actually makes it possible to use transactions in mobile.
    Check this out:
    http://www.guixt.com/solutions/mobile.php
    Regards,
    Veera

Maybe you are looking for

  • INVENTORY REPORTS

    Hi, I want a report to view obsolete inventory, slow moving  inventory and inventory turns.

  • Match beginning of line with Regular Expression

    I'm confused about dreamweaver's treatment of the characters ^ and $ (beginning of line, end of line) in regex searches. It seems that these characters match the beginning of the file, not the beginning of the various lines in the file. I would expec

  • Layers in IDCS2

    I have a question about the use of layers in InDesignCS2. Is it possible to open or close layers per page. I have a document with several layers in each layer there is a different lay-out object. In my document I want to show the different lay-out ob

  • My wifi on my ipod not working HELP?!?!?!?!

    im on ios 6.1.2 and my ipod has randomly said incorrect wifi passcode even though i put in the right passcode i really need help and fast btw my laptop ***** HELP:(

  • PO Approval  to multiple person with same position

    Hi I want to send the PO approval to 2 people with same position simultaneously. Is there any workaround available to do the same? Regards Santhosh