webMethods

webMethods

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.  New behaviour between 9.10 and 10.5 version

    Posted Mon April 20, 2020 06:40 AM

    Hi,
    I realize that in 10.5 version I have a new behaviour when we do a Set Value with several variables separated by \ character.

    For Instance if I do the following set Value
    a = %a1%%a2%%a3%

    and put “toto” in a1, “titi” in a2 and “tutu” in a3.
    Instead of having the toto\titi\tutu in the value of a in run time, I have %a1%%a2%%a3%

    Is it exists a way to delete this behaviour and if not, do you know how to replace the \ to have the expected behaviour ?


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


  • 2.  RE: New behaviour between 9.10 and 10.5 version

    Posted Mon April 20, 2020 08:51 AM

    Hi Vital,

    I am not sure if I understood your issue correctly.

    Did you remember to check the “Perform Pipeline Variable Substitution” Checkbox in the SetValue dialog?

    Whenever one of the variables a1 to a3 has no value, it will not be substituted but remains by its variable definition in the resulting value. All other character are persisted “as is” to the result.

    Regards,
    Holger


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


  • 3.  RE: New behaviour between 9.10 and 10.5 version

    Posted Mon April 20, 2020 09:07 AM

    Yes Holger,
    It is the first thing I checked.

    In fact, on 10.5 version, it does’nt work when we have set Set Value like that

    %a1%%a2%…

    The \ seems to be a probleme.

    If I do %a1%%a2% : no problem


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


  • 4.  RE: New behaviour between 9.10 and 10.5 version

    Posted Mon April 20, 2020 09:13 AM

    Hi,
    Instead of ’ \ ', can you try with ‘/’? I guess this backslash issue is fixed in 10.5 version internally but the fix is not yet released.

    ~Prashant


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


  • 5.  RE: New behaviour between 9.10 and 10.5 version

    Posted Mon April 20, 2020 09:18 AM

    Thanks Prashant

    You confirm what I thought.

    I have not yet tried. In fact set Value with \ corresponding to file paths in Windows Environment.
    I don’t know yet (not tried) if / instead of \ work (I think yes but not make the test).

    Problem is I have a lot of packages in 9.10 environment and I want to migrate on 10.5.
    Have to create an anglorithme to get all set value in %…%\ form and correct if (by browsering all flow.xml file in file system of packages).

    For information I tried if I do
    a = %a1%%antislash%%a2%

    with antislash =
    it works.


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


  • 6.  RE: New behaviour between 9.10 and 10.5 version

    Posted Wed April 22, 2020 06:46 AM

    Hi Vital,

    inside webMethods “/” should work as path separator regardless of OS being used.

    Using XQueries might be helpful in this case together with some file access services.

    You should check the IS Built-In-Services Reference for further services/informations.

    Regards,
    Holger


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


  • 7.  RE: New behaviour between 9.10 and 10.5 version

    Posted Wed April 22, 2020 08:08 AM

    Hi Holge,
    I didn’t think about xquery : that can helpfull for other subjects.

    Here what I have done is used WMRoot package to list service and package from serveur. After that from the namespace I read the flow.xml file for each services and if I find %\ or% I put the read service in a string list.

    I found about 20 services in my list and I inspect them to see if I should do a modification or not


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


  • 8.  RE: New behaviour between 9.10 and 10.5 version

    Posted Tue April 28, 2020 11:10 PM

    This is a bug in the product and they have released a test patch for it. Reach out to SAG Support for it. Ask them to refer to 5400418 ticket.

    Good luck!


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