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

Message content nopt visible in channel- Message transformBean

Hello All,

I am using Message TransformationBean to convert flat file into XML. The channel is able to pick the flat file and in the audit log steps every thing is looking fine. But If I see the payload in the message content tab of channel it says below error:

The XML page cannot be displayed

Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

-


XML document must have a top level element. Error processing resource

I mentioned the document namespace and document name correctly.

Can you please tell me the reason for the above

Thanks,

Regards,

M

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 Dec 14, 2011 at 12:14 PM

    Hi,

    please try to check parametrs in message tranformation bean,

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

    Transform.ContentType -


    text/plain;charset=utf-8

    xml.Detail.endSeparator -


    'nl'

    xml.Detail.fieldFixedLengths -


    <String lenghts>

    xml.conversionType ---SimplePlain2XML

    xml.recordsetStructure --- node

    have you seen below thread,

    Cannot view XML input using XSL style sheet. Please correct the error and..

    please go through below blog

    Solve Key Field Problem using StructPlain2XML in MessageTransformationBean!!

    regards,

    ganesh.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 14, 2011 at 08:59 PM

    It appears to be problem with MessageTransformBean parameters. The module is unable to convert the file into xml.

    Regards,

    Prateek Raj Srivastava

    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.