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.  Can't use the bundle's class methods

    Posted 09/28/20 07:07 AM

    Hi experts!

    For some reason, I am able to import my OSGi bundle’s classes but I can’t call their methods…

    Basically what I have done was:

    1. Create a simple Java project called “DataValidation”;
    2. Export it as a JAR file;
    3. Go to the Bundle Manager view in Designer and create an OSGi bundle based on this JAR file (default configuration values);
    4. Go to the Bundle Publisher and publish my new bundle file to the IS;
    5. Create a new Application Platform project and add the library “Application Platform Shared bundles” with its respective bundle file path;
    6. In the Application platform project, I am able to import the classes and create instances out of them, but then I can’t call any method.

    NOTE: all the classes methods are public.

    Any idea why? Thanks!!


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


  • 2.  RE: Can't use the bundle's class methods

    Posted 03/26/21 01:21 PM

    Did you add the jar file to your build path in eclipse project settings ?


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