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

converting an XML file to record/recordlist

  • 1.  converting an XML file to record/recordlist

    Posted Fri February 21, 2003 01:43 AM

    Hi,

    I have a xml file with the in it .

    I used DocumenttoRecord and RecordToRecordList but When I am converting it to record I am gettting @encoding and @version also how can I remove these and get a clear record list from recordToRecordList so that I can insert record in the database.

    Any help will by highly appriciated.


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


  • 2.  RE: converting an XML file to record/recordlist

    Posted Fri February 21, 2003 09:33 AM

    If you dont want to see xml version and encoding
    after you use documentToRecord proceed this way.

    In the documentToRecord of (service OutPut)which is boundNode under this copy the root of the the out put record child you are generating example(shipNotice or Purchaseorder xml),
    and map to the piplelineOutput record.

    Example:

    <?xml version="1.0" encoding="UTF-8" ?>

    map the ShipNotice record under the boundNode

    I tested trying this and this works me.

    Try it out at your end.

    Cheers.


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