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

Handling large messages in webMethods

  • 1.  Handling large messages in webMethods

    Posted Tue April 14, 2020 02:56 AM

    Hi

    I need to process a 25 MB xml message in webMethods and map it to another XML format, but when submitting the message to a webMethods mapping service nothing happens and the environment seems to freeze and not respond.

    I think it might be a memory issue, but I would like to hear other options for solving this problem. How large xml messages where a mapping is involved is webMethods supposed to be able to handle?

    Kind regards Mikael


    #webMethods
    #edi
    #Integration-Server-and-ESB


  • 2.  RE: Handling large messages in webMethods

    Posted Tue April 14, 2020 01:38 PM

    Duplicate to:


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Handling large messages in webMethods

    Posted Tue April 14, 2020 08:09 PM

    Hello Mike,

    Is your IS environment implemented any largefile handling configurations in the Extended Settings page such as large doc threshold etc…??

    Also can you check the IS heap memory settings allocated resources configuration values from the IS Admin console?

    One other thing is try to implement xmlnodeIterator services in your flow this way the large XML payloads can be processed with in the IS performance settings and can avoid such type of hung’s.

    Please check and try to implement the above solutions.

    HTH,
    RMG


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Handling large messages in webMethods

    Posted Wed April 15, 2020 07:02 AM

    Thanks RMG

    My understanding is, that when using the xmlnodeIterator I need to load the node as stream, but in my case the xml file is picked up from UM and the processing service is called by a trigger so no node is available when the message is sent to the processing service from UM via the trigger. How do I handle this?

    Are you able to provide some examples?


    #Integration-Server-and-ESB
    #edi
    #webMethods


  • 5.  RE: Handling large messages in webMethods

    Posted Wed April 15, 2020 02:19 PM

    Hi Mike,

    Then the only option is fine tune your IS settings to handle the large payloads (may be work with your admin role also) and so to avoid the IS hungs.

    Also can’t you convert that doc to string and convert it to io stream/node and I/p to the node iterator I know it seems like a crazy logic but can you try this option?

    HTH,
    RMG


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Handling large messages in webMethods

    Posted Thu April 16, 2020 11:46 AM

    Hi,

    thanks for the suggestions.

    My understanding is, that if I were to convert the doc to string and then to a stream, the whole message would need to be loaded into memory to convert it to string. Is that correctly understood?

    Kind regards Mikael


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: Handling large messages in webMethods

    Posted Thu April 16, 2020 03:19 PM

    Yes that is in the run-time scenario.

    HTH,
    RMG


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 8.  RE: Handling large messages in webMethods

    Posted Mon April 20, 2020 10:00 AM

    Hi

    I increased wrapper.java.maxmemory from 1024 to 4096 in this file
    D:\SoftwareAG\profiles\IS_WMCE\configuration\custom_wrapper.conf

    which did the trick.

    Kind regards mikael


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 9.  RE: Handling large messages in webMethods

    Posted Tue April 21, 2020 02:49 AM

    Absolutely it will as one of the config option:)-

    Cheers!
    RMG


    #Integration-Server-and-ESB
    #webMethods
    #edi