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
Expand all | Collapse all

Substitution for characters

  • 1.  Substitution for characters

    Posted Wed November 24, 2004 10:50 AM

    Dear all,
    I holp someone can help me with my probplem.
    I chek a fild with a branch. Unfortunately the fist three characters are variables. I just know the last four.
    Example XXXDENN
    The XXX can Change.

    How can I chek this in a branch? With “?” or “*” or something different?

    Unfortunately our development system is still handling our mass update.
    Programming and testing is very slow at this time.

    Thanks for your help.

    Regards,

    Dennis


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


  • 2.  RE: Substitution for characters

    Posted Wed November 24, 2004 09:14 PM


  • 3.  RE: Substitution for characters

    Posted Wed November 24, 2004 09:31 PM

    Chris,
    more details please.
    I use a branch with two sequences for the label.
    Statement: %PRCTR% == \DENN\ is not working.
    PRCTR is the field

    Sorry, I’m very stupid. Please tell me the complete statement.

    Thanks


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


  • 4.  RE: Substitution for characters

    Posted Wed November 24, 2004 10:41 PM

    Dennis, try:

    %PTRCTR% = /DENN\Z/

    I didn’t test this but according to the developer’s guide it should work.
    Have a look at Appendix B: Regular Expressions in the webMethod’s Developers User Guide (\webMethods6\Developer\doc\ISDeveloperGuide.pdf)

    Regards,

    Wayne


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


  • 5.  RE: Substitution for characters

    Posted Wed November 24, 2004 11:08 PM

    Dennis,

    What Wayne is suggesting is actually working in your case since your string ends with DENN.  What Chris was suggesting works also but you have to use /DENN/ instead of \DENN\ but it will actually evaluate that the substring DENN is anywhere in the string.   
    

    Regards,

    Mathieu


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


  • 6.  RE: Substitution for characters

    Posted Thu November 25, 2004 09:30 AM


  • 7.  RE: Substitution for characters

    Posted Thu November 25, 2004 09:35 AM

    Hai all

    After i publishing the document to broker i am getting following error

    com.wm.app.b2b.server.ServiceException: [ISS.0098.9014] BrokerException: Unknown Document Type (226-1490): Document type ‘wm::offline::EDIFFSchema::X12::V4010::T860DT’ is not defined in the Broker.
    how do i define the document in the broker…

    thanks in advance

    regards
    ramesh


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


  • 8.  RE: Substitution for characters

    Posted Thu November 25, 2004 06:39 PM

    Ramesh,

    Click on the T850DT document and look the tab called publish properties and select it as a publishable document to Broker by doing this document will be stored in the broker and then only publish works.

    HTH,
    RMG


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


  • 9.  RE: Substitution for characters

    Posted Thu November 25, 2004 07:05 PM

    Hi Ramesh, some tips on using the wmusers forums:

    Please try and post your problems, solutions, thoughts, etc… in the appropriate forum. If you follow this thread, you will see it is dealing with a specific problem (Substitution for characters).
    Remember to first search the forums to see if anyone has had the same problem as you. Hopefully you will find the solution too.
    If not, then try to post your question to the appropriate forum.
    Your problem really belongs in the forum:
    Enterprise Broker » Development Feedback OR
    Integration Server & Trading Networks » Flow and Java services

    Regards,
    Wayne


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