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.  Create EDI XML

    Posted 10/29/11 12:11 AM

    Hi WmUsers,

    Is there a way to convert the complete EDI document including interchange and group headers to XML?
    When EDITPA splitoption = ‘Transaction’ we will only have the transaction segment(ST) in the pipeline but not the interchange and group.

    So if I have the steps in my flow

    wm.b2b.editn:getTspace
    wm.b2b.edi.util:convertToValues
    pub.xml:documentToXMLString

    I get …

    I am looking for something like below which has interchange and group segments






    Thanks,
    Suresh


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


  • 2.  RE: Create EDI XML

    Posted 11/02/11 06:39 PM

    Suresh,

    This is an off-beat approach but will work

    Invoke envelopeProcess, to retrieve the ISA/GS document structure from the document
    Then do your convertToValues using the EDIFFSchema, and since your schema contains only ST level, you will receive the data at ST level
    Map the ISA/GS to a temporary document, and also map the ST level document
    convert the temporary document to XML string

    Regardless of the above thing, i still fail to understand the need for converting the entire structure to a XML. Is it something very specific?

    Regards,
    Pradeep


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


  • 3.  RE: Create EDI XML

    Posted 11/02/11 07:30 PM

    Thanks Pradeep. I will try it out.
    Yes, I agree with you but it is part of the requirement, not sure what they need it for.


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


  • 4.  RE: Create EDI XML

    Posted 11/04/11 03:34 PM

    Yes use the envelopeProcess service to grab/extract the ISA/GS information and your steps above convert to XML is intact:

    HTH,
    RMG


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


  • 5.  RE: Create EDI XML

    Posted 11/05/11 12:20 AM


  • 6.  RE: Create EDI XML

    Posted 11/07/11 03:28 PM