Skip to Content
author's profile photo Former Member
Former Member

Complex XML to Plain in JMS adapter "Content conversion module"

Hi!

I have read the document on "How To… use the content conversion module with XI3.0 J2EE JMS Adapter", and it says only SimpleXML can be converted in the receiver channel.

I had hoped for a solution at least as good as in the File/ftp adapter, where complex XML can be transformed to files.

Are there plans to include complex XML conversion in the JMS adapter?

I can not use the file adapter as I need to change the file name and destination, and that can not be done by adding own module to its single module.

Any idea how I can achieve what I want?

To only way I can find, is to create a file using the file/ftp adapter, and then pick it up again and treat all the lines as the same structure (one row = one xml field). Then output this new xml message to file, using the JMS adapter and add any modules with name and destination determination.

Appreciate any help!

Regards,

Oeystein Emhjellen

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2005 at 02:11 PM

    Hello,

    Have you tried to use an XSLT mapping within the IE?

    I have, at one customer site, created a XSLT message mapping which converts the XML to a fixed length ASCII file format. I than added the XSLT message mapping as a second mapping step on the interface mapping.

    In this case I was able to publish a fairly complex fixed length file format to MQ Series via the JMS adapter.

    /Johan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 01, 2005 at 03:50 PM

    The structured conversion is working as well.

    You can use for example:

    Transform.Class com.sap.aii.messaging.adapter.Conversion

    xml.conversionType StructXML2Plain

    xml.recordsetStructure A,B,C

    xml.A.fieldFixedLengths 10,20,30

    xml.B.fieldFixedLengths 10,15,25

    xml.C.fieldFixedLengths 10,2,3

    Regards

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.