Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BugID: 676 - Produzione file XML per sistema PERLA PA - Gestione Merge
- Loading branch information
rpagano
committed
Oct 30, 2012
1 parent
5f1dc62
commit d83cfc2
Showing
3 changed files
with
1,143 additions
and
0 deletions.
There are no files selected for viewing
97 changes: 97 additions & 0 deletions
97
sigla-ejb/src/main/resources/xsd/AnagrafePrestazioni_cancellazioneIncarichi.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xmlns:apci="http://com.accenture.perla.it/anagrafeprestazioni_cancellazioneincarichi" | ||
targetNamespace="http://com.accenture.perla.it/anagrafeprestazioni_cancellazioneincarichi" | ||
elementFormDefault="qualified" | ||
attributeFormDefault="unqualified"> | ||
|
||
<!-- | ||
ELEMENTO ROOT | ||
--> | ||
<xs:element name="comunicazione" type="apci:comunicazione_type"/> | ||
|
||
<!-- | ||
TIPO DI DATO PRINCIPALE | ||
--> | ||
<xs:complexType name="comunicazione_type"> | ||
<xs:choice> | ||
<xs:element name="cancellazioneIncarichi"> | ||
<xs:complexType> | ||
<!-- | ||
INCARICHI | ||
--> | ||
<xs:sequence> | ||
<xs:element name="incarichi"> | ||
<xs:complexType> | ||
<xs:choice> | ||
<xs:element name="dipendente" type="apci:incarico_type" maxOccurs="1000"/> | ||
<xs:element name="consulente" type="apci:incarico_type" maxOccurs="1000"/> | ||
</xs:choice> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
|
||
<!-- | ||
INFORMAZIONI GENERALI | ||
--> | ||
<xs:attribute name="codiceEnte" type="xs:long" use="required"/> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="esitoCancellazioneIncarichi"> | ||
<xs:complexType> | ||
<!-- | ||
ESITO INCARICHI | ||
--> | ||
<xs:sequence> | ||
<xs:element name="esitoIncarichi"> | ||
<xs:complexType> | ||
<xs:choice> | ||
<xs:element name="dipendente" type="apci:esitoIncarico_type" maxOccurs="1000"/> | ||
<xs:element name="consulente" type="apci:esitoIncarico_type" maxOccurs="1000"/> | ||
</xs:choice> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
|
||
<!-- | ||
INFORMAZIONI GENERALI | ||
--> | ||
<xs:attribute name="codiceEnte" type="xs:long" use="required"/> | ||
<xs:attribute name="esitoFile" type="apci:esito_type" use="required"/> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:choice> | ||
</xs:complexType> | ||
|
||
<!-- | ||
TIPO DI DATO INCARICO | ||
--> | ||
<xs:complexType name="incarico_type"> | ||
<xs:attribute name="idMittente" type="apci:idMittente_type" use="required" /> | ||
<xs:attribute name="id" type="xs:long" use="required"/> | ||
</xs:complexType> | ||
<xs:complexType name="esitoIncarico_type"> | ||
<xs:attribute name="idMittente" type="apci:idMittente_type" use="required" /> | ||
<xs:attribute name="id" type="xs:long" use="required"/> | ||
<xs:attribute name="esito" type="apci:esito_type" use="required"/> | ||
</xs:complexType> | ||
|
||
|
||
<!-- | ||
********************* | ||
***** TIPI BASE ***** | ||
********************* | ||
--> | ||
<xs:simpleType name="idMittente_type"> | ||
<xs:restriction base="xs:string"> | ||
<xs:maxLength value="20"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
<xs:simpleType name="esito_type"> | ||
<xs:restriction base="xs:string"> | ||
<xs:enumeration value="OK"/> | ||
<xs:enumeration value="KO"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:schema> |
Oops, something went wrong.