2 Replies Latest reply on Feb 15, 2008 8:49 AM by sebastien boher

    Web Services

    Jorge Hidalgo Newbie

      I would like to know how to call a C function from within a Web Service

        • 1. Re: Web Services
          Jorge Hidalgo Newbie

           

          "jhidalgo" wrote:
          I would like to know how to call a C function from within a Web Service
          I would like to say that I already tried the following: I built a JNI library under Windows, which operates without any problem when called from a Java Application and try to call it from within a Web Service deployed under JBoss running under Windows 2003 without success. I placed the library (dll), built with Microsoft Visual C on several directories: JBOSS_HOME/bin, JBOSS_HOME/server/default/deploy and WINDOWS_SYSTEM, but I never could call the functions of the library from within a Web Service (I got an exception, aborting the Web Service in the tree scenarios). Could anybody tell me whether it is possible to call a JNI library from within a Web Service, please? Is there something special to do to achieve what I want?

          • 2. Re: Web Services
            sebastien boher Newbie

            I have a similar problem and I haven't found the solution yet :

            I would like to call C function of a .so library from a session bean.

            I try with JNI call but I have a "unsatisfied link" error...

            Could someone help me ?