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.  How to search the string in a string(like contains in java)

    Posted 03/19/12 02:06 PM

    How to search a string in given string.Is there any inbuilt service in webmethod integration server…??

    For example:

    I have a string input: I am developer for local tech.
    and I have to search in above string whether that contains ‘local’ or not.
    The search should be like ignore case.

    please suggest on same.
    Thanks in advance


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


  • 2.  RE: How to search the string in a string(like contains in java)

    Posted 03/19/12 03:21 PM

    Please review the Built-in Services Reference document for the services in the pub.string folder.


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


  • 3.  RE: How to search the string in a string(like contains in java)

    Posted 03/19/12 05:35 PM

    I went through that but did not find any appropriate service…

    so if you have any idea please transfer it…


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


  • 4.  RE: How to search the string in a string(like contains in java)

    Posted 03/19/12 05:48 PM

    Really? You went through the Built-In Services Guide and couldn’t find this? That PDF is organized by folder. The knowledge you seek is in the folder Rob identified.


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


  • 5.  RE: How to search the string in a string(like contains in java)

    Posted 03/19/12 07:26 PM

    Regular expressions is a handy replacement of such string services if you don’t find what you are looking for is not available in that folder


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


  • 6.  RE: How to search the string in a string(like contains in java)

    Posted 03/20/12 08:32 AM


    .pub.string:tokenize
    …LOOP over ‘/valueList’
    …PSUtilities.string:compareString


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


  • 7.  RE: How to search the string in a string(like contains in java)

    Posted 03/20/12 02:12 PM

    Here you can search string with service pub.string:replace and o/p value can be compare with service PSUtilities.string:compareString which gives true are fales…


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


  • 8.  RE: How to search the string in a string(like contains in java)

    Posted 03/20/12 02:30 PM

    This is not a workable approach. The poster did not indicate that a string list is being searched. And compareString matches the entire string. The original poster is looking for a substring within a string.


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


  • 9.  RE: How to search the string in a string(like contains in java)

    Posted 03/20/12 02:40 PM

    PLEASE, use WmPublic/pub.string:indexOf…


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