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

 View Only
  • 1.  Extract information from document

    Posted Thu June 22, 2023 11:43 AM

    Product/components used and version/fix level:

    10.15

    Detailed explanation of the problem:

    Hello community,

    I need your help to extract some information from my document.
    the structure of my document is in the attachment.

    I want to retrieve only the values colored in yellow.

    How can we retrieve these values?

    thank you

    Error messages / full error message screenshot / log file:

    Question related to a free trial, or to a production (customer) instance?

    production


    #API-Gateway
    #API-Management
    #webMethods


  • 2.  RE: Extract information from document

    Posted Thu June 22, 2023 11:48 AM

    Do you want to retrieve objects? Or are you expecting actual data in those fields like in any XML file? If all you need is the objects, you can copy and paste that object to pipeline and then map it. Don’t click around after you paste it, it will disappear if you do.


    #API-Gateway
    #webMethods
    #API-Management


  • 3.  RE: Extract information from document

    Posted Thu June 22, 2023 12:03 PM

    No I just want the values in yellow.
    For my example, I want a string or a list of value = “/argumentDeVente, /article, /articleReference”


    #API-Management
    #webMethods
    #API-Gateway


  • 4.  RE: Extract information from document

    Posted Thu June 22, 2023 02:25 PM

    They are objects, they can’t have string values. If it was also defined as string as well, you would see another string object with the same name in the pipeline. That object wouldn’t have any nested items in it. Only exception for this is when using a document generated from an XSD and an XML string. If an XML object has attributes (for example @nil) only then you will see extra fields in a string object. If that’s the case (it looks like it isn’t because you would have a data object next to @nil or something) then you would have used data instead. By the look of it all you are expecting from that service is 3 objects in paths, no strings. I recommend checking the document below for the service you are using.
    https://documentation.softwareag.com/webmethods/integration_server/pie10-15/webhelp/pie-webhelp/pie-webhelp/to-webhelp_intro_is_bis_guide.html#

    I can’t tell what you are using with just a glimpse.


    #API-Management
    #API-Gateway
    #webMethods