IALweb Homepage
Forum Home Forum Home > Programmazione > Programmazione > HTML - XML
  New Posts New Posts RSS Feed - Creazione File XML Sepa per Bonifici automatizzati
  FAQ FAQ  Forum Search   Events   Register Register  Login Login


REGISTRATEVI su IALWeb forum!

Creazione File XML Sepa per Bonifici automatizzati

 Post Reply Post Reply
Author
Message
pierpo View Drop Down
Nuovo Utente
Nuovo Utente


Joined: 21/Set/2015
Location: Terni
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote pierpo Quote  Post ReplyReply Direct Link To This Post Topic: Creazione File XML Sepa per Bonifici automatizzati
    Posted: 29/Ago/2017 at 15:03
Buongiorno a tutti sto provando a caricare dei bonifici in automatico in formato xml sepa . Ma mi da errore, sapreste indicarmi il perchŔ? questo Ŕ l'errore:
:-"Parsing error: org.xml.SAXParseException: cvc-elt1; Impossibile trovare la dichiarazione di elemento CBIBdyPaymentRequest'.;line 2 column number 224"

Questo Ŕ il tracciato caricato:

<?xml version="1.0" encoding="UTF-8"?>
<CBIBdyPaymentRequest xmlns="urn:CBI:xsd:CBIBdyPaymentRequest.00.03.09" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:CBI:xsd:CBIBdyPaymentRequest.00.03.09 CBIBdyPaymentRequest.00.03.09.xsd">
<CBIEnvelPaymentRequest>
<CBIPaymentRequest>
    <GrpHdr xmlns="urn:CBI:xsd:CBIPaymentRequest.00.03.09">
        <MsgId>Distinta-20170829-08.31</MsgId>
        <CreDtTm>2017-08-29T08:31:57+01:00</CreDtTm>
        <NbOfTxs>2</NbOfTxs>
        <CtrlSum>2500</CtrlSum>
        <InitgPty>
            <Nm>Pag Spa</Nm>
            <Id>
                <OrgId>
                    <Othr>
                        <Id>0452347W</Id>
                        <Issr>CBI</Issr>
                    </Othr>
                </OrgId>
            </Id>
        </InitgPty>
    </GrpHdr>
    <PmtInf xmlns="urn:CBI:xsd:CBIPaymentRequest.00.03.09">
        <PmtInfId>Sottodistinta 1</PmtInfId>
        <PmtMtd>TRF</PmtMtd>
        <PmtTpInf>
            <InstrPrty>NORM</InstrPrty>
            <SvcLvl>
                <Cd>SEPA</Cd>
            </SvcLvl>
        </PmtTpInf>
        <ReqdExctnDt>2017-08-29</ReqdExctnDt>
        <Dbtr>
            <Nm>PAG SPA</Nm>
            <Id><OrgId><Othr>
                <Id>01220990558</Id>
                <Issr>ADE</Issr>
            </Othr></OrgId></Id>
        </Dbtr>
        <DbtrAcct>
            <Id>
                <IBAN>IT12L0200814406000010459018</IBAN>
            </Id>
        </DbtrAcct>
        <DbtrAgt>
            <FinInstnId>
                <ClrSysMmbId>
                    <MmbId>02008</MmbId>
                </ClrSysMmbId>
            </FinInstnId>
        </DbtrAgt>
        <ChrgBr>SLEV</ChrgBr>
        <CdtTrfTxInf xmlns="urn:CBI:xsd:CBIPaymentRequest.00.03.09">
            <PmtId>
                <InstrId>1</InstrId>
                <EndToEndId>Distinta-20170829-08.31-1</EndToEndId>
            </PmtId>
            <PmtTpInf><CtgyPurp>
                <Cd>SUPP</Cd>
            </CtgyPurp></PmtTpInf>
            <Amt>
                <InstdAmt Ccy="EUR">2000</InstdAmt>
            </Amt>
            <Cdtr>
                <Nm>PLUTO MARCO </Nm>
            </Cdtr>
            <CdtrAcct><Id>
                <IBAN>IT99W0200854040000010056694</IBAN>
            </Id></CdtrAcct>
            <RmtInf>
                <Ustrd>Pagamento</Ustrd>
            </RmtInf>
        </CdtTrfTxInf>
        <CdtTrfTxInf xmlns="urn:CBI:xsd:CBIPaymentRequest.00.03.09">
            <PmtId>
                <InstrId>2</InstrId>
                <EndToEndId>Distinta-20170829-08.31-2</EndToEndId>
            </PmtId>
            <PmtTpInf><CtgyPurp>
                <Cd>SUPP</Cd>
            </CtgyPurp></PmtTpInf>
            <Amt>
                <InstdAmt Ccy="EUR">500</InstdAmt>
            </Amt>
            <Cdtr>
                <Nm>Pippo Massimiliano </Nm>
            </Cdtr>
            <CdtrAcct><Id>
                <IBAN>IT99W0760105138282989182992</IBAN>
            </Id></CdtrAcct>
            <RmtInf>
                <Ustrd>Pagamento</Ustrd>
            </RmtInf>
        </CdtTrfTxInf>
    </PmtInf>
</CBIPaymentRequest>
</CBIEnvelPaymentRequest>
</CBIBdyPaymentRequest>



Edited by willy55 - 30/Ago/2017 at 21:41
Back to Top
Sponsored Links


Back to Top
willy55 View Drop Down
Moderatore
Moderatore
Avatar
Esperto di Access

Joined: 03/Ago/2011
Location: Italy
Status: Offline
Points: 10254
Post Options Post Options   Thanks (0) Thanks(0)   Quote willy55 Quote  Post ReplyReply Direct Link To This Post Posted: 30/Ago/2017 at 21:49
L'errore ti evidenzia la seconda riga, ove non Ŕ possibile risolvere la dichiarazione dell'elemento CBIBdyPaymentRequest.
Nel forum esistono diversi thread che trattano il formato SEPA e trovi diversi esempi applicabili a una serie di versioni che si sono succedute nel tempo, per cui puoi provare con tali dichiarative (in modo da circoscrivere la problematica).
 
PS quando aalleghi del codice, come previsto dal forum, devi contrassegnarlo fra tga-code (questa volta ho proivveduto personalmente).
 


Edited by willy55 - 30/Ago/2017 at 21:50
Willy
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 10.17
Copyright ©2001-2013 Web Wiz Ltd.

This page was generated in 0,047 seconds.