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.  A Weired Problem

    Posted 03/25/05 05:18 PM

    HI Experts,
    I am trying to copy various java services into a common folder.When i paste a new service .The source code and imports are getting over written.If i lock one javaservice all the services are getting locked.If i unlock all are getting unlocked.I am new to java can any one please help.Thanks alot in advance

    Saritha


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


  • 2.  RE: A Weired Problem

    Posted 03/25/05 06:10 PM

    Saritha,

    In webMethods, a folder that contains one or more java service(s) is actually a java class and each service in the folder is a method of that class. Everything under the shared tab (ie imports, extend, implement and source) is shared by all the services of the folder. When you copy a service and paste it into folder containing other java services with different contents in the shared section, the contents of the shared section get over written.

    In order to get the java services from different folders/packages into a single folder… create a new service in the target folder, give it an appropriate name and then in the service code area of newly created service, copy and paste the code of the source service. In addition to this, you will have to see what are the contents of the shared tab in the source service and you might need to copy them too (append them to the target service’s shared contents).

    HTH,
    Rohit


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


  • 3.  RE: A Weired Problem

    Posted 03/25/05 06:22 PM


  • 4.  RE: A Weired Problem

    Posted 03/25/05 09:16 PM

    Also when you copy JS from one package/folder to another the input/outputs and shared contents,imports will not get copied,so after you copy set the above stuff save it and run the service then only the JS will be active to use.

    HTH,
    RMG.


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