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 check the document size

    Posted 05/15/06 03:32 PM

    Hi all!

    is there any in built java service for checking of size of the Documet,
    To check DocumentList sizeOfList in-built jave service available like that any separate in-built java service to check the document values r null or not…


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


  • 2.  RE: How to check the document size

    Posted 05/15/06 05:07 PM

    Basically you have to check explicity using either flow operations or regular expressions to check document values null or not.No buil-in service exist.

    HTH,
    RMG


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


  • 3.  RE: How to check the document size

    Posted 05/16/06 11:55 AM

    anilellendula, try this:

    1. “pub.xml:documentToXMLString”
    2. “pub.string:length” for string from Step 1.

    Of course, you have to check incoming Document for null/ not null


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


  • 4.  RE: How to check the document size

    Posted 05/17/06 06:22 PM

    What are you trying to do? What are you going to do with the size of the document?

    Mark


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


  • 5.  RE: How to check the document size

    Posted 04/30/10 02:50 PM

    I have to resurrect this old thread on my first post because that’s exactly what I’m trying to find out as a new WM developper. To answer the question in quote, when talking about size of the document, I’m trying to find out the number of elements in the document.

    For example

    myDocument
    myString_1
    myString_2
    myDocumentList_1
    myString_3
    myStringList_1

    We’re using wm Dev 6.5 here, and I’ve not found anything in the doc that looks like sizeOfList, but for a document type

    A bonus would be able to know what kind of elements are part of the document i.e String, DocumentList, StringList, etc


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