Questo contenuto non è disponibile nella lingua selezionata.
2.28. Configuring the mappingModel
To add the D93A mapping model ZIP set to your application classpath, set the following dependency to your application's POM file:
<!-- The mapping model sip set for the D93A directory... -->
<dependency>
<groupId>org.milyn.edi.unedifact</groupId>
<artifactId>d93a-mapping</artifactId>
<version>v1.4</version>
</dependency>
<!-- The mapping model sip set for the D93A directory... -->
<dependency>
<groupId>org.milyn.edi.unedifact</groupId>
<artifactId>d93a-mapping</artifactId>
<version>v1.4</version>
</dependency>
Copy to ClipboardCopied!Toggle word wrapToggle overflow
Configure Smooks to use this ZIP set by adding the unedifact:reader configuration to your Smooks configuration as shown below:
Copy to ClipboardCopied!Toggle word wrapToggle overflow
Note how you configure the reader using a URN derived from the Maven artifac's dependency information.
You can also add multiple mapping model ZIP sets to your application's classpath. To do so, add all of them to your unedifact:reader configuration by comma-separating the URNs.
Pre-generated Java binding model sets are provided with the tool (there is one per mapping model ZIP set). Use these to process UN/EDIFACT interchanges using a very simple, generated factory class.
Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.
Rendiamo l’open source più inclusivo
Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.
Informazioni su Red Hat
Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.