web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

troubleshooting when truncated SEPA XML file envelope during post processing

(0) ShareShare
ReportReport
Posted on by 85

Hey evreyone,

We use AX2012 R2 CU6, including hotfix KB2850972 for SEPA. We set everything up, use the two transformation xslt files in AX: 'VendPayments_SEPACreditTransfer_03_xsl' and  'VendPayments_SEPATruncateTags_xslt'. But we have a missing element root error when we want to truncate the envelope of our sepa xml file during the post processing.

Anyone an idea what I have to do to get it working ?

Kind regards, Mohamed

*This post is locked for comments

I have the same question (0)
  • Sanogo Mohamed Profile Picture
    85 on at

    Hi,

    this is a content of our 'VendPayments_SEPATruncateTags_xslt'

    <?xml version="1.0" encoding="utf-8"?>

    <xsl:stylesheet xmlns:xsl="www.w3.org/.../Transform&quot;

                   xmlns:wt="schemas.microsoft.com/.../Message&quot;

                   xmlns:s1="schemas.microsoft.com/.../VendPayments&quot;

                   version="1.0">

     <xsl:output method="xml"

                 indent="yes"

                 omit-xml-declaration="no" />

     <!--Copy all nodes from source-->

     <xsl:template match="/">

       <xsl:text disable-output-escaping="yes"><?xml version="1.0" encoding="utf-8"?></xsl:text>

       <xsl:copy-of select="wt:Envelope/wt:Body/wt:MessageParts/*" />

     </xsl:template>

    </xsl:stylesheet>

    When we run the SepaCreditTransfer without post processing , it generates the file correctly. So i think  the error is due to the truncation.

    Need helps to understand.

    Kind regards ...

  • Martin Dráb Profile Picture
    237,963 Most Valuable Professional on at

    What's the exact error message? Maybe the input file is empty. Maybe it has multiple root elements. Can you check the content of the file that you send to the failing process?

  • Sanogo Mohamed Profile Picture
    85 on at

    Hi Martins,

    this is the exact error message :

    This is the content of file that we send to the failing processing. it is not empty and there is one root element 'Envelope'. But i realize that some balise have no value. For example  ' <Ustrd />' in line 71. Is it possible whether the cause of our error ?


    Another thing , we ara customize the vendPayment document service including new fields in some tables of the vendPayement service query. when we deploy a service and run it without use the post processing to truncate the envelope everything are OK. It is possible that cutomize the service can impact the step of the post processing ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans