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.


#TechXchangePresenter
 View Only
  • 1.  String Concatenation

    Posted Fri November 07, 2003 01:46 PM

    Trying to concatenate multiple variables (and delimit them with some character) in a flow service to obtain a single string.


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 2.  RE: String Concatenation

    Posted Fri November 07, 2003 02:06 PM
    1. Create a Variable in the pipeline out. Ex. temp

    2. Set the Value and check the perform variables substitution.

    3. Here is what you do after that make sure all your variables exist in the pipeline.

      %var1% Your Delimeter %var2% Your Delimeter %var3%

    This way you dont have to go through concat step. You can use as many variables you want in this.

    HTH.

    MS.


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: String Concatenation

    Posted Sat November 08, 2003 07:58 AM

    There’s a built in service:

    Check WmPublic.pub.string.makeString.

    Check your Built-in-services Guide…


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 4.  RE: String Concatenation

    Posted Sat November 08, 2003 10:10 AM

    Why not use a Java Flow service…pass all the variables in, use simple java concatenation, and pass the variable out. Its simple, and faster than using regular mapping functions in flow. The documentation with the IS server has examples on how to write java flow services.

    -Zia


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 5.  RE: String Concatenation

    Posted Mon November 10, 2003 01:40 PM

    Thank you guys, wrote Java method to do that, I think that’s the best approach.
    Andrey.


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB