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.  Java Service getting the IS Server Id

    Posted Mon November 03, 2003 06:58 AM

    I am developing a Java Service in developer and I need to get following information for the service:

    • Server Id: Id / name of the integration server
    • Service Name: Name of the service being executed

    In Java Services, is there a concept of this.getServiceName() or similar. Does anybody know of where I can reference all attributes that are available to me through global classes?

    -Cameron


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


  • 2.  RE: Java Service getting the IS Server Id

    Posted Mon November 03, 2003 10:49 PM

    Look at the ServerAPI and Service classes in the wM API.


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


  • 3.  RE: Java Service getting the IS Server Id

    Posted Mon November 03, 2003 10:54 PM

    On the Developer tool under the “Help” tab you will see the JavaAPI reference in the menu.

    HTH.


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


  • 4.  RE: Java Service getting the IS Server Id

    Posted Tue November 04, 2003 12:09 AM

    Here’s an easy flow call for you:

    Invoke: wm.server.admin:getServerHost

    Returns Host and port.

    HTH,

    Ray


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