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:15 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


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: About java service import other package

    Posted Thu April 14, 2005 06:36 PM

    Jet,

    You need to mark your package dependent on the other package you want to read classes from (WmART in this case).

    – Tim


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards


  • 3.  RE: About java service import other package

    Posted Fri April 15, 2005 05:19 AM

    hi,Tim
    I used package dependencies to try access to classes
    in other packages, but it didn’t work.
    I am a newer, i want to know what’s your means of “mark”?


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards


  • 4.  RE: About java service import other package

    Posted Fri April 15, 2005 03:13 PM

    See chapter 3 in the Developer Users Guide. The Section is titled “identifying Package Dependencies”.


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods


  • 5.  RE: About java service import other package

    Posted Tue April 19, 2005 11:21 AM