webMethods

webMethods

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
  • 1.  import library (jar file) problem

    Posted Wed July 14, 2010 03:37 PM

    Hi,

    I’m very new to webMethods. I couldn’t find a way to use my library while creating java services.

    Can someone please help me to do this?

    Thanks


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: import library (jar file) problem

    Posted Wed July 14, 2010 03:39 PM

    Dependent jar files should be placed in the package’s code/jars directory. Reload the package after putting it there the first time. After that you should be able to access it.


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: import library (jar file) problem

    Posted Wed July 14, 2010 04:08 PM

    Thank you,

    I did it already, but the problem is;
    I didn’t understand what to do in order to access it.

    Do I need to write “xyz.jar” file to the import field while creating a java service? I did it but it doesn’t work…


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: import library (jar file) problem

    Posted Wed July 14, 2010 09:08 PM

    Once the jars configuration done above and restart IS or reload package.

    Then you can access those new custom libraries/classes and in the import field specify normally like:

    java.io.*
    java.net.*

    HTH,
    RMG


    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: import library (jar file) problem

    Posted Thu July 15, 2010 01:39 PM

    Thank you very much for your help. I solved the problem.


    #webMethods
    #Integration-Server-and-ESB