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.  how to explore com.wm.util

    Posted 03/05/07 11:46 PM

    Hi All,
    I need to look at the method generate() whose location is com.wm.util.UUID.generate().
    In which webMethods package it resides?

    Thanks
    sreeg


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


  • 2.  RE: how to explore com.wm.util

    Posted 03/06/07 12:31 AM

    webMethods does not make source code of its private API methods available.

    Mark


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


  • 3.  RE: how to explore com.wm.util

    Posted 03/06/07 01:32 AM

    Thats true Mark. but i am not concerned in looking at the code, but the locating the service.
    Can i know in which package/folder the service resides?!

    Thanks


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


  • 4.  RE: how to explore com.wm.util

    Posted 03/06/07 02:01 AM

    It is not an IS service so it cannot be found in an IS package/folder.

    It is a method within the UUID class, which is in the Java package com.wm.util which is stored in client.jar.

    If you’re not interested in looking at the source (which is quite simple to achieve with the right tools) what are you after? If you’re looking to use it for your own needs, just call the generate() method. Of course if you do so, such usage isn’t supported by wM and future releases may break your code (though it would seem unlikely).


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


  • 5.  RE: how to explore com.wm.util

    Posted 03/06/07 03:46 AM

    I found the usage(call) of the generate() method in some java service developed by some person. when i am tracing the code, i found it.
    I am also supposed to use this method for generating a unique id for my service.
    I tried to find the UUID class in com.wm.util package in Java API, but could not!!.
    I found only Values, LocalizedException and Table classes existing and not UUID class!!!


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


  • 6.  RE: how to explore com.wm.util

    Posted 03/06/07 05:06 AM

    You won’t find it in the API java docs because it is not a part of the public API.

    Rob’s point is that customers can use those services but WM does not provide docs or support and does not promise that those methods will be available in future releases or that their signatures will not change without warning.

    That said, it is very unlikely that UUID’s generate() method will change.

    Mark


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


  • 7.  RE: how to explore com.wm.util

    Posted 03/06/07 05:17 AM

    how does one know that there is a method named “generate()” in UUID class?


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


  • 8.  RE: how to explore com.wm.util

    Posted 03/06/07 05:19 AM

    One does not unless one examines the contents of the client.jar found in /IntegrationServer/lib. If it were a public API one could reasonably expect documentation such as that found in the existing API java docs.

    On the other hand, for a private API one would not expect such things though one might wish for them ever so much.

    One might also use a java decompiler (or simply javap) to view the methods contained in UUID.class but, of course, one would be in violation of the license agreements that one’s employer signed with webMethods.

    M


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


  • 9.  RE: how to explore com.wm.util

    Posted 03/06/07 05:31 AM