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.  flatfile to xml

    Posted 02/14/08 06:36 PM

    hi all,
    can anyone say how this flat file
    abc|1234|efgh
    abb|1221|eeee
    bbc|2232|aaaa

    can be converted into this XML format



    abc
    1234
    efgh


    abb
    1221
    eeee


    bbc
    2232
    aaaa


    tell me also how the flat file schema is to be created in this case.

    thanks in advance.


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


  • 2.  RE: flatfile to xml

    Posted 02/14/08 06:41 PM

    What insight have you gained from studying the Flat File Developer’s guide? What have you tried? What effort have you put into figuring this out?

    Mark


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


  • 3.  RE: flatfile to xml

    Posted 02/17/08 11:56 AM

    actually i solved this by creating a flatfile schema and using flow services convertToValues and documentToString which worked but did not give the tags.
    can u tell me how to get these tags because as the flat file does not have this tags so they are not present in schema and in final xml do.
    i just want to kno the best way to get these tags.


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


  • 4.  RE: flatfile to xml

    Posted 02/18/08 02:41 PM

    u need to create a document type using the xml schema and then map the incoming flatfile values to the xml document type .
    and then u can convert the xml document to string using the xml schema .


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


  • 5.  RE: flatfile to xml

    Posted 02/20/08 09:00 AM

    thanks a lot that info was very useful.


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