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.  Query on OUTARRAY while looping

    Posted 08/17/04 11:24 AM

    I’ve got the element Disclaimer in the XML as below

    • <xs:element>
    • <xs:complextype>
    • <xs:sequence>
      <xs:element>
      </xs:sequence>
      </xs:complextype>
      </xs:element>

    equavalent to

    <disclaimer>
    <text/>
    <text/>


    <disclaimer/>

    in BC i’ve got one recordlist(LINES) which has got all the disclaimer lines fetched from SAP.
    i’m doing
    loop /LINES — inarray
    /Invoice/Billing/DataArea/Invoice/Disclaimer – outarray

    but the result looks lil’bit weird like

    <disclaimer>
    <text> LINE1 </text>
    </disclaimer>

    <disclaimer>
    <text> LINE2 </text>
    </disclaimer>

    <disclaimer>
    <text> LINE3 </text>
    </disclaimer>
    etc …

    but i’m expecting

    <disclaimer>
    <text> LINE1 </text>
    <text> LINE2 </text>
    <text> LINE3 </text>
    <text> LINE4 </text>
    </disclaimer>

    could you guide me where i’m messing up pls ?

    Thanks
    Sreedhar K


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


  • 2.  RE: Query on OUTARRAY while looping

    Posted 08/17/04 01:49 PM

    I tried searching this query on this site aswell but invain…
    any suggestions ?


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


  • 3.  RE: Query on OUTARRAY while looping

    Posted 08/17/04 02:54 PM

    If it is messing up try using the appendToRecordList instead of InArray/OutArray logic.

    HTH,


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


  • 4.  RE: Query on OUTARRAY while looping