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.  Converting EDI files to XML using JAVA

    Posted 02/21/09 06:58 AM

    hi friends,

       I like to create a code generator in java which has to read EDI files and convert that to xml msgs.. I have predefined format for EDI and XML in Java classes..  Is there any in build support in Java for this.. How to Proceed for this..?
    

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


  • 2.  RE: Converting EDI files to XML using JAVA

    Posted 02/21/09 05:19 PM

    You can try with using documentToXMLString (map EDIValues o/p of converttovalues to document) it should work…

    steps:
    convertToValues(i/p-- edidata o/p --EDIValues)
    documentToXMLString (i/p-document,docTypeName(optional) returns o/p–xmldata)

    HTH,
    RMG


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


  • 3.  RE: Converting EDI files to XML using JAVA

    Posted 03/16/09 08:34 AM

    Thanks for spending ur time in replying me… But i like to know in detail about the following… I am having an EDI file… I know its structure(classes and attributes)… Now i have to place those values in java class or in a xml file(anyone will do)… can u explain that in detail


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