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.

 View Only
Expand all | Collapse all

Problem invoking java method in jar file from java service

  • 1.  Problem invoking java method in jar file from java service

    Posted Tue February 17, 2009 05:30 PM

    I’m having a problem invoking a method in a jar file inside a java service. The jar file is inside the /packages//code/jars. The java service invokes the constructor of the custom Java class located in the jar file and invokes a method on the instance.

    I know the java module inside the jar works because I’ve been testing with it for quite some time and I’m just trying to use Developer to create the java service to call the same module.

    I’m not sure why it’s not behaving as it should and I don’t know how best to debug it.

    The class in the jar file is not formatted with the jcode comments. I don’t need to reformat the code with those comments, right? I’m doing my java service in Developer and I’m invoking the module in the jar file. How simple should it be?

    Thanks for any help you can extend.


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Problem invoking java method in jar file from java service

    Posted Thu February 19, 2009 03:35 PM

    Did you import the class?


    #Integration-Server-and-ESB
    #webMethods