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
  • 1.  IDOC to XML

    Posted Sun January 10, 2010 07:43 PM

    Hi all,

    I have a requirement where I need to convert IDOC to XML and send it to the partner.

    I have few questions: If the partner needs for example 50 fields. Do I need to create a document with 50 strings and convert it into XML?

    or Do i need to get XSD from the partner for the XML?? How should i proceed. Please help…its urgent.

    Thanks in advance.

    Regards,
    David.


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


  • 2.  RE: IDOC to XML

    Posted Sun January 10, 2010 07:55 PM

    As part of this assignment, you are going to transform source (Idoc) data to XML format. (Partner understanding document)…

    Hopefully your partner asked to map to their XML strcture from source document…

    1. In that case get XSD/DTD from partner for that XML strcture.
    2. Create IS document document structure from those XSD/DTD
    3. Map Idoc values to IS Doc struture (XML) - For example in your case 50 fields mapping
    4. Transform IS doc struture to XML using documentToXMLString service
    5. finally send xml content to your partner through TN or http or other protocol as per your requirement.

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


  • 3.  RE: IDOC to XML

    Posted Sun January 10, 2010 08:15 PM

    Thanks Raj. That’s exactly what I need. You cleared my doubt.

    Regards,
    David.


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


  • 4.  RE: IDOC to XML

    Posted Sun January 10, 2010 08:25 PM