IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Problem with JAVA invoking API function from DLL

    Posted 01/20/04 02:52 PM

    How to simply invoke any API funcion from DLL (Windows)

    Only I receive is : ERROR: xxxxxxxx.dll is not in java.library.path

    Thanks for any ideas


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: Problem with JAVA invoking API function from DLL

    Posted 01/20/04 06:11 PM

    This link explains how to set java.library.path.

    [url=“InOnIt.com: Tell the Java VM to Load the DLL”]http://www.inonit.com/cygwin/jni/helloWorld/load.html[/url]

    If you call dll from webMethods service you’ll need to alter java.exe parameters according to it.
    I never used JNI from within of webMethods but I can’t see any reason why it would not work.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 3.  RE: Problem with JAVA invoking API function from DLL

    Posted 01/20/04 07:16 PM

    How about just dropping the DLL in your package’s /code/libs directory and generating a C service using the Developer New Wizard (it requires a predefined service Specification, but otherwise seems straightforward).

    HTH,
    Fred


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services