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.  Variable creation in a DSP

    Posted 06/17/03 04:10 PM

    Documentation gives the following API call for fetching the package name.

    getPackageName
    public static java.lang.String getPackageName(Values input)
    Given the input Values, returns the name of the current package directory.

    getPackageName() fails when invoked without parameters.

    Could anyone give some hint on what needs to be passed in the Values input???

    Thanks in advance


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


  • 2.  RE: Variable creation in a DSP

    Posted 06/17/03 04:12 PM

    Ooops Wrong subject !!!

    Should have been getPackageName API Call

    Bhavani Shankar


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


  • 3.  RE: Variable creation in a DSP

    Posted 07/20/04 09:36 PM

    How to use the getPackageName() without any value. I just want to know the package name where my service will run. Any Idea.


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


  • 4.  RE: Variable creation in a DSP

    Posted 07/20/04 10:44 PM

    do NSService.getPackage() to get the package name.

    HTH.
    Saurabh.


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


  • 5.  RE: Variable creation in a DSP

    Posted 07/20/04 10:53 PM

    If my previous post is cryptic, do this to get the package name

    InvokeState.getCallingService().getPackage().getName()

    Use this at your own risk.

    Being inquisitive, why do you want to know of the package name? for debug info??


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