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.  Access hostname and port in CAF Page

    Posted Tue July 03, 2018 03:44 PM

    Hi Everyone,

    How can we get/access the hostname & port of MWS server in a CAF Page?

    Thanks & Regards,
    Rakesh Kumar


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 2.  RE: Access hostname and port in CAF Page

    Posted Fri June 19, 2020 07:27 AM

    Hi Rakesh,
    I just found your question by accident, so here comes a very late answer:
    this.getFacesContext().getExternalContext().getRequestServerName()

    Best regards,
    Marcus


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods