pagopa-soap 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/.rubocop.yml +137 -0
  4. data/.travis.yml +14 -0
  5. data/CODE_OF_CONDUCT.md +75 -0
  6. data/Gemfile +9 -0
  7. data/LICENSE.txt +29 -0
  8. data/README.md +229 -0
  9. data/Rakefile +13 -0
  10. data/bin/console +15 -0
  11. data/bin/setup +8 -0
  12. data/diagrams/diagrammi-psp.jpg +0 -0
  13. data/diagrams/diagrammi-revoca.jpg +0 -0
  14. data/diagrams/diagrammi-wisp.jpg +0 -0
  15. data/lib/pago_pa.rb +14 -0
  16. data/lib/pago_pa/soap.rb +17 -0
  17. data/lib/pago_pa/soap/configurable.rb +38 -0
  18. data/lib/pago_pa/soap/message/domain.rb +31 -0
  19. data/lib/pago_pa/soap/message/institution.rb +42 -0
  20. data/lib/pago_pa/soap/message/payer.rb +42 -0
  21. data/lib/pago_pa/soap/message/payment.rb +61 -0
  22. data/lib/pago_pa/soap/message/rpt.rb +86 -0
  23. data/lib/pago_pa/soap/message/rt.rb +43 -0
  24. data/lib/pago_pa/soap/message/single_payment.rb +18 -0
  25. data/lib/pago_pa/soap/version.rb +8 -0
  26. data/lib/pago_pa/soap/wsdl_loader.rb +66 -0
  27. data/lib/soap.rb +126 -0
  28. data/lib/soap/parser.rb +74 -0
  29. data/lib/soap/parser/binding.rb +53 -0
  30. data/lib/soap/parser/message.rb +27 -0
  31. data/lib/soap/parser/port_type.rb +42 -0
  32. data/lib/soap/parser/service.rb +25 -0
  33. data/lib/soap/parser/types.rb +97 -0
  34. data/lib/soap/string.rb +33 -0
  35. data/lib/soap/webservice.rb +4 -0
  36. data/lib/soap/webservice/client.rb +37 -0
  37. data/lib/soap/webservice/error.rb +17 -0
  38. data/lib/soap/webservice/fault_error.rb +12 -0
  39. data/lib/soap/webservice/request.rb +118 -0
  40. data/lib/soap/webservice/response.rb +88 -0
  41. data/pagopa-soap.gemspec +45 -0
  42. data/resources/PaPerNodo.wsdl +214 -0
  43. data/resources/PaPerNodoChiediElencoAvvisiDigitali.wsdl +93 -0
  44. data/resources/PaPerNodoPagamentoPsp.wsdl +241 -0
  45. data/resources/PaPerNodoRichiestaAvvisi.wsdl +202 -0
  46. data/resources/pagopa_avvisi.wsdl +98 -0
  47. data/resources/pagopa_base.wsdl +869 -0
  48. metadata +245 -0
@@ -0,0 +1,93 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Questo WSDL rappresenta l'interfaccia esposta dal Nodo dei Pagamenti Telematici per avvisi pull . -->
3
+ <wsdl:definitions xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
4
+ xmlns:sac="http://ws.pagamenti.telematici.gov/"
5
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
7
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
8
+ xmlns:tns="http://PuntoAccessoPA.spcoop.gov.it/servizi/ChiediElencoAvvisiDigitali"
9
+ targetNamespace="http://PuntoAccessoPA.spcoop.gov.it/servizi/ChiediElencoAvvisiDigitali">
10
+
11
+ <wsdl:types>
12
+ <xsd:schema version="2.1" targetNamespace="http://ws.pagamenti.telematici.gov/">
13
+
14
+ <xsd:include schemaLocation="avvisi-digitali-1.0.xsd"/>
15
+
16
+ <xsd:element name="intestazionePPT" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
17
+ <xsd:complexType>
18
+ <xsd:sequence>
19
+ <xsd:element name="identificativoIntermediarioPA" type="sac:stText35"/>
20
+ <xsd:element name="identificativoStazioneIntermediarioPA" type="sac:stText35"/>
21
+ <xsd:element name="identificativoDominio" type="sac:stText35"/>
22
+ </xsd:sequence>
23
+ </xsd:complexType>
24
+ </xsd:element>
25
+
26
+ <xsd:complexType name="ctElencoAvvisiDigitali">
27
+ <xsd:sequence>
28
+ <xsd:element name="avvisoDigitale" type="sac:ctAvvisoDigitale" minOccurs="0" maxOccurs="unbounded"/>
29
+ </xsd:sequence>
30
+ </xsd:complexType>
31
+
32
+ <xsd:complexType name="ctPaaChiediElencoAvvisiDigitali">
33
+ <xsd:sequence>
34
+ <xsd:element name="identificativoPSP" type="sac:stText35"/>
35
+ <xsd:element name="codiceFiscaleDebitore" type="sac:stText35"/>
36
+ <xsd:element name="codiceServizio" type="sac:stCodiceServizio" minOccurs="0" maxOccurs="1"/>
37
+ <xsd:element name="periodoRiferimento" type="sac:ctPeriodoRiferimento" minOccurs="0" maxOccurs="1"/>
38
+ </xsd:sequence>
39
+ </xsd:complexType>
40
+
41
+ <xsd:complexType name="ctPaaChiediElencoAvvisiDigitaliRisposta">
42
+ <xsd:complexContent>
43
+ <xsd:extension base="sac:ctRisposta">
44
+ <xsd:sequence>
45
+ <xsd:element name="esitoOperazione" type="sac:stEsitoOperazione"/>
46
+ <xsd:element name="elencoAvvisiDigitali" type="sac:ctElencoAvvisiDigitali"/>
47
+ </xsd:sequence>
48
+ </xsd:extension>
49
+ </xsd:complexContent>
50
+ </xsd:complexType>
51
+
52
+ <!-- Wrapper Elements -->
53
+ <xsd:element name="paaChiediElencoAvvisiDigitali" type="sac:ctPaaChiediElencoAvvisiDigitali" />
54
+ <xsd:element name="paaChiediElencoAvvisiDigitaliRisposta" type="sac:ctPaaChiediElencoAvvisiDigitaliRisposta"/>
55
+
56
+ </xsd:schema>
57
+ </wsdl:types>
58
+
59
+ <wsdl:message name="paaChiediElencoAvvisiDigitali">
60
+ <wsdl:part name="bodyrichiesta" element="sac:paaChiediElencoAvvisiDigitali"/>
61
+ </wsdl:message>
62
+ <wsdl:message name="paaChiediElencoAvvisiDigitaliRisposta">
63
+ <wsdl:part name="bodyrisposta" element="sac:paaChiediElencoAvvisiDigitaliRisposta"/>
64
+ </wsdl:message>
65
+
66
+ <wsdl:portType name="ChiediElencoAvvisiDigitali">
67
+ <wsdl:operation name="paaChiediElencoAvvisiDigitali">
68
+ <wsdl:input message="tns:paaChiediElencoAvvisiDigitali"
69
+ wsam:Action="http://ws.pagamenti.telematici.gov/PPT/paaChiediElencoAvvisiDigitali"/>
70
+ <wsdl:output message="tns:paaChiediElencoAvvisiDigitaliRisposta"
71
+ wsam:Action="http://ws.pagamenti.telematici.gov/PPT/paaChiediElencoAvvisiDigitaliRisposta"/>
72
+ </wsdl:operation>
73
+ </wsdl:portType>
74
+
75
+ <wsdl:binding name="ChiediElencoAvvisiDigitaliBinding" type="tns:ChiediElencoAvvisiDigitali">
76
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
77
+ <wsdl:operation name="paaChiediElencoAvvisiDigitali">
78
+ <soap:operation soapAction="paaChiediElencoAvvisiDigitali"/>
79
+ <wsdl:input>
80
+ <soap:body use="literal"/>
81
+ </wsdl:input>
82
+ <wsdl:output>
83
+ <soap:body use="literal"/>
84
+ </wsdl:output>
85
+ </wsdl:operation>
86
+ </wsdl:binding>
87
+
88
+ <wsdl:service name="ChiediElencoAvvisiDigitaliService">
89
+ <wsdl:port name="PPTPort" binding="tns:ChiediElencoAvvisiDigitaliBinding">
90
+ <soap:address location="http://PuntoAccessoPA.spcoop.gov.it/"/>
91
+ </wsdl:port>
92
+ </wsdl:service>
93
+ </wsdl:definitions>
@@ -0,0 +1,241 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Questo WSDL rappresenta l'interfaccia esposta dalla PAA
4
+ per la verifica dei pagamenti in attesa.
5
+ -->
6
+ <wsdl:definitions xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ppt="http://ws.pagamenti.telematici.gov/" xmlns:ppthead="http://ws.pagamenti.telematici.gov/ppthead" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://NodoPagamentiSPC.spcoop.gov.it/servizi/PagamentiTelematiciCCP" xmlns:pay_i="http://www.digitpa.gov.it/schemas/2011/Pagamenti/" name="PPT" targetNamespace="http://NodoPagamentiSPC.spcoop.gov.it/servizi/PagamentiTelematiciCCP">
7
+ <wsdl:types>
8
+ <xsd:schema version="2.1" targetNamespace="http://ws.pagamenti.telematici.gov/ppthead">
9
+
10
+ <xsd:simpleType name="stText35">
11
+ <xsd:restriction base="xsd:string">
12
+ <xsd:minLength value="1"/>
13
+ <xsd:maxLength value="35"/>
14
+ </xsd:restriction>
15
+ </xsd:simpleType>
16
+
17
+ <xsd:element name="intestazionePPT">
18
+ <xsd:complexType>
19
+ <xsd:sequence>
20
+ <xsd:element name="identificativoIntermediarioPA" type="ppthead:stText35"/>
21
+ <xsd:element name="identificativoStazioneIntermediarioPA" type="ppthead:stText35"/>
22
+ <xsd:element name="identificativoDominio" type="ppthead:stText35"/>
23
+ <xsd:element name="identificativoUnivocoVersamento" type="ppthead:stText35"/>
24
+ <xsd:element name="codiceContestoPagamento" type="ppthead:stText35"/>
25
+ </xsd:sequence>
26
+ </xsd:complexType>
27
+ </xsd:element>
28
+ </xsd:schema>
29
+
30
+ <xsd:schema version="1.0" targetNamespace="http://ws.pagamenti.telematici.gov/">
31
+ <xsd:import schemaLocation="PagInf_RPT_RT_6_2_0.xsd" namespace="http://www.digitpa.gov.it/schemas/2011/Pagamenti/"/>
32
+
33
+ <xsd:simpleType name="stText25">
34
+ <xsd:restriction base="xsd:string">
35
+ <xsd:minLength value="1"/>
36
+ <xsd:maxLength value="25"/>
37
+ </xsd:restriction>
38
+ </xsd:simpleType>
39
+
40
+ <xsd:simpleType name="stText35">
41
+ <xsd:restriction base="xsd:string">
42
+ <xsd:minLength value="1"/>
43
+ <xsd:maxLength value="35"/>
44
+ </xsd:restriction>
45
+ </xsd:simpleType>
46
+
47
+ <xsd:simpleType name="stText140">
48
+ <xsd:restriction base="xsd:string">
49
+ <xsd:minLength value="1"/>
50
+ <xsd:maxLength value="140"/>
51
+ </xsd:restriction>
52
+ </xsd:simpleType>
53
+
54
+ <xsd:simpleType name="stImporto">
55
+ <xsd:restriction base="xsd:decimal">
56
+ <xsd:minInclusive value="0.00"/>
57
+ <xsd:maxInclusive value="999999.99"/>
58
+ <xsd:fractionDigits value="2"/>
59
+ <xsd:totalDigits value="10"/>
60
+ </xsd:restriction>
61
+ </xsd:simpleType>
62
+
63
+ <xsd:complexType name="ctSpezzoniCausaleVersamento">
64
+ <xsd:sequence minOccurs="1" maxOccurs="6">
65
+ <xsd:choice>
66
+ <xsd:element type="ppt:stText35" name="spezzoneCausaleVersamento" minOccurs="1"/>
67
+ <xsd:element type="ppt:ctSpezzoneStrutturatoCausaleVersamento" name="spezzoneStrutturatoCausaleVersamento" minOccurs="1"/>
68
+ </xsd:choice>
69
+ </xsd:sequence>
70
+ </xsd:complexType>
71
+
72
+ <xsd:complexType name="ctSpezzoneStrutturatoCausaleVersamento">
73
+ <xsd:sequence>
74
+ <xsd:element type="ppt:stText25" name="causaleSpezzone" minOccurs="1"/>
75
+ <xsd:element type="ppt:stImporto" name="importoSpezzone" minOccurs="1"/>
76
+ </xsd:sequence>
77
+ </xsd:complexType>
78
+
79
+ <!-- Wrapper Elements -->
80
+ <xsd:element name="paaVerificaRPT" type="ppt:paaVerificaRPT"/>
81
+ <xsd:element name="paaVerificaRPTRisposta" type="ppt:paaVerificaRPTRisposta"/>
82
+ <xsd:element name="paaAttivaRPT" type="ppt:paaAttivaRPT"/>
83
+ <xsd:element name="paaAttivaRPTRisposta" type="ppt:paaAttivaRPTRisposta"/>
84
+ <!-- Element Definition -->
85
+ <xsd:complexType name="paaTipoDatiPagamentoPA">
86
+ <xsd:sequence>
87
+ <xsd:element name="importoSingoloVersamento" type="pay_i:stImporto" minOccurs="1">
88
+ </xsd:element>
89
+ <xsd:element name="ibanAccredito" type="pay_i:stIBANIdentifier" minOccurs="0">
90
+ </xsd:element>
91
+ <xsd:element name="bicAccredito" type="pay_i:stBICIdentifier" minOccurs="0">
92
+ </xsd:element>
93
+ <xsd:element name="enteBeneficiario" type="pay_i:ctEnteBeneficiario" minOccurs="0" maxOccurs="1">
94
+ </xsd:element>
95
+ <xsd:element name="credenzialiPagatore" type="pay_i:stText35" minOccurs="0">
96
+ </xsd:element>
97
+ <xsd:choice minOccurs="1">
98
+ <xsd:element name="causaleVersamento" type="ppt:stText140" />
99
+ <xsd:element name="spezzoniCausaleVersamento" type="ppt:ctSpezzoniCausaleVersamento" />
100
+ </xsd:choice>
101
+ <!-- xsd:element name="datiSpecificiRiscossione" type="pay_i:stDatiSpecificiRiscossione" minOccurs="1">
102
+ </xsd:element -->
103
+ </xsd:sequence>
104
+ </xsd:complexType>
105
+
106
+ <xsd:complexType name="paaTipoDatiPagamentoPSP">
107
+ <xsd:sequence>
108
+ <xsd:element name="importoSingoloVersamento" type="pay_i:stImporto" minOccurs="1">
109
+ </xsd:element>
110
+ <xsd:element name="ibanAppoggio" type="pay_i:stIBANIdentifier" minOccurs="0">
111
+ </xsd:element>
112
+ <xsd:element name="bicAppoggio" type="pay_i:stBICIdentifier" minOccurs="0">
113
+ </xsd:element>
114
+ <xsd:element name="soggettoVersante" type="pay_i:ctSoggettoVersante" minOccurs="0"/>
115
+ <!-- TODO: Da valutare -->
116
+ <xsd:element name="ibanAddebito" type="pay_i:stIBANIdentifier" minOccurs="0">
117
+ </xsd:element>
118
+ <xsd:element name="bicAddebito" type="pay_i:stBICIdentifier" minOccurs="0">
119
+ </xsd:element>
120
+ <xsd:element name="soggettoPagatore" type="pay_i:ctSoggettoPagatore" minOccurs="0"/>
121
+ </xsd:sequence>
122
+
123
+ </xsd:complexType>
124
+
125
+
126
+ <xsd:complexType name="paaVerificaRPT">
127
+ <xsd:sequence>
128
+ <xsd:element name="identificativoPSP" type="ppt:stText35"/>
129
+ </xsd:sequence>
130
+ </xsd:complexType>
131
+ <xsd:complexType name="paaVerificaRPTRisposta">
132
+ <xsd:sequence>
133
+ <xsd:element name="paaVerificaRPTRisposta" type="ppt:esitoVerificaRPT"/>
134
+ </xsd:sequence>
135
+ </xsd:complexType>
136
+ <xsd:complexType name="esitoVerificaRPT">
137
+ <xsd:complexContent>
138
+ <xsd:extension base="ppt:risposta">
139
+ <xsd:sequence>
140
+ <xsd:element name="esito" type="xsd:string" minOccurs="0"/>
141
+ <xsd:element name="datiPagamentoPA" type="ppt:paaTipoDatiPagamentoPA" minOccurs="0"/>
142
+ </xsd:sequence>
143
+ </xsd:extension>
144
+ </xsd:complexContent>
145
+ </xsd:complexType>
146
+ <xsd:complexType name="paaAttivaRPT">
147
+ <xsd:sequence>
148
+ <xsd:element name="identificativoPSP" type="ppt:stText35"/>
149
+ <xsd:element name="datiPagamentoPSP" type="ppt:paaTipoDatiPagamentoPSP"/>
150
+ <xsd:element name="identificativoIntermediarioPSP" type="ppt:stText35" minOccurs="0" />
151
+ <xsd:element name="identificativoCanalePSP" type="ppt:stText35" minOccurs="0" />
152
+ </xsd:sequence>
153
+ </xsd:complexType>
154
+ <xsd:complexType name="paaAttivaRPTRisposta">
155
+ <xsd:sequence>
156
+ <xsd:element name="paaAttivaRPTRisposta" type="ppt:esitoAttivaRPT"/>
157
+ </xsd:sequence>
158
+ </xsd:complexType>
159
+ <xsd:complexType name="esitoAttivaRPT">
160
+ <xsd:complexContent>
161
+ <xsd:extension base="ppt:risposta">
162
+ <xsd:sequence>
163
+ <xsd:element name="esito" type="xsd:string" minOccurs="0"/>
164
+ <xsd:element name="datiPagamentoPA" type="ppt:paaTipoDatiPagamentoPA" minOccurs="0"/>
165
+ </xsd:sequence>
166
+ </xsd:extension>
167
+ </xsd:complexContent>
168
+ </xsd:complexType>
169
+ <xsd:complexType name="risposta">
170
+ <xsd:sequence>
171
+ <xsd:element name="fault" type="ppt:faultBean" minOccurs="0"/>
172
+ </xsd:sequence>
173
+ </xsd:complexType>
174
+ <xsd:complexType name="faultBean">
175
+ <xsd:sequence>
176
+ <xsd:element name="faultCode" type="xsd:string" />
177
+ <xsd:element name="faultString" type="xsd:string" />
178
+ <xsd:element name="id" type="xsd:string" />
179
+ <xsd:element name="description" type="xsd:string" minOccurs="0" />
180
+ <xsd:element name="serial" type="xsd:int" minOccurs="0" />
181
+ <xsd:element name="originalFaultCode" type="xsd:string" minOccurs="0" />
182
+ <xsd:element name="originalFaultString" type="xsd:string" minOccurs="0" />
183
+ <xsd:element name="originalDescription" type="xsd:string" minOccurs="0" />
184
+ </xsd:sequence>
185
+ </xsd:complexType>
186
+ </xsd:schema>
187
+ </wsdl:types>
188
+ <wsdl:message name="paaVerificaRPT">
189
+ <wsdl:part name="bodyrichiesta" element="ppt:paaVerificaRPT"/>
190
+ <wsdl:part name="header" element="ppthead:intestazionePPT"/>
191
+ </wsdl:message>
192
+ <wsdl:message name="paaVerificaRPTRisposta">
193
+ <wsdl:part name="bodyrisposta" element="ppt:paaVerificaRPTRisposta"/>
194
+ </wsdl:message>
195
+ <wsdl:message name="paaAttivaRPT">
196
+ <wsdl:part name="bodyrichiesta" element="ppt:paaAttivaRPT"/>
197
+ <wsdl:part name="header" element="ppthead:intestazionePPT"/>
198
+ </wsdl:message>
199
+ <wsdl:message name="paaAttivaRPTRisposta">
200
+ <wsdl:part name="bodyrisposta" element="ppt:paaAttivaRPTRisposta"/>
201
+ </wsdl:message>
202
+ <wsdl:portType name="PagamentiTelematiciCCP">
203
+ <wsdl:operation name="paaVerificaRPT">
204
+ <wsdl:input message="tns:paaVerificaRPT" wsam:Action="http://ws.pagamenti.telematici.gov/PPT/paaVerificaRPTRichiesta"/>
205
+ <wsdl:output message="tns:paaVerificaRPTRisposta" wsam:Action="http://ws.pagamenti.telematici.gov/PPT/paaVerificaRPTRisposta"/>
206
+ </wsdl:operation>
207
+ <wsdl:operation name="paaAttivaRPT">
208
+ <wsdl:input message="tns:paaAttivaRPT" wsam:Action="http://ws.pagamenti.telematici.gov/PPT/paaAttivaRPTRichiesta"/>
209
+ <wsdl:output message="tns:paaAttivaRPTRisposta" wsam:Action="http://ws.pagamenti.telematici.gov/PPT/paaAttivaRPTRisposta"/>
210
+ </wsdl:operation>
211
+ </wsdl:portType>
212
+ <wsdl:binding name="PagamentiTelematiciCCPbinding" type="tns:PagamentiTelematiciCCP">
213
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
214
+ <wsdl:operation name="paaAttivaRPT">
215
+ <soap:operation soapAction="paaAttivaRPT"/>
216
+ <wsdl:input>
217
+ <soap:body parts="bodyrichiesta" use="literal"/>
218
+ <soap:header message="tns:paaAttivaRPT" part="header" use="literal"/>
219
+ </wsdl:input>
220
+ <wsdl:output>
221
+ <soap:body use="literal"/>
222
+ </wsdl:output>
223
+ </wsdl:operation>
224
+ <wsdl:operation name="paaVerificaRPT">
225
+ <soap:operation soapAction="paaVerificaRPT"/>
226
+ <wsdl:input>
227
+ <soap:body parts="bodyrichiesta" use="literal"/>
228
+ <soap:header message="tns:paaVerificaRPT" part="header" use="literal"/>
229
+ </wsdl:input>
230
+ <wsdl:output>
231
+ <soap:body use="literal"/>
232
+ </wsdl:output>
233
+ </wsdl:operation>
234
+ </wsdl:binding>
235
+ <wsdl:service name="PagamentiTelematiciCCPservice">
236
+ <wsdl:port name="PPTPort" binding="tns:PagamentiTelematiciCCPbinding">
237
+ <soap:address location="http://NodoPagamentiSPC.spcoop.gov.it/"/>
238
+ </wsdl:port>
239
+ </wsdl:service>
240
+ </wsdl:definitions>
241
+
@@ -0,0 +1,202 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Questo WSDL rappresenta l'interfaccia esposta dalla PAA per la verifica
3
+ dei pagamenti in attesa. -->
4
+ <wsdl:definitions xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
5
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ppthead="http://ws.pagamenti.telematici.gov/ppthead"
6
+ xmlns:ppt="http://ws.pagamenti.telematici.gov/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
8
+ xmlns:tns="http://NodoPagamentiSPC.spcoop.gov.it/servizi/RichiestaAvvisi"
9
+ xmlns:pay_i="http://www.digitpa.gov.it/schemas/2011/Pagamenti/" name="PPT"
10
+ targetNamespace="http://NodoPagamentiSPC.spcoop.gov.it/servizi/RichiestaAvvisi">
11
+ <wsdl:types>
12
+ <!-- schema header -->
13
+ <xsd:schema version="2.1"
14
+ targetNamespace="http://ws.pagamenti.telematici.gov/ppthead">
15
+ <xsd:simpleType name="stText35">
16
+ <xsd:restriction base="xsd:string">
17
+ <xsd:minLength value="1" />
18
+ <xsd:maxLength value="35" />
19
+ </xsd:restriction>
20
+ </xsd:simpleType>
21
+ <xsd:element name="intestazionePPT"
22
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
23
+ <xsd:complexType>
24
+ <xsd:sequence>
25
+ <xsd:element name="identificativoIntermediarioPA"
26
+ type="ppthead:stText35" />
27
+ <xsd:element name="identificativoStazioneIntermediarioPA"
28
+ type="ppthead:stText35" />
29
+ <xsd:element name="identificativoDominio" type="ppthead:stText35" />
30
+ </xsd:sequence>
31
+ </xsd:complexType>
32
+ </xsd:element>
33
+ </xsd:schema>
34
+ <!-- schema body -->
35
+ <xsd:schema version="1.0" targetNamespace="http://ws.pagamenti.telematici.gov/">
36
+ <xsd:import schemaLocation="PagInf_RPT_RT_6_2_0.xsd" namespace="http://www.digitpa.gov.it/schemas/2011/Pagamenti/" />
37
+
38
+ <!-- simple types -->
39
+ <xsd:simpleType name="stIdentificativoServizio">
40
+ <xsd:restriction base="xsd:string">
41
+ <xsd:length value="5" />
42
+ </xsd:restriction>
43
+ </xsd:simpleType>
44
+
45
+ <xsd:simpleType name="stText18">
46
+ <xsd:restriction base="xsd:string">
47
+ <xsd:minLength value="1" />
48
+ <xsd:maxLength value="18" />
49
+ </xsd:restriction>
50
+ </xsd:simpleType>
51
+
52
+ <xsd:simpleType name="stText25">
53
+ <xsd:restriction base="xsd:string">
54
+ <xsd:minLength value="1" />
55
+ <xsd:maxLength value="25" />
56
+ </xsd:restriction>
57
+ </xsd:simpleType>
58
+
59
+ <xsd:simpleType name="stCodIUV">
60
+ <xsd:restriction base="xsd:string">
61
+ <xsd:pattern value="[0-9]{5,15}|[0-9]{17}" />
62
+ </xsd:restriction>
63
+ </xsd:simpleType>
64
+
65
+ <xsd:simpleType name="stAuxDigit">
66
+ <xsd:restriction base="xsd:string">
67
+ <xsd:length value="1" />
68
+ <xsd:pattern value="[0-9]" />
69
+ </xsd:restriction>
70
+ </xsd:simpleType>
71
+
72
+ <xsd:simpleType name="stApplicationCode">
73
+ <xsd:restriction base="xsd:string">
74
+ <xsd:pattern value="[0-9]{2}" />
75
+ </xsd:restriction>
76
+ </xsd:simpleType>
77
+
78
+ <!-- complex types -->
79
+ <xsd:complexType name="ctNumeroAvviso">
80
+ <xsd:sequence>
81
+ <xsd:element type="ppt:stAuxDigit" name="auxDigit" />
82
+ <xsd:element type="ppt:stApplicationCode" name="applicationCode" minOccurs="0"/>
83
+ <xsd:element type="ppt:stCodIUV" name="IUV" />
84
+ </xsd:sequence>
85
+ </xsd:complexType>
86
+
87
+ <xsd:complexType name="ctFaultBean">
88
+ <xsd:sequence>
89
+ <xsd:element name="faultCode" type="xsd:string" />
90
+ <xsd:element name="faultString" type="xsd:string" />
91
+ <xsd:element name="id" type="xsd:string" />
92
+ <xsd:element name="description" type="xsd:string"
93
+ minOccurs="0" />
94
+ <xsd:element name="serial" type="xsd:int" minOccurs="0" />
95
+ </xsd:sequence>
96
+ </xsd:complexType>
97
+
98
+ <xsd:complexType name="ctRisposta">
99
+ <xsd:sequence>
100
+ <xsd:element name="fault" type="ppt:ctFaultBean"
101
+ minOccurs="0" />
102
+ </xsd:sequence>
103
+ </xsd:complexType>
104
+
105
+ <xsd:complexType name="ctSpezzoniCausaleVersamento">
106
+ <xsd:sequence minOccurs="1" maxOccurs="6">
107
+ <xsd:choice>
108
+ <xsd:element type="pay_i:stText35" name="spezzoneCausaleVersamento" />
109
+ <xsd:element type="ppt:ctSpezzoneStrutturatoCausaleVersamento" name="spezzoneStrutturatoCausaleVersamento" />
110
+ </xsd:choice>
111
+ </xsd:sequence>
112
+ </xsd:complexType>
113
+
114
+ <xsd:complexType name="ctSpezzoneStrutturatoCausaleVersamento">
115
+ <xsd:sequence>
116
+ <xsd:element type="ppt:stText25" name="causaleSpezzone" />
117
+ <xsd:element type="pay_i:stImporto" name="importoSpezzone" />
118
+ </xsd:sequence>
119
+ </xsd:complexType>
120
+
121
+ <xsd:complexType name="ctDatiPagamentoPA">
122
+ <xsd:sequence>
123
+ <xsd:element name="importoSingoloVersamento" type="pay_i:stImporto" />
124
+ <xsd:element name="ibanAccredito" type="pay_i:stIBANIdentifier" />
125
+ <xsd:element name="bicAccredito" type="pay_i:stBICIdentifier" minOccurs="0" />
126
+ <xsd:element name="enteBeneficiario" type="pay_i:ctEnteBeneficiario" minOccurs="0" />
127
+ <xsd:element name="credenzialiPagatore" type="pay_i:stText35" minOccurs="0" />
128
+ <xsd:choice>
129
+ <xsd:element name="causaleVersamento" type="pay_i:stText140" />
130
+ <xsd:element name="spezzoniCausaleVersamento" type="ppt:ctSpezzoniCausaleVersamento" />
131
+ </xsd:choice>
132
+ </xsd:sequence>
133
+ </xsd:complexType>
134
+
135
+ <xsd:complexType name="ctEsitoChiediNumeroAvviso">
136
+ <xsd:complexContent>
137
+ <xsd:extension base="ppt:ctRisposta">
138
+ <xsd:sequence>
139
+ <xsd:element name="esito" type="xsd:string" minOccurs="1" />
140
+ <xsd:element name="numeroAvviso" type="ppt:ctNumeroAvviso" minOccurs="0" />
141
+ <xsd:element name="datiPagamentoPA" type="ppt:ctDatiPagamentoPA" minOccurs="0" />
142
+ </xsd:sequence>
143
+ </xsd:extension>
144
+ </xsd:complexContent>
145
+ </xsd:complexType>
146
+
147
+ <xsd:complexType name="paaChiediNumeroAvviso">
148
+ <xsd:sequence>
149
+ <xsd:element name="identificativoPSP" type="pay_i:stText35" />
150
+ <xsd:element name="datiSpecificiServizio" type="xsd:base64Binary" />
151
+ </xsd:sequence>
152
+ </xsd:complexType>
153
+
154
+ <xsd:complexType name="paaChiediNumeroAvvisoRisposta">
155
+ <xsd:sequence>
156
+ <xsd:element name="paaChiediNumeroAvvisoRisposta" type="ppt:ctEsitoChiediNumeroAvviso" />
157
+ </xsd:sequence>
158
+ </xsd:complexType>
159
+
160
+ <!-- Wrapper Elements -->
161
+ <xsd:element name="paaChiediNumeroAvviso" type="ppt:paaChiediNumeroAvviso" />
162
+ <xsd:element name="paaChiediNumeroAvvisoRisposta" type="ppt:paaChiediNumeroAvvisoRisposta" />
163
+
164
+ </xsd:schema>
165
+ </wsdl:types>
166
+
167
+ <wsdl:message name="paaChiediNumeroAvviso">
168
+ <wsdl:part name="bodyrichiesta" element="ppt:paaChiediNumeroAvviso" />
169
+ <wsdl:part name="header" element="ppthead:intestazionePPT" />
170
+ </wsdl:message>
171
+ <wsdl:message name="paaChiediNumeroAvvisoRisposta">
172
+ <wsdl:part name="bodyrisposta" element="ppt:paaChiediNumeroAvvisoRisposta" />
173
+ </wsdl:message>
174
+
175
+ <wsdl:portType name="GenerazioneAvvisi">
176
+ <wsdl:operation name="paaChiediNumeroAvviso">
177
+ <wsdl:input message="tns:paaChiediNumeroAvviso"
178
+ wsam:Action="http://ws.pagamenti.telematici.gov/PPT/paaChiediNumeroAvvisoRichiesta" />
179
+ <wsdl:output message="tns:paaChiediNumeroAvvisoRisposta"
180
+ wsam:Action="http://ws.pagamenti.telematici.gov/PPT/paaChiediNumeroAvvisoRisposta" />
181
+ </wsdl:operation>
182
+ </wsdl:portType>
183
+ <wsdl:binding name="GenerazioneAvvisibinding" type="tns:GenerazioneAvvisi">
184
+ <soap:binding style="document"
185
+ transport="http://schemas.xmlsoap.org/soap/http" />
186
+ <wsdl:operation name="paaChiediNumeroAvviso">
187
+ <soap:operation soapAction="paaChiediNumeroAvviso" />
188
+ <wsdl:input>
189
+ <soap:header message="tns:paaChiediNumeroAvviso" part="header" use="literal" />
190
+ <soap:body parts="bodyrichiesta" use="literal" />
191
+ </wsdl:input>
192
+ <wsdl:output>
193
+ <soap:body use="literal" />
194
+ </wsdl:output>
195
+ </wsdl:operation>
196
+ </wsdl:binding>
197
+ <wsdl:service name="GenerazioneAvvisiservice">
198
+ <wsdl:port name="PPTPort" binding="tns:GenerazioneAvvisibinding">
199
+ <soap:address location="http://NodoPagamentiSPC.spcoop.gov.it/" />
200
+ </wsdl:port>
201
+ </wsdl:service>
202
+ </wsdl:definitions>