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
  • 1.  About java service import other package

    Posted Thu April 14, 2005 10:17 AM

    Hi,
    I am trying to develop a java service which use some classes in other packages£¨etc. com.wm.pkg.art.transaction.ConnectionState in wmArt package£©.when a import the class, the Developer tell me that “cannot resolve symbol”. i know the compiler cann’t find the class.
    My question is how to config to find the class.
    i know a way may do it. just write the path with we needed classes in it to IntegrationServer\bin\bin.cnf. but the method will set the path as a global.
    but i want to find and load the class when i use it.
    Thanks


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


  • 2.  RE: About java service import other package

    Posted Tue April 19, 2005 05:08 PM

    Importing “com.wm.pkg.art.transaction” to your java services doesn’t work (on the shared tab of the developer)? Can you try with a wildcard (com.wm.pkg.art.transaction.*) rather than com.wm.pkg.art.transaction.ConnectionState just to see if that works. You might need the com.wm.pkg.art.transaction.ServiceListener class also.

    But if that still doesn’t work, you can always execute the java services as they exist in the WmArt package. We do that today to provide status, enable/disable programatically, etc.


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