webMethods

webMethods

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

Copying record definitions in FF dictionary

  • 1.  Copying record definitions in FF dictionary

    Posted Fri June 17, 2005 06:49 PM

    Hi,
    Is it possible to copy an existing record definition in a dictionary to another one ?

    I have a bunch of record definitions which are almost the same except for one or two fields. Without having the ability to copy and add the different fields I have to create a new record definition every time.

    shubhro


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Copying record definitions in FF dictionary

    Posted Fri June 17, 2005 07:09 PM

    Shubhro,

    One possibility would be to use the services in pub.flatFile.generate. First call getFFDictionary as XML. That would provide you with an XML string that represents the flat file dictionary contents. You could then modify the XML as you wished. Then you could use the saveXMLAsFFDictionary service to create the an FF dictionary from that XML.

    Not the most practical thing in the world, but it should work.

    • Percio

    #webMethods
    #edi
    #Integration-Server-and-ESB