Projet

Général

Profil

0001-atal-get-status-fom-eAtal-and-Atal-35181.patch

Emmanuel Cazenave, 01 août 2019 16:55

Télécharger (75,6 ko)

Voir les différences:

Subject: [PATCH] atal: get status fom eAtal and Atal (#35181)

 passerelle/apps/atal/models.py               |   52 +
 tests/data/atal/DemandeService.wsdl          | 1110 ++++++++++++++++++
 tests/data/atal/details_demande_response.xml |    2 +
 tests/data/atal/etat_travaux_response.xml    |    1 +
 tests/test_atal.py                           |   89 ++
 5 files changed, 1254 insertions(+)
 create mode 100644 tests/data/atal/DemandeService.wsdl
 create mode 100644 tests/data/atal/details_demande_response.xml
 create mode 100644 tests/data/atal/etat_travaux_response.xml
passerelle/apps/atal/models.py
157 157
        )
158 158
        return process_response(demande_number)
159 159

  
160
    @endpoint(
161
        methods=['get'], perm='can_access', example_pattern='{demande_number}/',
162
        pattern='^(?P<demande_number>\w+)/$', name='retrieve-details-demande',
163
        parameters={
164
            'demande_number': {
165
                'description': _('Demande number'), 'example_value': 'DIT18050001'
166
            }
167
        }
168
    )
169
    def retrieve_details_demande(self, request, demande_number):
170
        soap_res = self._soap_call(
171
                wsdl='DemandeService', method='retrieveDetailsDemande',
172
                demandeNumberParam=demande_number)
173
        return {'data': helpers.serialize_object(soap_res)}
174

  
160 175
    @endpoint(
161 176
        methods=['get'], perm='can_access', example_pattern='{demande_number}/',
162 177
        pattern='^(?P<demande_number>\w+)/$', name='retrieve-etat-travaux',
......
172 187
            numero=demande_number)
173 188
        return {'data': helpers.serialize_object(soap_res)}
174 189

  
190
    @endpoint(
191
        methods=['get'], perm='can_access', example_pattern='{demande_number}/',
192
        pattern='^(?P<demande_number>\w+)/$', name='status',
193
        parameters={
194
            'demande_number': {
195
                'description': _('Demande number'), 'example_value': 'DIT18050001'
196
            }
197
        }
198
    )
199
    def status(self, request, demande_number):
200
        soap_res = self._soap_call(
201
            wsdl='DemandeService', method='retrieveDetailsDemande',
202
            demandeNumberParam=demande_number)
203
        status = helpers.serialize_object(soap_res).get('etatDemande', {}).get('description')
204
        if not status:
205
            raise APIError('Could not get a status')
206

  
207
        if status != 'PRISE EN COMPTE':
208
            return {
209
                'data': {
210
                    'status': status
211
                }
212
            }
213

  
214
        soap_res = self._soap_call(
215
            wsdl='DemandeService', method='retrieveEtatTravaux',
216
            numero=demande_number
217
        )
218
        status = helpers.serialize_object(soap_res).get('libelle')
219
        if not status:
220
            raise APIError('Could not get a status')
221
        return {
222
                'data': {
223
                    'status': status
224
                }
225
            }
226

  
175 227
    @endpoint(
176 228
        perm='can_access',
177 229
        post={
tests/data/atal/DemandeService.wsdl
1
<?xml version="1.0" encoding="UTF-8"?>
2
<wsdl:definitions targetNamespace="http://localhost/awa/services/DemandeService" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns9="http://tiers.atal.dto.commun.awa.aductis.com" xmlns:ns5="http://ldap.dto.commun.awa.aductis.com" xmlns:ns6="http://service.dto.commun.awa.aductis.com" xmlns:ns7="http://role.dto.commun.awa.aductis.com" xmlns:ns8="http://adresse.dto.commun.awa.aductis.com" xmlns:ns2="http://demande.services.awa.aductis.com" xmlns:ns1="http://services.awa.aductis.com" xmlns:ns4="http://etat.dto.commun.awa.aductis.com" xmlns:ns3="http://utilisateur.dto.commun.awa.aductis.com" xmlns:tns="http://localhost/awa/services/DemandeService" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
3
  <wsdl:types>
4
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://localhost/awa/services/DemandeService">
5
<xsd:element name="insertReponse">
6
<xsd:complexType>
7
<xsd:sequence>
8
<xsd:element maxOccurs="1" minOccurs="1" name="reponseTemplateId" type="xsd:int"/>
9
<xsd:element maxOccurs="1" minOccurs="1" name="userAtal" nillable="true" type="xsd:string"/>
10
<xsd:element maxOccurs="1" minOccurs="1" name="numeroIntervention" nillable="true" type="xsd:string"/>
11
</xsd:sequence>
12
</xsd:complexType>
13
</xsd:element>
14
<xsd:element name="insertReponseResponse">
15
<xsd:complexType>
16
<xsd:sequence>
17
<xsd:element maxOccurs="1" minOccurs="1" name="resultMessageId" type="xsd:int"/>
18
</xsd:sequence>
19
</xsd:complexType>
20
</xsd:element>
21
<xsd:element name="insertDemandeContactComplet">
22
<xsd:complexType>
23
<xsd:sequence>
24
<xsd:element maxOccurs="1" minOccurs="1" name="contactNom" nillable="true" type="xsd:string"/>
25
<xsd:element maxOccurs="1" minOccurs="1" name="contactPrenom" nillable="true" type="xsd:string"/>
26
<xsd:element maxOccurs="1" minOccurs="1" name="contactCivilite" nillable="true" type="xsd:string"/>
27
<xsd:element maxOccurs="1" minOccurs="1" name="contactTelephone" nillable="true" type="xsd:string"/>
28
<xsd:element maxOccurs="1" minOccurs="1" name="contactCourriel" nillable="true" type="xsd:string"/>
29
<xsd:element maxOccurs="1" minOccurs="1" name="contactAdresse" nillable="true" type="xsd:string"/>
30
<xsd:element maxOccurs="1" minOccurs="1" name="demandeObjet" nillable="true" type="xsd:string"/>
31
<xsd:element maxOccurs="1" minOccurs="1" name="demandeLieu" nillable="true" type="xsd:string"/>
32
<xsd:element maxOccurs="1" minOccurs="1" name="demandeDescription" nillable="true" type="xsd:string"/>
33
<xsd:element maxOccurs="1" minOccurs="1" name="remoteAddress" nillable="true" type="xsd:string"/>
34
<xsd:element maxOccurs="1" minOccurs="1" name="codeEquipement" nillable="true" type="xsd:string"/>
35
<xsd:element maxOccurs="1" minOccurs="1" name="codeServiceDemandeur" nillable="true" type="xsd:string"/>
36
<xsd:element maxOccurs="1" minOccurs="1" name="dateSouhaitee" nillable="true" type="xsd:string"/>
37
<xsd:element maxOccurs="1" minOccurs="1" name="dateButoir" nillable="true" type="xsd:string"/>
38
<xsd:element maxOccurs="1" minOccurs="1" name="commentaireDemande" nillable="true" type="xsd:string"/>
39
<xsd:element maxOccurs="1" minOccurs="1" name="typeDemande" nillable="true" type="xsd:string"/>
40
</xsd:sequence>
41
</xsd:complexType>
42
</xsd:element>
43
<xsd:element name="insertDemandeContactCompletResponse">
44
<xsd:complexType>
45
<xsd:sequence>
46
<xsd:element maxOccurs="1" minOccurs="1" name="numeroDemande" nillable="true" type="xsd:string"/>
47
</xsd:sequence>
48
</xsd:complexType>
49
</xsd:element>
50
<xsd:element name="insertReponseClotureWithComments">
51
<xsd:complexType>
52
<xsd:sequence>
53
<xsd:element maxOccurs="1" minOccurs="1" name="numeroDemande" nillable="true" type="xsd:string"/>
54
<xsd:element maxOccurs="1" minOccurs="1" name="reponseTemplateId" type="xsd:int"/>
55
<xsd:element maxOccurs="1" minOccurs="1" name="userAtal" nillable="true" type="xsd:string"/>
56
<xsd:element maxOccurs="1" minOccurs="1" name="commentaires" nillable="true" type="xsd:string"/>
57
</xsd:sequence>
58
</xsd:complexType>
59
</xsd:element>
60
<xsd:element name="insertReponseClotureWithCommentsResponse">
61
<xsd:complexType>
62
<xsd:sequence>
63
<xsd:element maxOccurs="1" minOccurs="1" name="resultMessageId" type="xsd:int"/>
64
</xsd:sequence>
65
</xsd:complexType>
66
</xsd:element>
67
<xsd:element name="insertDemandePretSalle">
68
<xsd:complexType>
69
<xsd:sequence>
70
<xsd:element maxOccurs="1" minOccurs="1" name="contactNom" nillable="true" type="xsd:string"/>
71
<xsd:element maxOccurs="1" minOccurs="1" name="contactTelephone" nillable="true" type="xsd:string"/>
72
<xsd:element maxOccurs="1" minOccurs="1" name="contactCourriel" nillable="true" type="xsd:string"/>
73
<xsd:element maxOccurs="1" minOccurs="1" name="contactAdresse" nillable="true" type="xsd:string"/>
74
<xsd:element maxOccurs="1" minOccurs="1" name="demandeObjet" nillable="true" type="xsd:string"/>
75
<xsd:element maxOccurs="1" minOccurs="1" name="demandeLieu" nillable="true" type="xsd:string"/>
76
<xsd:element maxOccurs="1" minOccurs="1" name="demandeDescription" nillable="true" type="xsd:string"/>
77
<xsd:element maxOccurs="1" minOccurs="1" name="remoteAddress" nillable="true" type="xsd:string"/>
78
<xsd:element maxOccurs="1" minOccurs="1" name="codeEquipement" nillable="true" type="xsd:string"/>
79
<xsd:element maxOccurs="1" minOccurs="1" name="typeDeSalle" nillable="true" type="xsd:string"/>
80
<xsd:element maxOccurs="1" minOccurs="1" name="nbPersonnesPrevues" nillable="true" type="xsd:string"/>
81
<xsd:element maxOccurs="1" minOccurs="1" name="codeServiceDemandeur" nillable="true" type="xsd:string"/>
82
<xsd:element maxOccurs="1" minOccurs="1" name="dateDebut" nillable="true" type="xsd:string"/>
83
<xsd:element maxOccurs="1" minOccurs="1" name="dateFin" nillable="true" type="xsd:string"/>
84
</xsd:sequence>
85
</xsd:complexType>
86
</xsd:element>
87
<xsd:element name="insertDemandePretSalleResponse">
88
<xsd:complexType>
89
<xsd:sequence>
90
<xsd:element maxOccurs="1" minOccurs="1" name="numeroDemande" nillable="true" type="xsd:string"/>
91
</xsd:sequence>
92
</xsd:complexType>
93
</xsd:element>
94
<xsd:element name="insertDemandeXYWithDLComment">
95
<xsd:complexType>
96
<xsd:sequence>
97
<xsd:element maxOccurs="1" minOccurs="1" name="contactNom" nillable="true" type="xsd:string"/>
98
<xsd:element maxOccurs="1" minOccurs="1" name="contactTelephone" nillable="true" type="xsd:string"/>
99
<xsd:element maxOccurs="1" minOccurs="1" name="contactCourriel" nillable="true" type="xsd:string"/>
100
<xsd:element maxOccurs="1" minOccurs="1" name="contactAdresse" nillable="true" type="xsd:string"/>
101
<xsd:element maxOccurs="1" minOccurs="1" name="demandeObjet" nillable="true" type="xsd:string"/>
102
<xsd:element maxOccurs="1" minOccurs="1" name="demandeLieu" nillable="true" type="xsd:string"/>
103
<xsd:element maxOccurs="1" minOccurs="1" name="demandeDescription" nillable="true" type="xsd:string"/>
104
<xsd:element maxOccurs="1" minOccurs="1" name="remoteAddress" nillable="true" type="xsd:string"/>
105
<xsd:element maxOccurs="1" minOccurs="1" name="codeEquipement" nillable="true" type="xsd:string"/>
106
<xsd:element maxOccurs="1" minOccurs="1" name="codeServiceDemandeur" nillable="true" type="xsd:string"/>
107
<xsd:element maxOccurs="1" minOccurs="1" name="dateSouhaitee" nillable="true" type="xsd:string"/>
108
<xsd:element maxOccurs="1" minOccurs="1" name="dateButoir" nillable="true" type="xsd:string"/>
109
<xsd:element maxOccurs="1" minOccurs="1" name="commentaireDemande" nillable="true" type="xsd:string"/>
110
<xsd:element maxOccurs="1" minOccurs="1" name="coordX" nillable="true" type="xsd:string"/>
111
<xsd:element maxOccurs="1" minOccurs="1" name="coordY" nillable="true" type="xsd:string"/>
112
</xsd:sequence>
113
</xsd:complexType>
114
</xsd:element>
115
<xsd:element name="insertDemandeXYWithDLCommentResponse">
116
<xsd:complexType>
117
<xsd:sequence>
118
<xsd:element maxOccurs="1" minOccurs="1" name="numeroDemande" nillable="true" type="xsd:string"/>
119
</xsd:sequence>
120
</xsd:complexType>
121
</xsd:element>
122
<xsd:element name="insertReponseCloture">
123
<xsd:complexType>
124
<xsd:sequence>
125
<xsd:element maxOccurs="1" minOccurs="1" name="numeroDemande" nillable="true" type="xsd:string"/>
126
<xsd:element maxOccurs="1" minOccurs="1" name="reponseTemplateId" type="xsd:int"/>
127
<xsd:element maxOccurs="1" minOccurs="1" name="userAtal" nillable="true" type="xsd:string"/>
128
</xsd:sequence>
129
</xsd:complexType>
130
</xsd:element>
131
<xsd:element name="insertReponseClotureResponse">
132
<xsd:complexType>
133
<xsd:sequence>
134
<xsd:element maxOccurs="1" minOccurs="1" name="resultMessageId" type="xsd:int"/>
135
</xsd:sequence>
136
</xsd:complexType>
137
</xsd:element>
138
<xsd:element name="insertReponseClotureByTypeAndNatureWithComments">
139
<xsd:complexType>
140
<xsd:sequence>
141
<xsd:element maxOccurs="1" minOccurs="1" name="numeroDemande" nillable="true" type="xsd:string"/>
142
<xsd:element maxOccurs="1" minOccurs="1" name="reponseTemplateId" type="xsd:int"/>
143
<xsd:element maxOccurs="1" minOccurs="1" name="userAtal" nillable="true" type="xsd:string"/>
144
<xsd:element maxOccurs="1" minOccurs="1" name="commentaires" nillable="true" type="xsd:string"/>
145
<xsd:element maxOccurs="1" minOccurs="1" name="typeRequest" nillable="true" type="xsd:string"/>
146
<xsd:element maxOccurs="1" minOccurs="1" name="natureRequest" nillable="true" type="xsd:string"/>
147
</xsd:sequence>
148
</xsd:complexType>
149
</xsd:element>
150
<xsd:element name="insertReponseClotureByTypeAndNatureWithCommentsResponse">
151
<xsd:complexType>
152
<xsd:sequence>
153
<xsd:element maxOccurs="1" minOccurs="1" name="resultMessageId" type="xsd:int"/>
154
</xsd:sequence>
155
</xsd:complexType>
156
</xsd:element>
157
<xsd:element name="insertDemandeWithDLComment">
158
<xsd:complexType>
159
<xsd:sequence>
160
<xsd:element maxOccurs="1" minOccurs="1" name="contactNom" nillable="true" type="xsd:string"/>
161
<xsd:element maxOccurs="1" minOccurs="1" name="contactTelephone" nillable="true" type="xsd:string"/>
162
<xsd:element maxOccurs="1" minOccurs="1" name="contactCourriel" nillable="true" type="xsd:string"/>
163
<xsd:element maxOccurs="1" minOccurs="1" name="contactAdresse" nillable="true" type="xsd:string"/>
164
<xsd:element maxOccurs="1" minOccurs="1" name="demandeObjet" nillable="true" type="xsd:string"/>
165
<xsd:element maxOccurs="1" minOccurs="1" name="demandeLieu" nillable="true" type="xsd:string"/>
166
<xsd:element maxOccurs="1" minOccurs="1" name="demandeDescription" nillable="true" type="xsd:string"/>
167
<xsd:element maxOccurs="1" minOccurs="1" name="remoteAddress" nillable="true" type="xsd:string"/>
168
<xsd:element maxOccurs="1" minOccurs="1" name="codeEquipement" nillable="true" type="xsd:string"/>
169
<xsd:element maxOccurs="1" minOccurs="1" name="codeServiceDemandeur" nillable="true" type="xsd:string"/>
170
<xsd:element maxOccurs="1" minOccurs="1" name="dateSouhaitee" nillable="true" type="xsd:string"/>
171
<xsd:element maxOccurs="1" minOccurs="1" name="dateButoir" nillable="true" type="xsd:string"/>
172
<xsd:element maxOccurs="1" minOccurs="1" name="commentaireDemande" nillable="true" type="xsd:string"/>
173
</xsd:sequence>
174
</xsd:complexType>
175
</xsd:element>
176
<xsd:element name="insertDemandeWithDLCommentResponse">
177
<xsd:complexType>
178
<xsd:sequence>
179
<xsd:element maxOccurs="1" minOccurs="1" name="numeroDemande" nillable="true" type="xsd:string"/>
180
</xsd:sequence>
181
</xsd:complexType>
182
</xsd:element>
183
<xsd:element name="insertDemandeXYByType">
184
<xsd:complexType>
185
<xsd:sequence>
186
<xsd:element maxOccurs="1" minOccurs="1" name="contactNom" nillable="true" type="xsd:string"/>
187
<xsd:element maxOccurs="1" minOccurs="1" name="contactTelephone" nillable="true" type="xsd:string"/>
188
<xsd:element maxOccurs="1" minOccurs="1" name="contactCourriel" nillable="true" type="xsd:string"/>
189
<xsd:element maxOccurs="1" minOccurs="1" name="contactAdresse" nillable="true" type="xsd:string"/>
190
<xsd:element maxOccurs="1" minOccurs="1" name="demandeObjet" nillable="true" type="xsd:string"/>
191
<xsd:element maxOccurs="1" minOccurs="1" name="demandeLieu" nillable="true" type="xsd:string"/>
192
<xsd:element maxOccurs="1" minOccurs="1" name="demandeDescription" nillable="true" type="xsd:string"/>
193
<xsd:element maxOccurs="1" minOccurs="1" name="remoteAddress" nillable="true" type="xsd:string"/>
194
<xsd:element maxOccurs="1" minOccurs="1" name="codeEquipement" nillable="true" type="xsd:string"/>
195
<xsd:element maxOccurs="1" minOccurs="1" name="codeServiceDemandeur" nillable="true" type="xsd:string"/>
196
<xsd:element maxOccurs="1" minOccurs="1" name="dateSouhaitee" nillable="true" type="xsd:string"/>
197
<xsd:element maxOccurs="1" minOccurs="1" name="typeDemande" nillable="true" type="xsd:string"/>
198
<xsd:element maxOccurs="1" minOccurs="1" name="coordX" nillable="true" type="xsd:string"/>
199
<xsd:element maxOccurs="1" minOccurs="1" name="coordY" nillable="true" type="xsd:string"/>
200
</xsd:sequence>
201
</xsd:complexType>
202
</xsd:element>
203
<xsd:element name="insertDemandeXYByTypeResponse">
204
<xsd:complexType>
205
<xsd:sequence>
206
<xsd:element maxOccurs="1" minOccurs="1" name="numeroDemande" nillable="true" type="xsd:string"/>
207
</xsd:sequence>
208
</xsd:complexType>
209
</xsd:element>
210
<xsd:element name="updateDemandeMotsCles">
211
<xsd:complexType>
212
<xsd:sequence>
213
<xsd:element maxOccurs="1" minOccurs="1" name="numeroDemande" nillable="true" type="xsd:string"/>
214
<xsd:element maxOccurs="1" minOccurs="1" name="motsCles" nillable="true" type="xsd:string"/>
215
</xsd:sequence>
216
</xsd:complexType>
217
</xsd:element>
218
<xsd:element name="updateDemandeMotsClesResponse">
219
<xsd:complexType>
220
<xsd:sequence>
221
<xsd:element maxOccurs="1" minOccurs="1" name="resultat" nillable="true" type="xsd:string"/>
222
</xsd:sequence>
223
</xsd:complexType>
224
</xsd:element>
225
<xsd:element name="insertReponseClotureByTypeAndNature">
226
<xsd:complexType>
227
<xsd:sequence>
228
<xsd:element maxOccurs="1" minOccurs="1" name="numeroDemande" nillable="true" type="xsd:string"/>
229
<xsd:element maxOccurs="1" minOccurs="1" name="reponseTemplateId" type="xsd:int"/>
230
<xsd:element maxOccurs="1" minOccurs="1" name="userAtal" nillable="true" type="xsd:string"/>
231
<xsd:element maxOccurs="1" minOccurs="1" name="typeRequest" nillable="true" type="xsd:string"/>
232
<xsd:element maxOccurs="1" minOccurs="1" name="natureRequest" nillable="true" type="xsd:string"/>
233
</xsd:sequence>
234
</xsd:complexType>
235
</xsd:element>
236
<xsd:element name="insertReponseClotureByTypeAndNatureResponse">
237
<xsd:complexType>
238
<xsd:sequence>
239
<xsd:element maxOccurs="1" minOccurs="1" name="resultMessageId" type="xsd:int"/>
240
</xsd:sequence>
241
</xsd:complexType>
242
</xsd:element>
243
<xsd:element name="isActionValid">
244
<xsd:complexType>
245
<xsd:sequence>
246
<xsd:element maxOccurs="1" minOccurs="1" name="in0" type="xsd:int"/>
247
<xsd:element maxOccurs="1" minOccurs="1" name="in1" nillable="true" type="xsd:string"/>
248
<xsd:element maxOccurs="1" minOccurs="1" name="in2" type="xsd:int"/>
249
</xsd:sequence>
250
</xsd:complexType>
251
</xsd:element>
252
<xsd:element name="isActionValidResponse">
253
<xsd:complexType>
254
<xsd:sequence>
255
<xsd:element maxOccurs="1" minOccurs="1" name="out" type="xsd:int"/>
256
</xsd:sequence>
257
</xsd:complexType>
258
</xsd:element>
259
<xsd:element name="getDemandesParDestinataire">
260
<xsd:complexType>
261
<xsd:sequence>
262
<xsd:element maxOccurs="1" minOccurs="1" name="loginDestinataire" nillable="true" type="xsd:string"/>
263
</xsd:sequence>
264
</xsd:complexType>
265
</xsd:element>
266
<xsd:complexType name="ArrayOfString">
267
<xsd:sequence>
268
<xsd:element maxOccurs="unbounded" minOccurs="0" name="string" nillable="true" type="xsd:string"/>
269
</xsd:sequence>
270
</xsd:complexType>
271
<xsd:element name="getDemandesParDestinataireResponse">
272
<xsd:complexType>
273
<xsd:sequence>
274
<xsd:element maxOccurs="1" minOccurs="1" name="listeDemandesParDestinataire" nillable="true" type="ns2:ArrayOfDemande"/>
275
</xsd:sequence>
276
</xsd:complexType>
277
</xsd:element>
278
<xsd:element name="insertDemandeAvecAuteurJSON">
279
<xsd:complexType>
280
<xsd:sequence>
281
<xsd:element maxOccurs="1" minOccurs="1" name="jsonObject" nillable="true" type="xsd:string"/>
282
</xsd:sequence>
283
</xsd:complexType>
284
</xsd:element>
285
<xsd:element name="insertDemandeAvecAuteurJSONResponse">
286
<xsd:complexType>
287
<xsd:sequence>
288
<xsd:element maxOccurs="1" minOccurs="1" name="numeroDemande" nillable="true" type="xsd:string"/>
289
</xsd:sequence>
290
</xsd:complexType>
291
</xsd:element>
292
<xsd:element name="retrieveEtatTravaux">
293
<xsd:complexType>
294
<xsd:sequence>
295
<xsd:element maxOccurs="1" minOccurs="1" name="numero" nillable="true" type="xsd:string"/>
296
</xsd:sequence>
297
</xsd:complexType>
298
</xsd:element>
299
<xsd:element name="retrieveEtatTravauxResponse">
300
<xsd:complexType>
301
<xsd:sequence>
302
<xsd:element maxOccurs="1" minOccurs="1" name="etatTravaux" nillable="true" type="ns2:EtatTravaux"/>
303
</xsd:sequence>
304
</xsd:complexType>
305
</xsd:element>
306
<xsd:element name="retrieveDemandes">
307
<xsd:complexType/>
308
</xsd:element>
309
<xsd:element name="retrieveDemandesResponse">
310
<xsd:complexType>
311
<xsd:sequence>
312
<xsd:element maxOccurs="1" minOccurs="1" name="DemandesRetrieved" nillable="true" type="ns2:ArrayOfDemande"/>
313
</xsd:sequence>
314
</xsd:complexType>
315
</xsd:element>
316
<xsd:element name="insertDemande">
317
<xsd:complexType>
318
<xsd:sequence>
319
<xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string"/>
320
<xsd:element maxOccurs="1" minOccurs="1" name="in1" nillable="true" type="xsd:string"/>
321
<xsd:element maxOccurs="1" minOccurs="1" name="in2" nillable="true" type="xsd:string"/>
322
<xsd:element maxOccurs="1" minOccurs="1" name="in3" nillable="true" type="xsd:string"/>
323
<xsd:element maxOccurs="1" minOccurs="1" name="in4" nillable="true" type="xsd:string"/>
324
<xsd:element maxOccurs="1" minOccurs="1" name="in5" nillable="true" type="xsd:string"/>
325
<xsd:element maxOccurs="1" minOccurs="1" name="in6" nillable="true" type="xsd:string"/>
326
<xsd:element maxOccurs="1" minOccurs="1" name="in7" nillable="true" type="xsd:string"/>
327
<xsd:element maxOccurs="1" minOccurs="1" name="in8" nillable="true" type="xsd:string"/>
328
<xsd:element maxOccurs="1" minOccurs="1" name="in9" nillable="true" type="xsd:string"/>
329
<xsd:element maxOccurs="1" minOccurs="1" name="in10" nillable="true" type="xsd:string"/>
330
</xsd:sequence>
331
</xsd:complexType>
332
</xsd:element>
333
<xsd:element name="insertDemandeResponse">
334
<xsd:complexType>
335
<xsd:sequence>
336
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="xsd:string"/>
337
</xsd:sequence>
338
</xsd:complexType>
339
</xsd:element>
340
<xsd:element name="insertDemandeByType">
341
<xsd:complexType>
342
<xsd:sequence>
343
<xsd:element maxOccurs="1" minOccurs="1" name="contactNom" nillable="true" type="xsd:string"/>
344
<xsd:element maxOccurs="1" minOccurs="1" name="contactTelephone" nillable="true" type="xsd:string"/>
345
<xsd:element maxOccurs="1" minOccurs="1" name="contactCourriel" nillable="true" type="xsd:string"/>
346
<xsd:element maxOccurs="1" minOccurs="1" name="contactAdresse" nillable="true" type="xsd:string"/>
347
<xsd:element maxOccurs="1" minOccurs="1" name="demandeObjet" nillable="true" type="xsd:string"/>
348
<xsd:element maxOccurs="1" minOccurs="1" name="demandeLieu" nillable="true" type="xsd:string"/>
349
<xsd:element maxOccurs="1" minOccurs="1" name="demandeDescription" nillable="true" type="xsd:string"/>
350
<xsd:element maxOccurs="1" minOccurs="1" name="remoteAddress" nillable="true" type="xsd:string"/>
351
<xsd:element maxOccurs="1" minOccurs="1" name="codeEquipement" nillable="true" type="xsd:string"/>
352
<xsd:element maxOccurs="1" minOccurs="1" name="codeServiceDemandeur" nillable="true" type="xsd:string"/>
353
<xsd:element maxOccurs="1" minOccurs="1" name="dateSouhaitee" nillable="true" type="xsd:string"/>
354
<xsd:element maxOccurs="1" minOccurs="1" name="typeDemande" nillable="true" type="xsd:string"/>
355
</xsd:sequence>
356
</xsd:complexType>
357
</xsd:element>
358
<xsd:element name="insertDemandeByTypeResponse">
359
<xsd:complexType>
360
<xsd:sequence>
361
<xsd:element maxOccurs="1" minOccurs="1" name="numeroDemande" nillable="true" type="xsd:string"/>
362
</xsd:sequence>
363
</xsd:complexType>
364
</xsd:element>
365
<xsd:element name="retrieveDetailsDemande">
366
<xsd:complexType>
367
<xsd:sequence>
368
<xsd:element maxOccurs="1" minOccurs="1" name="demandeNumberParam" nillable="true" type="xsd:string"/>
369
</xsd:sequence>
370
</xsd:complexType>
371
</xsd:element>
372
<xsd:element name="retrieveDetailsDemandeResponse">
373
<xsd:complexType>
374
<xsd:sequence>
375
<xsd:element maxOccurs="1" minOccurs="1" name="detailsDemandeRetrieved" nillable="true" type="ns2:Demande"/>
376
</xsd:sequence>
377
</xsd:complexType>
378
</xsd:element>
379
</xsd:schema>
380
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://services.awa.aductis.com">
381
<xsd:complexType name="AwaWSExceptionDetail">
382
<xsd:sequence>
383
<xsd:element minOccurs="0" name="code" nillable="true" type="xsd:string"/>
384
<xsd:element minOccurs="0" name="detail" nillable="true" type="xsd:string"/>
385
</xsd:sequence>
386
</xsd:complexType>
387
<xsd:element name="AwaWSException" type="ns1:AwaWSExceptionDetail"/>
388
</xsd:schema>
389
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://demande.services.awa.aductis.com">
390
<xsd:complexType name="ArrayOfDemande">
391
<xsd:sequence>
392
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Demande" nillable="true" type="ns2:Demande"/>
393
</xsd:sequence>
394
</xsd:complexType>
395
<xsd:complexType name="Demande">
396
<xsd:sequence>
397
<xsd:element minOccurs="0" name="codeDemande" type="xsd:long"/>
398
<xsd:element minOccurs="0" name="commentairesDestinataires" nillable="true" type="xsd:string"/>
399
<xsd:element minOccurs="0" name="demandeur" nillable="true" type="ns3:UtilisateurDto"/>
400
<xsd:element minOccurs="0" name="etatDemande" nillable="true" type="ns4:EtatDemandeDto"/>
401
<xsd:element minOccurs="0" name="numeroDemande" nillable="true" type="xsd:string"/>
402
<xsd:element minOccurs="0" name="objetDemande" nillable="true" type="xsd:string"/>
403
<xsd:element minOccurs="0" name="operateur" nillable="true" type="xsd:string"/>
404
<xsd:element minOccurs="0" name="reponses" nillable="true" type="ns2:ArrayOfReponse"/>
405
</xsd:sequence>
406
</xsd:complexType>
407
<xsd:complexType name="ArrayOfReponse">
408
<xsd:sequence>
409
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Reponse" nillable="true" type="ns2:Reponse"/>
410
</xsd:sequence>
411
</xsd:complexType>
412
<xsd:complexType name="Reponse">
413
<xsd:sequence>
414
<xsd:element minOccurs="0" name="codeReponse" type="xsd:long"/>
415
<xsd:element minOccurs="0" name="commentaires" nillable="true" type="xsd:string"/>
416
<xsd:element minOccurs="0" name="dateEstimee" type="xsd:dateTime"/>
417
<xsd:element minOccurs="0" name="dateEstimeeFin" type="xsd:dateTime"/>
418
<xsd:element minOccurs="0" name="dateReponse" type="xsd:dateTime"/>
419
<xsd:element minOccurs="0" name="description" nillable="true" type="xsd:string"/>
420
<xsd:element minOccurs="0" name="destinataire" nillable="true" type="ns3:UtilisateurDto"/>
421
<xsd:element minOccurs="0" name="etatInterventionATAL" nillable="true" type="xsd:string"/>
422
<xsd:element minOccurs="0" name="numeroReponse" nillable="true" type="xsd:string"/>
423
<xsd:element minOccurs="0" name="objetReponse" nillable="true" type="xsd:string"/>
424
<xsd:element minOccurs="0" name="typeReponse" nillable="true" type="xsd:long"/>
425
</xsd:sequence>
426
</xsd:complexType>
427
<xsd:complexType name="EtatTravaux">
428
<xsd:sequence>
429
<xsd:element minOccurs="0" name="commentaires" nillable="true" type="xsd:string"/>
430
<xsd:element minOccurs="0" name="date" type="xsd:dateTime"/>
431
<xsd:element minOccurs="0" name="id" type="xsd:int"/>
432
<xsd:element minOccurs="0" name="libelle" nillable="true" type="xsd:string"/>
433
</xsd:sequence>
434
</xsd:complexType>
435
</xsd:schema>
436
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://etat.dto.commun.awa.aductis.com">
437
<xsd:complexType name="EtatDemandeDto">
438
<xsd:sequence>
439
<xsd:element minOccurs="0" name="codeEtatDemande" type="xsd:int"/>
440
<xsd:element minOccurs="0" name="codeEtatTraitementDemande" nillable="true" type="xsd:long"/>
441
<xsd:element minOccurs="0" name="description" nillable="true" type="xsd:string"/>
442
<xsd:element minOccurs="0" name="typeEtatDemande" type="xsd:short"/>
443
</xsd:sequence>
444
</xsd:complexType>
445
</xsd:schema>
446
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://utilisateur.dto.commun.awa.aductis.com">
447
<xsd:complexType name="UtilisateurDto">
448
<xsd:sequence>
449
<xsd:element minOccurs="0" name="SAutoriserChangementMdp" nillable="true" type="xsd:string"/>
450
<xsd:element minOccurs="0" name="SAutoriserChangementRepondeur" nillable="true" type="xsd:string"/>
451
<xsd:element minOccurs="0" name="SDesactiverRepondeurAuto" nillable="true" type="xsd:string"/>
452
<xsd:element minOccurs="0" name="SFactif" nillable="true" type="xsd:string"/>
453
<xsd:element minOccurs="0" name="SNotificationMail" nillable="true" type="xsd:string"/>
454
<xsd:element minOccurs="0" name="activerRepondeurAuto" type="xsd:boolean"/>
455
<xsd:element minOccurs="0" name="allImputations" nillable="true" type="xsd:string"/>
456
<xsd:element minOccurs="0" name="allSalles" nillable="true" type="xsd:string"/>
457
<xsd:element minOccurs="0" name="allServicesDemandeur" nillable="true" type="xsd:string"/>
458
<xsd:element minOccurs="0" name="allServicesExecutant" nillable="true" type="xsd:string"/>
459
<xsd:element minOccurs="0" name="allServicesGestionnaires" nillable="true" type="xsd:string"/>
460
<xsd:element minOccurs="0" name="allVehicules" nillable="true" type="xsd:string"/>
461
<xsd:element minOccurs="0" name="autoriserChangementLanguage" type="xsd:boolean"/>
462
<xsd:element minOccurs="0" name="autoriserChangementMdp" type="xsd:boolean"/>
463
<xsd:element minOccurs="0" name="autoriserChangementPreferenceRecap" type="xsd:boolean"/>
464
<xsd:element minOccurs="0" name="autoriserChangementRepondeur" type="xsd:boolean"/>
465
<xsd:element minOccurs="0" name="config" nillable="true" type="ns5:ConfigurationLdapDto"/>
466
<xsd:element minOccurs="0" name="dateDerniereVisite" type="xsd:dateTime"/>
467
<xsd:element minOccurs="0" name="displayChart" nillable="true" type="xsd:string"/>
468
<xsd:element minOccurs="0" name="droits" nillable="true" type="ns3:ArrayOfUserRightDto"/>
469
<xsd:element minOccurs="0" name="email" nillable="true" type="xsd:string"/>
470
<xsd:element minOccurs="0" name="emails" nillable="true" type="tns:ArrayOfString"/>
471
<xsd:element minOccurs="0" name="enSession" type="xsd:boolean"/>
472
<xsd:element minOccurs="0" name="factif" type="xsd:boolean"/>
473
<xsd:element minOccurs="0" name="fax" nillable="true" type="xsd:string"/>
474
<xsd:element minOccurs="0" name="group" type="xsd:boolean"/>
475
<xsd:element minOccurs="0" name="groupId" type="xsd:long"/>
476
<xsd:element minOccurs="0" name="homePreference" type="xsd:int"/>
477
<xsd:element minOccurs="0" name="id" type="xsd:long"/>
478
<xsd:element minOccurs="0" name="langue" nillable="true" type="xsd:long"/>
479
<xsd:element minOccurs="0" name="login" nillable="true" type="xsd:string"/>
480
<xsd:element minOccurs="0" name="mdp" nillable="true" type="xsd:string"/>
481
<xsd:element minOccurs="0" name="nbAdmin" nillable="true" type="xsd:int"/>
482
<xsd:element minOccurs="0" name="nbDemandeurs" nillable="true" type="xsd:int"/>
483
<xsd:element minOccurs="0" name="nbGest" nillable="true" type="xsd:int"/>
484
<xsd:element minOccurs="0" name="nbManagers" nillable="true" type="xsd:int"/>
485
<xsd:element minOccurs="0" name="nom" nillable="true" type="xsd:string"/>
486
<xsd:element minOccurs="0" name="notificationMail" type="xsd:boolean"/>
487
<xsd:element minOccurs="0" name="nouveauCompte" type="xsd:boolean"/>
488
<xsd:element minOccurs="0" name="preferenceRecap" type="xsd:boolean"/>
489
<xsd:element minOccurs="0" name="selectedEquipTypes" nillable="true" type="xsd:string"/>
490
<xsd:element minOccurs="0" name="serviceDemandeur" nillable="true" type="ns6:ServiceDemandeurDto"/>
491
<xsd:element minOccurs="0" name="serviceLevel" nillable="true" type="xsd:int"/>
492
<xsd:element minOccurs="0" name="telephone" nillable="true" type="xsd:string"/>
493
<xsd:element minOccurs="0" name="type" nillable="true" type="ns7:RoleDto"/>
494
<xsd:element minOccurs="0" name="typeAcces" nillable="true" type="xsd:short"/>
495
<xsd:element minOccurs="0" name="typesEquipements" nillable="true" type="ns3:ArrayOfUserEquipementTypeDto"/>
496
<xsd:element minOccurs="0" name="userDn" nillable="true" type="xsd:string"/>
497
<xsd:element minOccurs="0" name="uuid" nillable="true" type="xsd:string"/>
498
</xsd:sequence>
499
</xsd:complexType>
500
<xsd:complexType name="ArrayOfUserEquipementTypeDto">
501
<xsd:sequence>
502
<xsd:element maxOccurs="unbounded" minOccurs="0" name="UserEquipementTypeDto" nillable="true" type="ns3:UserEquipementTypeDto"/>
503
</xsd:sequence>
504
</xsd:complexType>
505
<xsd:complexType name="UserEquipementTypeDto">
506
<xsd:sequence>
507
<xsd:element minOccurs="0" name="natureEquipement" nillable="true" type="xsd:string"/>
508
<xsd:element minOccurs="0" name="typeEquipement" nillable="true" type="xsd:string"/>
509
</xsd:sequence>
510
</xsd:complexType>
511
<xsd:complexType name="ArrayOfUserRightDto">
512
<xsd:sequence>
513
<xsd:element maxOccurs="unbounded" minOccurs="0" name="UserRightDto" nillable="true" type="ns3:UserRightDto"/>
514
</xsd:sequence>
515
</xsd:complexType>
516
<xsd:complexType name="UserRightDto">
517
<xsd:sequence>
518
<xsd:element minOccurs="0" name="droit" nillable="true" type="xsd:string"/>
519
<xsd:element minOccurs="0" name="module" nillable="true" type="xsd:string"/>
520
</xsd:sequence>
521
</xsd:complexType>
522
</xsd:schema>
523
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://role.dto.commun.awa.aductis.com">
524
<xsd:complexType name="RoleDto">
525
<xsd:sequence>
526
<xsd:element minOccurs="0" name="codeRole" type="xsd:long"/>
527
<xsd:element minOccurs="0" name="description" nillable="true" type="xsd:string"/>
528
<xsd:element minOccurs="0" name="name" nillable="true" type="xsd:string"/>
529
<xsd:element minOccurs="0" name="nomCle" nillable="true" type="xsd:string"/>
530
<xsd:element minOccurs="0" name="roleLevel" nillable="true" type="xsd:int"/>
531
<xsd:element minOccurs="0" name="typeRole" type="xsd:long"/>
532
</xsd:sequence>
533
</xsd:complexType>
534
</xsd:schema>
535
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://ldap.dto.commun.awa.aductis.com">
536
<xsd:complexType name="ConfigurationLdapDto">
537
<xsd:sequence>
538
<xsd:element minOccurs="0" name="active" nillable="true" type="xsd:boolean"/>
539
<xsd:element minOccurs="0" name="domain" nillable="true" type="xsd:string"/>
540
<xsd:element minOccurs="0" name="groupId" nillable="true" type="xsd:long"/>
541
<xsd:element minOccurs="0" name="id" nillable="true" type="xsd:long"/>
542
<xsd:element minOccurs="0" name="mapEmail" nillable="true" type="xsd:string"/>
543
<xsd:element minOccurs="0" name="mapFax" nillable="true" type="xsd:string"/>
544
<xsd:element minOccurs="0" name="mapId" nillable="true" type="xsd:string"/>
545
<xsd:element minOccurs="0" name="mapLogin" nillable="true" type="xsd:string"/>
546
<xsd:element minOccurs="0" name="mapMdp" nillable="true" type="xsd:string"/>
547
<xsd:element minOccurs="0" name="mapNom" nillable="true" type="xsd:string"/>
548
<xsd:element minOccurs="0" name="mapTelephone" nillable="true" type="xsd:string"/>
549
<xsd:element minOccurs="0" name="name" nillable="true" type="xsd:string"/>
550
<xsd:element minOccurs="0" name="port" nillable="true" type="xsd:int"/>
551
<xsd:element minOccurs="0" name="searchAttribute" nillable="true" type="xsd:string"/>
552
<xsd:element minOccurs="0" name="searchCategory" nillable="true" type="xsd:string"/>
553
<xsd:element minOccurs="0" name="searchClass" nillable="true" type="xsd:string"/>
554
<xsd:element minOccurs="0" name="searchDn" nillable="true" type="xsd:string"/>
555
<xsd:element minOccurs="0" name="searchDnByType" nillable="true" type="tns:ArrayOfString"/>
556
<xsd:element minOccurs="0" name="searchDnList" nillable="true" type="tns:ArrayOfString"/>
557
<xsd:element minOccurs="0" name="searchDnType" nillable="true" type="xsd:string"/>
558
<xsd:element minOccurs="0" name="searchPageSize" type="xsd:int"/>
559
<xsd:element minOccurs="0" name="searchType" type="xsd:int"/>
560
<xsd:element minOccurs="0" name="secure" nillable="true" type="xsd:boolean"/>
561
<xsd:element minOccurs="0" name="server" nillable="true" type="xsd:string"/>
562
<xsd:element minOccurs="0" name="syncNature" nillable="true" type="xsd:int"/>
563
<xsd:element minOccurs="0" name="url" nillable="true" type="xsd:string"/>
564
<xsd:element minOccurs="0" name="userAttribute" nillable="true" type="xsd:string"/>
565
<xsd:element minOccurs="0" name="userDn" nillable="true" type="xsd:string"/>
566
<xsd:element minOccurs="0" name="userMdp" nillable="true" type="xsd:string"/>
567
<xsd:element minOccurs="0" name="userName" nillable="true" type="xsd:string"/>
568
</xsd:sequence>
569
</xsd:complexType>
570
</xsd:schema>
571
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://service.dto.commun.awa.aductis.com">
572
<xsd:complexType name="ServiceDemandeurDto">
573
<xsd:sequence>
574
<xsd:element minOccurs="0" name="FDemandeur" type="xsd:boolean"/>
575
<xsd:element minOccurs="0" name="FDestinataire" type="xsd:boolean"/>
576
<xsd:element minOccurs="0" name="FExecutant" type="xsd:boolean"/>
577
<xsd:element minOccurs="0" name="FInterne" type="xsd:boolean"/>
578
<xsd:element minOccurs="0" name="adresse" nillable="true" type="ns8:AdresseDto"/>
579
<xsd:element minOccurs="0" name="adresseFacturation" nillable="true" type="xsd:string"/>
580
<xsd:element minOccurs="0" name="codeService" type="xsd:long"/>
581
<xsd:element minOccurs="0" name="codeServicePere" nillable="true" type="xsd:long"/>
582
<xsd:element minOccurs="0" name="codeTypeService" type="xsd:int"/>
583
<xsd:element minOccurs="0" name="collectivite" nillable="true" type="ns9:TiersDto"/>
584
<xsd:element minOccurs="0" name="droitHabillement" type="xsd:float"/>
585
<xsd:element minOccurs="0" name="droitMateriel" type="xsd:float"/>
586
<xsd:element minOccurs="0" name="droitOutillage" type="xsd:float"/>
587
<xsd:element minOccurs="0" name="libelle" nillable="true" type="xsd:string"/>
588
<xsd:element minOccurs="0" name="libelleComplet" nillable="true" type="xsd:string"/>
589
<xsd:element minOccurs="0" name="libelleSimple" nillable="true" type="xsd:string"/>
590
<xsd:element minOccurs="0" name="modeGestion" type="xsd:int"/>
591
<xsd:element minOccurs="0" name="natureService" type="xsd:int"/>
592
<xsd:element minOccurs="0" name="numeroService" nillable="true" type="xsd:string"/>
593
<xsd:element minOccurs="0" name="quota" type="xsd:float"/>
594
<xsd:element minOccurs="0" name="responsable" nillable="true" type="xsd:string"/>
595
<xsd:element minOccurs="0" name="tierParent" nillable="true" type="ns9:TiersDto"/>
596
<xsd:element minOccurs="0" name="typeQuota" type="xsd:int"/>
597
<xsd:element minOccurs="0" name="typeTiers" nillable="true" type="xsd:long"/>
598
</xsd:sequence>
599
</xsd:complexType>
600
</xsd:schema>
601
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://tiers.atal.dto.commun.awa.aductis.com">
602
<xsd:complexType name="TiersDto">
603
<xsd:sequence>
604
<xsd:element minOccurs="0" name="adresse" nillable="true" type="ns8:AdresseDto"/>
605
<xsd:element minOccurs="0" name="adresseFacturation" nillable="true" type="xsd:string"/>
606
<xsd:element minOccurs="0" name="codeService" type="xsd:long"/>
607
<xsd:element minOccurs="0" name="collectivite" nillable="true" type="ns9:TiersDto"/>
608
<xsd:element minOccurs="0" name="libelle" nillable="true" type="xsd:string"/>
609
<xsd:element minOccurs="0" name="libelleComplet" nillable="true" type="xsd:string"/>
610
<xsd:element minOccurs="0" name="libelleSimple" nillable="true" type="xsd:string"/>
611
<xsd:element minOccurs="0" name="tierParent" nillable="true" type="ns9:TiersDto"/>
612
<xsd:element minOccurs="0" name="typeTiers" nillable="true" type="xsd:long"/>
613
</xsd:sequence>
614
</xsd:complexType>
615
</xsd:schema>
616
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://adresse.dto.commun.awa.aductis.com">
617
<xsd:complexType name="AdresseDto">
618
<xsd:sequence>
619
<xsd:element minOccurs="0" name="adresse1" nillable="true" type="xsd:string"/>
620
<xsd:element minOccurs="0" name="adresse2" nillable="true" type="xsd:string"/>
621
<xsd:element minOccurs="0" name="adresseResume" nillable="true" type="xsd:string"/>
622
<xsd:element minOccurs="0" name="boitePostale" nillable="true" type="xsd:string"/>
623
<xsd:element minOccurs="0" name="cedex" nillable="true" type="xsd:string"/>
624
<xsd:element minOccurs="0" name="codePostal" nillable="true" type="xsd:string"/>
625
<xsd:element minOccurs="0" name="email" nillable="true" type="xsd:string"/>
626
<xsd:element minOccurs="0" name="fax" nillable="true" type="xsd:string"/>
627
<xsd:element minOccurs="0" name="idAdresse" nillable="true" type="xsd:long"/>
628
<xsd:element minOccurs="0" name="numero" nillable="true" type="xsd:string"/>
629
<xsd:element minOccurs="0" name="numeroBatiment" nillable="true" type="xsd:string"/>
630
<xsd:element minOccurs="0" name="numeroEscalier" nillable="true" type="xsd:string"/>
631
<xsd:element minOccurs="0" name="numeroEtage" nillable="true" type="xsd:string"/>
632
<xsd:element minOccurs="0" name="numeroLogement" nillable="true" type="xsd:string"/>
633
<xsd:element minOccurs="0" name="numeroSequence" nillable="true" type="xsd:string"/>
634
<xsd:element minOccurs="0" name="pays" nillable="true" type="xsd:string"/>
635
<xsd:element minOccurs="0" name="siteWeb" nillable="true" type="xsd:string"/>
636
<xsd:element minOccurs="0" name="telephone" nillable="true" type="xsd:string"/>
637
<xsd:element minOccurs="0" name="telephonePortable" nillable="true" type="xsd:string"/>
638
<xsd:element minOccurs="0" name="typeAdresse" nillable="true" type="xsd:long"/>
639
<xsd:element minOccurs="0" name="ville" nillable="true" type="xsd:string"/>
640
</xsd:sequence>
641
</xsd:complexType>
642
</xsd:schema>
643
  </wsdl:types>
644
  <wsdl:message name="isActionValidResponse">
645
    <wsdl:part name="parameters" element="tns:isActionValidResponse">
646
    </wsdl:part>
647
  </wsdl:message>
648
  <wsdl:message name="isActionValidRequest">
649
    <wsdl:part name="parameters" element="tns:isActionValid">
650
    </wsdl:part>
651
  </wsdl:message>
652
  <wsdl:message name="insertDemandeXYByTypeRequest">
653
    <wsdl:part name="parameters" element="tns:insertDemandeXYByType">
654
    </wsdl:part>
655
  </wsdl:message>
656
  <wsdl:message name="insertReponseClotureByTypeAndNatureWithCommentsRequest">
657
    <wsdl:part name="parameters" element="tns:insertReponseClotureByTypeAndNatureWithComments">
658
    </wsdl:part>
659
  </wsdl:message>
660
  <wsdl:message name="retrieveDetailsDemandeRequest">
661
    <wsdl:part name="parameters" element="tns:retrieveDetailsDemande">
662
    </wsdl:part>
663
  </wsdl:message>
664
  <wsdl:message name="insertDemandeXYWithDLCommentResponse">
665
    <wsdl:part name="parameters" element="tns:insertDemandeXYWithDLCommentResponse">
666
    </wsdl:part>
667
  </wsdl:message>
668
  <wsdl:message name="insertReponseClotureWithCommentsResponse">
669
    <wsdl:part name="parameters" element="tns:insertReponseClotureWithCommentsResponse">
670
    </wsdl:part>
671
  </wsdl:message>
672
  <wsdl:message name="insertDemandeContactCompletRequest">
673
    <wsdl:part name="parameters" element="tns:insertDemandeContactComplet">
674
    </wsdl:part>
675
  </wsdl:message>
676
  <wsdl:message name="insertReponseClotureWithCommentsRequest">
677
    <wsdl:part name="parameters" element="tns:insertReponseClotureWithComments">
678
    </wsdl:part>
679
  </wsdl:message>
680
  <wsdl:message name="updateDemandeMotsClesResponse">
681
    <wsdl:part name="parameters" element="tns:updateDemandeMotsClesResponse">
682
    </wsdl:part>
683
  </wsdl:message>
684
  <wsdl:message name="insertDemandePretSalleResponse">
685
    <wsdl:part name="parameters" element="tns:insertDemandePretSalleResponse">
686
    </wsdl:part>
687
  </wsdl:message>
688
  <wsdl:message name="getDemandesParDestinataireResponse">
689
    <wsdl:part name="parameters" element="tns:getDemandesParDestinataireResponse">
690
    </wsdl:part>
691
  </wsdl:message>
692
  <wsdl:message name="insertReponseClotureResponse">
693
    <wsdl:part name="parameters" element="tns:insertReponseClotureResponse">
694
    </wsdl:part>
695
  </wsdl:message>
696
  <wsdl:message name="insertDemandeContactCompletResponse">
697
    <wsdl:part name="parameters" element="tns:insertDemandeContactCompletResponse">
698
    </wsdl:part>
699
  </wsdl:message>
700
  <wsdl:message name="insertDemandeAvecAuteurJSONResponse">
701
    <wsdl:part name="parameters" element="tns:insertDemandeAvecAuteurJSONResponse">
702
    </wsdl:part>
703
  </wsdl:message>
704
  <wsdl:message name="insertDemandeXYByTypeResponse">
705
    <wsdl:part name="parameters" element="tns:insertDemandeXYByTypeResponse">
706
    </wsdl:part>
707
  </wsdl:message>
708
  <wsdl:message name="insertReponseClotureByTypeAndNatureResponse">
709
    <wsdl:part name="parameters" element="tns:insertReponseClotureByTypeAndNatureResponse">
710
    </wsdl:part>
711
  </wsdl:message>
712
  <wsdl:message name="insertDemandeWithDLCommentRequest">
713
    <wsdl:part name="parameters" element="tns:insertDemandeWithDLComment">
714
    </wsdl:part>
715
  </wsdl:message>
716
  <wsdl:message name="retrieveEtatTravauxResponse">
717
    <wsdl:part name="parameters" element="tns:retrieveEtatTravauxResponse">
718
    </wsdl:part>
719
  </wsdl:message>
720
  <wsdl:message name="getDemandesParDestinataireRequest">
721
    <wsdl:part name="parameters" element="tns:getDemandesParDestinataire">
722
    </wsdl:part>
723
  </wsdl:message>
724
  <wsdl:message name="insertReponseClotureRequest">
725
    <wsdl:part name="parameters" element="tns:insertReponseCloture">
726
    </wsdl:part>
727
  </wsdl:message>
728
  <wsdl:message name="AwaWSException">
729
    <wsdl:part name="AwaWSException" element="ns1:AwaWSException">
730
    </wsdl:part>
731
  </wsdl:message>
732
  <wsdl:message name="insertReponseResponse">
733
    <wsdl:part name="parameters" element="tns:insertReponseResponse">
734
    </wsdl:part>
735
  </wsdl:message>
736
  <wsdl:message name="insertDemandeWithDLCommentResponse">
737
    <wsdl:part name="parameters" element="tns:insertDemandeWithDLCommentResponse">
738
    </wsdl:part>
739
  </wsdl:message>
740
  <wsdl:message name="updateDemandeMotsClesRequest">
741
    <wsdl:part name="parameters" element="tns:updateDemandeMotsCles">
742
    </wsdl:part>
743
  </wsdl:message>
744
  <wsdl:message name="insertDemandeAvecAuteurJSONRequest">
745
    <wsdl:part name="parameters" element="tns:insertDemandeAvecAuteurJSON">
746
    </wsdl:part>
747
  </wsdl:message>
748
  <wsdl:message name="insertDemandePretSalleRequest">
749
    <wsdl:part name="parameters" element="tns:insertDemandePretSalle">
750
    </wsdl:part>
751
  </wsdl:message>
752
  <wsdl:message name="insertDemandeByTypeRequest">
753
    <wsdl:part name="parameters" element="tns:insertDemandeByType">
754
    </wsdl:part>
755
  </wsdl:message>
756
  <wsdl:message name="insertReponseClotureByTypeAndNatureRequest">
757
    <wsdl:part name="parameters" element="tns:insertReponseClotureByTypeAndNature">
758
    </wsdl:part>
759
  </wsdl:message>
760
  <wsdl:message name="insertDemandeRequest">
761
    <wsdl:part name="parameters" element="tns:insertDemande">
762
    </wsdl:part>
763
  </wsdl:message>
764
  <wsdl:message name="retrieveDemandesRequest">
765
    <wsdl:part name="parameters" element="tns:retrieveDemandes">
766
    </wsdl:part>
767
  </wsdl:message>
768
  <wsdl:message name="insertReponseClotureByTypeAndNatureWithCommentsResponse">
769
    <wsdl:part name="parameters" element="tns:insertReponseClotureByTypeAndNatureWithCommentsResponse">
770
    </wsdl:part>
771
  </wsdl:message>
772
  <wsdl:message name="insertDemandeResponse">
773
    <wsdl:part name="parameters" element="tns:insertDemandeResponse">
774
    </wsdl:part>
775
  </wsdl:message>
776
  <wsdl:message name="retrieveDemandesResponse">
777
    <wsdl:part name="parameters" element="tns:retrieveDemandesResponse">
778
    </wsdl:part>
779
  </wsdl:message>
780
  <wsdl:message name="retrieveEtatTravauxRequest">
781
    <wsdl:part name="parameters" element="tns:retrieveEtatTravaux">
782
    </wsdl:part>
783
  </wsdl:message>
784
  <wsdl:message name="insertReponseRequest">
785
    <wsdl:part name="parameters" element="tns:insertReponse">
786
    </wsdl:part>
787
  </wsdl:message>
788
  <wsdl:message name="retrieveDetailsDemandeResponse">
789
    <wsdl:part name="parameters" element="tns:retrieveDetailsDemandeResponse">
790
    </wsdl:part>
791
  </wsdl:message>
792
  <wsdl:message name="insertDemandeByTypeResponse">
793
    <wsdl:part name="parameters" element="tns:insertDemandeByTypeResponse">
794
    </wsdl:part>
795
  </wsdl:message>
796
  <wsdl:message name="insertDemandeXYWithDLCommentRequest">
797
    <wsdl:part name="parameters" element="tns:insertDemandeXYWithDLComment">
798
    </wsdl:part>
799
  </wsdl:message>
800
  <wsdl:portType name="DemandeService">
801
    <wsdl:operation name="insertReponse">
802
      <wsdl:input name="insertReponseRequest" message="tns:insertReponseRequest">
803
    </wsdl:input>
804
      <wsdl:output name="insertReponseResponse" message="tns:insertReponseResponse">
805
    </wsdl:output>
806
      <wsdl:fault name="AwaWSException" message="tns:AwaWSException">
807
    </wsdl:fault>
808
    </wsdl:operation>
809
    <wsdl:operation name="insertDemandeContactComplet">
810
      <wsdl:input name="insertDemandeContactCompletRequest" message="tns:insertDemandeContactCompletRequest">
811
    </wsdl:input>
812
      <wsdl:output name="insertDemandeContactCompletResponse" message="tns:insertDemandeContactCompletResponse">
813
    </wsdl:output>
814
    </wsdl:operation>
815
    <wsdl:operation name="insertReponseClotureWithComments">
816
      <wsdl:input name="insertReponseClotureWithCommentsRequest" message="tns:insertReponseClotureWithCommentsRequest">
817
    </wsdl:input>
818
      <wsdl:output name="insertReponseClotureWithCommentsResponse" message="tns:insertReponseClotureWithCommentsResponse">
819
    </wsdl:output>
820
    </wsdl:operation>
821
    <wsdl:operation name="insertDemandePretSalle">
822
      <wsdl:input name="insertDemandePretSalleRequest" message="tns:insertDemandePretSalleRequest">
823
    </wsdl:input>
824
      <wsdl:output name="insertDemandePretSalleResponse" message="tns:insertDemandePretSalleResponse">
825
    </wsdl:output>
826
    </wsdl:operation>
827
    <wsdl:operation name="insertDemandeXYWithDLComment">
828
      <wsdl:input name="insertDemandeXYWithDLCommentRequest" message="tns:insertDemandeXYWithDLCommentRequest">
829
    </wsdl:input>
830
      <wsdl:output name="insertDemandeXYWithDLCommentResponse" message="tns:insertDemandeXYWithDLCommentResponse">
831
    </wsdl:output>
832
    </wsdl:operation>
833
    <wsdl:operation name="insertReponseCloture">
834
      <wsdl:input name="insertReponseClotureRequest" message="tns:insertReponseClotureRequest">
835
    </wsdl:input>
836
      <wsdl:output name="insertReponseClotureResponse" message="tns:insertReponseClotureResponse">
837
    </wsdl:output>
838
    </wsdl:operation>
839
    <wsdl:operation name="insertReponseClotureByTypeAndNatureWithComments">
840
      <wsdl:input name="insertReponseClotureByTypeAndNatureWithCommentsRequest" message="tns:insertReponseClotureByTypeAndNatureWithCommentsRequest">
841
    </wsdl:input>
842
      <wsdl:output name="insertReponseClotureByTypeAndNatureWithCommentsResponse" message="tns:insertReponseClotureByTypeAndNatureWithCommentsResponse">
843
    </wsdl:output>
844
    </wsdl:operation>
845
    <wsdl:operation name="insertDemandeWithDLComment">
846
      <wsdl:input name="insertDemandeWithDLCommentRequest" message="tns:insertDemandeWithDLCommentRequest">
847
    </wsdl:input>
848
      <wsdl:output name="insertDemandeWithDLCommentResponse" message="tns:insertDemandeWithDLCommentResponse">
849
    </wsdl:output>
850
    </wsdl:operation>
851
    <wsdl:operation name="insertDemandeXYByType">
852
      <wsdl:input name="insertDemandeXYByTypeRequest" message="tns:insertDemandeXYByTypeRequest">
853
    </wsdl:input>
854
      <wsdl:output name="insertDemandeXYByTypeResponse" message="tns:insertDemandeXYByTypeResponse">
855
    </wsdl:output>
856
    </wsdl:operation>
857
    <wsdl:operation name="updateDemandeMotsCles">
858
      <wsdl:input name="updateDemandeMotsClesRequest" message="tns:updateDemandeMotsClesRequest">
859
    </wsdl:input>
860
      <wsdl:output name="updateDemandeMotsClesResponse" message="tns:updateDemandeMotsClesResponse">
861
    </wsdl:output>
862
    </wsdl:operation>
863
    <wsdl:operation name="insertReponseClotureByTypeAndNature">
864
      <wsdl:input name="insertReponseClotureByTypeAndNatureRequest" message="tns:insertReponseClotureByTypeAndNatureRequest">
865
    </wsdl:input>
866
      <wsdl:output name="insertReponseClotureByTypeAndNatureResponse" message="tns:insertReponseClotureByTypeAndNatureResponse">
867
    </wsdl:output>
868
    </wsdl:operation>
869
    <wsdl:operation name="isActionValid">
870
      <wsdl:input name="isActionValidRequest" message="tns:isActionValidRequest">
871
    </wsdl:input>
872
      <wsdl:output name="isActionValidResponse" message="tns:isActionValidResponse">
873
    </wsdl:output>
874
    </wsdl:operation>
875
    <wsdl:operation name="getDemandesParDestinataire">
876
      <wsdl:input name="getDemandesParDestinataireRequest" message="tns:getDemandesParDestinataireRequest">
877
    </wsdl:input>
878
      <wsdl:output name="getDemandesParDestinataireResponse" message="tns:getDemandesParDestinataireResponse">
879
    </wsdl:output>
880
    </wsdl:operation>
881
    <wsdl:operation name="insertDemandeAvecAuteurJSON">
882
      <wsdl:input name="insertDemandeAvecAuteurJSONRequest" message="tns:insertDemandeAvecAuteurJSONRequest">
883
    </wsdl:input>
884
      <wsdl:output name="insertDemandeAvecAuteurJSONResponse" message="tns:insertDemandeAvecAuteurJSONResponse">
885
    </wsdl:output>
886
      <wsdl:fault name="AwaWSException" message="tns:AwaWSException">
887
    </wsdl:fault>
888
    </wsdl:operation>
889
    <wsdl:operation name="retrieveEtatTravaux">
890
      <wsdl:input name="retrieveEtatTravauxRequest" message="tns:retrieveEtatTravauxRequest">
891
    </wsdl:input>
892
      <wsdl:output name="retrieveEtatTravauxResponse" message="tns:retrieveEtatTravauxResponse">
893
    </wsdl:output>
894
      <wsdl:fault name="AwaWSException" message="tns:AwaWSException">
895
    </wsdl:fault>
896
    </wsdl:operation>
897
    <wsdl:operation name="retrieveDemandes">
898
      <wsdl:input name="retrieveDemandesRequest" message="tns:retrieveDemandesRequest">
899
    </wsdl:input>
900
      <wsdl:output name="retrieveDemandesResponse" message="tns:retrieveDemandesResponse">
901
    </wsdl:output>
902
    </wsdl:operation>
903
    <wsdl:operation name="insertDemande">
904
      <wsdl:input name="insertDemandeRequest" message="tns:insertDemandeRequest">
905
    </wsdl:input>
906
      <wsdl:output name="insertDemandeResponse" message="tns:insertDemandeResponse">
907
    </wsdl:output>
908
    </wsdl:operation>
909
    <wsdl:operation name="insertDemandeByType">
910
      <wsdl:input name="insertDemandeByTypeRequest" message="tns:insertDemandeByTypeRequest">
911
    </wsdl:input>
912
      <wsdl:output name="insertDemandeByTypeResponse" message="tns:insertDemandeByTypeResponse">
913
    </wsdl:output>
914
    </wsdl:operation>
915
    <wsdl:operation name="retrieveDetailsDemande">
916
      <wsdl:input name="retrieveDetailsDemandeRequest" message="tns:retrieveDetailsDemandeRequest">
917
    </wsdl:input>
918
      <wsdl:output name="retrieveDetailsDemandeResponse" message="tns:retrieveDetailsDemandeResponse">
919
    </wsdl:output>
920
    </wsdl:operation>
921
  </wsdl:portType>
922
  <wsdl:binding name="DemandeServiceHttpBinding" type="tns:DemandeService">
923
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
924
    <wsdl:operation name="insertReponse">
925
      <wsdlsoap:operation soapAction="urn:insertReponse"/>
926
      <wsdl:input name="insertReponseRequest">
927
        <wsdlsoap:body use="literal"/>
928
      </wsdl:input>
929
      <wsdl:output name="insertReponseResponse">
930
        <wsdlsoap:body use="literal"/>
931
      </wsdl:output>
932
      <wsdl:fault name="AwaWSException">
933
        <wsdlsoap:fault name="AwaWSException" use="literal"/>
934
      </wsdl:fault>
935
    </wsdl:operation>
936
    <wsdl:operation name="insertDemandeContactComplet">
937
      <wsdlsoap:operation soapAction="urn:insertDemandeContactComplet"/>
938
      <wsdl:input name="insertDemandeContactCompletRequest">
939
        <wsdlsoap:body use="literal"/>
940
      </wsdl:input>
941
      <wsdl:output name="insertDemandeContactCompletResponse">
942
        <wsdlsoap:body use="literal"/>
943
      </wsdl:output>
944
    </wsdl:operation>
945
    <wsdl:operation name="insertReponseClotureWithComments">
946
      <wsdlsoap:operation soapAction="urn:insertReponseClotureWithComments"/>
947
      <wsdl:input name="insertReponseClotureWithCommentsRequest">
948
        <wsdlsoap:body use="literal"/>
949
      </wsdl:input>
950
      <wsdl:output name="insertReponseClotureWithCommentsResponse">
951
        <wsdlsoap:body use="literal"/>
952
      </wsdl:output>
953
    </wsdl:operation>
954
    <wsdl:operation name="insertDemandePretSalle">
955
      <wsdlsoap:operation soapAction="urn:insertDemandePretSalle"/>
956
      <wsdl:input name="insertDemandePretSalleRequest">
957
        <wsdlsoap:body use="literal"/>
958
      </wsdl:input>
959
      <wsdl:output name="insertDemandePretSalleResponse">
960
        <wsdlsoap:body use="literal"/>
961
      </wsdl:output>
962
    </wsdl:operation>
963
    <wsdl:operation name="insertDemandeXYWithDLComment">
964
      <wsdlsoap:operation soapAction="urn:insertDemandeXYWithDLComment"/>
965
      <wsdl:input name="insertDemandeXYWithDLCommentRequest">
966
        <wsdlsoap:body use="literal"/>
967
      </wsdl:input>
968
      <wsdl:output name="insertDemandeXYWithDLCommentResponse">
969
        <wsdlsoap:body use="literal"/>
970
      </wsdl:output>
971
    </wsdl:operation>
972
    <wsdl:operation name="insertReponseCloture">
973
      <wsdlsoap:operation soapAction="urn:insertReponseCloture"/>
974
      <wsdl:input name="insertReponseClotureRequest">
975
        <wsdlsoap:body use="literal"/>
976
      </wsdl:input>
977
      <wsdl:output name="insertReponseClotureResponse">
978
        <wsdlsoap:body use="literal"/>
979
      </wsdl:output>
980
    </wsdl:operation>
981
    <wsdl:operation name="insertReponseClotureByTypeAndNatureWithComments">
982
      <wsdlsoap:operation soapAction="urn:insertReponseClotureByTypeAndNatureWithComments"/>
983
      <wsdl:input name="insertReponseClotureByTypeAndNatureWithCommentsRequest">
984
        <wsdlsoap:body use="literal"/>
985
      </wsdl:input>
986
      <wsdl:output name="insertReponseClotureByTypeAndNatureWithCommentsResponse">
987
        <wsdlsoap:body use="literal"/>
988
      </wsdl:output>
989
    </wsdl:operation>
990
    <wsdl:operation name="insertDemandeWithDLComment">
991
      <wsdlsoap:operation soapAction="urn:insertDemandeWithDLComment"/>
992
      <wsdl:input name="insertDemandeWithDLCommentRequest">
993
        <wsdlsoap:body use="literal"/>
994
      </wsdl:input>
995
      <wsdl:output name="insertDemandeWithDLCommentResponse">
996
        <wsdlsoap:body use="literal"/>
997
      </wsdl:output>
998
    </wsdl:operation>
999
    <wsdl:operation name="insertDemandeXYByType">
1000
      <wsdlsoap:operation soapAction="urn:insertDemandeXYByType"/>
1001
      <wsdl:input name="insertDemandeXYByTypeRequest">
1002
        <wsdlsoap:body use="literal"/>
1003
      </wsdl:input>
1004
      <wsdl:output name="insertDemandeXYByTypeResponse">
1005
        <wsdlsoap:body use="literal"/>
1006
      </wsdl:output>
1007
    </wsdl:operation>
1008
    <wsdl:operation name="updateDemandeMotsCles">
1009
      <wsdlsoap:operation soapAction="urn:updateDemandeMotsCles"/>
1010
      <wsdl:input name="updateDemandeMotsClesRequest">
1011
        <wsdlsoap:body use="literal"/>
1012
      </wsdl:input>
1013
      <wsdl:output name="updateDemandeMotsClesResponse">
1014
        <wsdlsoap:body use="literal"/>
1015
      </wsdl:output>
1016
    </wsdl:operation>
1017
    <wsdl:operation name="insertReponseClotureByTypeAndNature">
1018
      <wsdlsoap:operation soapAction="urn:insertReponseClotureByTypeAndNature"/>
1019
      <wsdl:input name="insertReponseClotureByTypeAndNatureRequest">
1020
        <wsdlsoap:body use="literal"/>
1021
      </wsdl:input>
1022
      <wsdl:output name="insertReponseClotureByTypeAndNatureResponse">
1023
        <wsdlsoap:body use="literal"/>
1024
      </wsdl:output>
1025
    </wsdl:operation>
1026
    <wsdl:operation name="isActionValid">
1027
      <wsdlsoap:operation soapAction=""/>
1028
      <wsdl:input name="isActionValidRequest">
1029
        <wsdlsoap:body use="literal"/>
1030
      </wsdl:input>
1031
      <wsdl:output name="isActionValidResponse">
1032
        <wsdlsoap:body use="literal"/>
1033
      </wsdl:output>
1034
    </wsdl:operation>
1035
    <wsdl:operation name="getDemandesParDestinataire">
1036
      <wsdlsoap:operation soapAction="urn:GetDemandesParDestinataire"/>
1037
      <wsdl:input name="getDemandesParDestinataireRequest">
1038
        <wsdlsoap:body use="literal"/>
1039
      </wsdl:input>
1040
      <wsdl:output name="getDemandesParDestinataireResponse">
1041
        <wsdlsoap:body use="literal"/>
1042
      </wsdl:output>
1043
    </wsdl:operation>
1044
    <wsdl:operation name="insertDemandeAvecAuteurJSON">
1045
      <wsdlsoap:operation soapAction="urn:insertDemandeAvecAuteurJSON"/>
1046
      <wsdl:input name="insertDemandeAvecAuteurJSONRequest">
1047
        <wsdlsoap:body use="literal"/>
1048
      </wsdl:input>
1049
      <wsdl:output name="insertDemandeAvecAuteurJSONResponse">
1050
        <wsdlsoap:body use="literal"/>
1051
      </wsdl:output>
1052
      <wsdl:fault name="AwaWSException">
1053
        <wsdlsoap:fault name="AwaWSException" use="literal"/>
1054
      </wsdl:fault>
1055
    </wsdl:operation>
1056
    <wsdl:operation name="retrieveEtatTravaux">
1057
      <wsdlsoap:operation soapAction="urn:retrieveEtatTravaux"/>
1058
      <wsdl:input name="retrieveEtatTravauxRequest">
1059
        <wsdlsoap:body use="literal"/>
1060
      </wsdl:input>
1061
      <wsdl:output name="retrieveEtatTravauxResponse">
1062
        <wsdlsoap:body use="literal"/>
1063
      </wsdl:output>
1064
      <wsdl:fault name="AwaWSException">
1065
        <wsdlsoap:fault name="AwaWSException" use="literal"/>
1066
      </wsdl:fault>
1067
    </wsdl:operation>
1068
    <wsdl:operation name="retrieveDemandes">
1069
      <wsdlsoap:operation soapAction="urn:RetrieveDemandes"/>
1070
      <wsdl:input name="retrieveDemandesRequest">
1071
        <wsdlsoap:body use="literal"/>
1072
      </wsdl:input>
1073
      <wsdl:output name="retrieveDemandesResponse">
1074
        <wsdlsoap:body use="literal"/>
1075
      </wsdl:output>
1076
    </wsdl:operation>
1077
    <wsdl:operation name="insertDemande">
1078
      <wsdlsoap:operation soapAction=""/>
1079
      <wsdl:input name="insertDemandeRequest">
1080
        <wsdlsoap:body use="literal"/>
1081
      </wsdl:input>
1082
      <wsdl:output name="insertDemandeResponse">
1083
        <wsdlsoap:body use="literal"/>
1084
      </wsdl:output>
1085
    </wsdl:operation>
1086
    <wsdl:operation name="insertDemandeByType">
1087
      <wsdlsoap:operation soapAction="urn:insertDemandeByType"/>
1088
      <wsdl:input name="insertDemandeByTypeRequest">
1089
        <wsdlsoap:body use="literal"/>
1090
      </wsdl:input>
1091
      <wsdl:output name="insertDemandeByTypeResponse">
1092
        <wsdlsoap:body use="literal"/>
1093
      </wsdl:output>
1094
    </wsdl:operation>
1095
    <wsdl:operation name="retrieveDetailsDemande">
1096
      <wsdlsoap:operation soapAction="urn:RetrieveDetailsDemande"/>
1097
      <wsdl:input name="retrieveDetailsDemandeRequest">
1098
        <wsdlsoap:body use="literal"/>
1099
      </wsdl:input>
1100
      <wsdl:output name="retrieveDetailsDemandeResponse">
1101
        <wsdlsoap:body use="literal"/>
1102
      </wsdl:output>
1103
    </wsdl:operation>
1104
  </wsdl:binding>
1105
  <wsdl:service name="DemandeService">
1106
    <wsdl:port name="DemandeServiceHttpPort" binding="tns:DemandeServiceHttpBinding">
1107
      <wsdlsoap:address location="http://ns317145.ovh.net:8288/awa/services/DemandeService"/>
1108
    </wsdl:port>
1109
  </wsdl:service>
1110
</wsdl:definitions>
tests/data/atal/details_demande_response.xml
1
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><ns1:retrieveDetailsDemandeResponse xmlns:ns1="http://localhost/awa/services/DemandeService"><ns1:detailsDemandeRetrieved><codeDemande xmlns="http://demande.services.awa.aductis.com">13154</codeDemande><commentairesDestinataires xmlns="http://demande.services.awa.aductis.com"></commentairesDestinataires><demandeur xmlns="http://demande.services.awa.aductis.com"><SAutoriserChangementMdp xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><SAutoriserChangementRepondeur xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><SDesactiverRepondeurAuto xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><SFactif xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><SNotificationMail xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><activerRepondeurAuto xmlns="http://utilisateur.dto.commun.awa.aductis.com">false</activerRepondeurAuto><allImputations xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><allSalles xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><allServicesDemandeur xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><allServicesExecutant xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><allServicesGestionnaires xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><allVehicules xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><autoriserChangementLanguage xmlns="http://utilisateur.dto.commun.awa.aductis.com">false</autoriserChangementLanguage><autoriserChangementMdp xmlns="http://utilisateur.dto.commun.awa.aductis.com">false</autoriserChangementMdp><autoriserChangementPreferenceRecap xmlns="http://utilisateur.dto.commun.awa.aductis.com">false</autoriserChangementPreferenceRecap><autoriserChangementRepondeur xmlns="http://utilisateur.dto.commun.awa.aductis.com">false</autoriserChangementRepondeur><config xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><dateDerniereVisite xmlns="http://utilisateur.dto.commun.awa.aductis.com">2019-07-25T09:28:47+02:00</dateDerniereVisite><displayChart xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><droits xmlns="http://utilisateur.dto.commun.awa.aductis.com" /><email xmlns="http://utilisateur.dto.commun.awa.aductis.com">jean.delgoleto@berger-levrault.com</email><emails xmlns="http://utilisateur.dto.commun.awa.aductis.com"><ns1:string>jean.delgoleto@berger-levrault.com</ns1:string></emails><enSession xmlns="http://utilisateur.dto.commun.awa.aductis.com">false</enSession><factif xmlns="http://utilisateur.dto.commun.awa.aductis.com">true</factif><fax xmlns="http://utilisateur.dto.commun.awa.aductis.com"></fax><group xmlns="http://utilisateur.dto.commun.awa.aductis.com">false</group><groupId xmlns="http://utilisateur.dto.commun.awa.aductis.com">0</groupId><homePreference xmlns="http://utilisateur.dto.commun.awa.aductis.com">0</homePreference><id xmlns="http://utilisateur.dto.commun.awa.aductis.com">22</id><langue xmlns="http://utilisateur.dto.commun.awa.aductis.com">1</langue><login xmlns="http://utilisateur.dto.commun.awa.aductis.com">GRC</login><mdp xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><nbAdmin xmlns="http://utilisateur.dto.commun.awa.aductis.com">0</nbAdmin><nbDemandeurs xmlns="http://utilisateur.dto.commun.awa.aductis.com">0</nbDemandeurs><nbGest xmlns="http://utilisateur.dto.commun.awa.aductis.com">0</nbGest><nbManagers xmlns="http://utilisateur.dto.commun.awa.aductis.com">0</nbManagers><nom xmlns="http://utilisateur.dto.commun.awa.aductis.com">GRC</nom><notificationMail xmlns="http://utilisateur.dto.commun.awa.aductis.com">true</notificationMail><nouveauCompte xmlns="http://utilisateur.dto.commun.awa.aductis.com">false</nouveauCompte><preferenceRecap xmlns="http://utilisateur.dto.commun.awa.aductis.com">false</preferenceRecap><selectedEquipTypes xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><serviceDemandeur xmlns="http://utilisateur.dto.commun.awa.aductis.com"><FDemandeur xmlns="http://service.dto.commun.awa.aductis.com">true</FDemandeur><FDestinataire xmlns="http://service.dto.commun.awa.aductis.com">false</FDestinataire><FExecutant xmlns="http://service.dto.commun.awa.aductis.com">false</FExecutant><FInterne xmlns="http://service.dto.commun.awa.aductis.com">false</FInterne><adresse xmlns="http://service.dto.commun.awa.aductis.com" xsi:nil="true" /><adresseFacturation xmlns="http://service.dto.commun.awa.aductis.com" xsi:nil="true" /><codeService xmlns="http://service.dto.commun.awa.aductis.com">637</codeService><codeServicePere
2
xmlns="http://service.dto.commun.awa.aductis.com" xsi:nil="true" /><codeTypeService xmlns="http://service.dto.commun.awa.aductis.com">128</codeTypeService><collectivite xmlns="http://service.dto.commun.awa.aductis.com" xsi:nil="true" /><droitHabillement xmlns="http://service.dto.commun.awa.aductis.com">0.0</droitHabillement><droitMateriel xmlns="http://service.dto.commun.awa.aductis.com">0.0</droitMateriel><droitOutillage xmlns="http://service.dto.commun.awa.aductis.com">0.0</droitOutillage><libelle xmlns="http://service.dto.commun.awa.aductis.com">Administrés</libelle><libelleComplet xmlns="http://service.dto.commun.awa.aductis.com">Administrés</libelleComplet><libelleSimple xmlns="http://service.dto.commun.awa.aductis.com">Administrés</libelleSimple><modeGestion xmlns="http://service.dto.commun.awa.aductis.com">0</modeGestion><natureService xmlns="http://service.dto.commun.awa.aductis.com">0</natureService><numeroService xmlns="http://service.dto.commun.awa.aductis.com" xsi:nil="true" /><quota xmlns="http://service.dto.commun.awa.aductis.com">0.0</quota><responsable xmlns="http://service.dto.commun.awa.aductis.com" xsi:nil="true" /><tierParent xmlns="http://service.dto.commun.awa.aductis.com" xsi:nil="true" /><typeQuota xmlns="http://service.dto.commun.awa.aductis.com">0</typeQuota><typeTiers xmlns="http://service.dto.commun.awa.aductis.com">128</typeTiers></serviceDemandeur><serviceLevel xmlns="http://utilisateur.dto.commun.awa.aductis.com">2</serviceLevel><telephone xmlns="http://utilisateur.dto.commun.awa.aductis.com">+33664847804</telephone><type xmlns="http://utilisateur.dto.commun.awa.aductis.com"><codeRole xmlns="http://role.dto.commun.awa.aductis.com">3</codeRole><description xmlns="http://role.dto.commun.awa.aductis.com">Gestionnaire</description><name xmlns="http://role.dto.commun.awa.aductis.com">TYPE_USER_GEST</name><nomCle xmlns="http://role.dto.commun.awa.aductis.com">user.role.gestionnaire</nomCle><roleLevel xmlns="http://role.dto.commun.awa.aductis.com">1</roleLevel><typeRole xmlns="http://role.dto.commun.awa.aductis.com">3</typeRole></type><typeAcces xmlns="http://utilisateur.dto.commun.awa.aductis.com">0</typeAcces><typesEquipements xmlns="http://utilisateur.dto.commun.awa.aductis.com" /><userDn xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /><uuid xmlns="http://utilisateur.dto.commun.awa.aductis.com" xsi:nil="true" /></demandeur><etatDemande xmlns="http://demande.services.awa.aductis.com"><codeEtatDemande xmlns="http://etat.dto.commun.awa.aductis.com">0</codeEtatDemande><codeEtatTraitementDemande xmlns="http://etat.dto.commun.awa.aductis.com">1</codeEtatTraitementDemande><description xmlns="http://etat.dto.commun.awa.aductis.com">%s</description><typeEtatDemande xmlns="http://etat.dto.commun.awa.aductis.com">2</typeEtatDemande></etatDemande><numeroDemande xmlns="http://demande.services.awa.aductis.com">DIT19080001</numeroDemande><objetDemande xmlns="http://demande.services.awa.aductis.com">Test entrouvert</objetDemande><operateur xmlns="http://demande.services.awa.aductis.com" xsi:nil="true" /><reponses xmlns="http://demande.services.awa.aductis.com" /></ns1:detailsDemandeRetrieved></ns1:retrieveDetailsDemandeResponse></soap:Body></soap:Envelope>
tests/data/atal/etat_travaux_response.xml
1
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><ns1:retrieveEtatTravauxResponse xmlns:ns1="http://localhost/awa/services/DemandeService"><ns1:etatTravaux><commentaires xmlns="http://demande.services.awa.aductis.com"></commentaires><id xmlns="http://demande.services.awa.aductis.com">2</id><libelle xmlns="http://demande.services.awa.aductis.com">%s</libelle></ns1:etatTravaux></ns1:retrieveEtatTravauxResponse></soap:Body></soap:Envelope>
tests/test_atal.py
1
# coding: utf-8
2

  
1 3
import base64
4
import os
2 5

  
3 6
from django.contrib.contenttypes.models import ContentType
4 7
import mock
......
8 11
from passerelle.base.models import ApiUser, AccessRight
9 12

  
10 13

  
14
def get_file(filename):
15
    with open(
16
            os.path.join(
17
                os.path.dirname(__file__), 'data', 'atal', filename
18
            ),
19
            'r'
20
    ) as f:
21
        return f.read()
22

  
23

  
11 24
@pytest.fixture()
12 25
def connector(db):
13 26
    api = ApiUser.objects.create(username='all', keytype='', key='')
......
145 158
        'err_class': 'passerelle.utils.jsonresponse.APIError',
146 159
        'err_desc': 'Invalid base64 string'
147 160
    }
161

  
162

  
163
def test_retrieve_details_demande(app, connector, monkeypatch):
164
    import passerelle.utils
165

  
166
    wsdl_response = mock.Mock(
167
        content=get_file('DemandeService.wsdl'), status_code=200,
168
        headers={'Content-Type': 'text/xml'}
169
    )
170
    monkeypatch.setattr(passerelle.utils.Request, 'get', mock.Mock(return_value=wsdl_response))
171

  
172
    api_response = mock.Mock(
173
        content=get_file('details_demande_response.xml') % 'EN ATTENTE', status_code=200,
174
        headers={'Content-Type': 'text/xml'}
175
    )
176
    monkeypatch.setattr(passerelle.utils.Request, 'post', mock.Mock(return_value=api_response))
177

  
178
    response = app.get('/atal/slug-atal/retrieve-details-demande/DIT18050001/')
179
    assert response.json['err'] == 0
180
    assert response.json['data']['etatDemande']['description'] == 'EN ATTENTE'
181

  
182

  
183
def test_retrieve_etat_travaux(app, connector, monkeypatch):
184
    import passerelle.utils
185

  
186
    wsdl_response = mock.Mock(
187
        content=get_file('DemandeService.wsdl'), status_code=200,
188
        headers={'Content-Type': 'text/xml'}
189
    )
190
    monkeypatch.setattr(passerelle.utils.Request, 'get', mock.Mock(return_value=wsdl_response))
191

  
192
    api_response = mock.Mock(
193
        content=get_file('etat_travaux_response.xml') % u'travaux pas commencés', status_code=200,
194
        headers={'Content-Type': 'text/xml'}
195
    )
196
    monkeypatch.setattr(passerelle.utils.Request, 'post', mock.Mock(return_value=api_response))
197

  
198
    response = app.get('/atal/slug-atal/retrieve-etat-travaux/DIT18050001/')
199
    assert response.json['err'] == 0
200
    assert response.json['data']['libelle'] == u'travaux pas commencés'
201

  
202

  
203
def test_status(app, connector, monkeypatch):
204
    import passerelle.utils
205

  
206
    wsdl_response = mock.Mock(
207
        content=get_file('DemandeService.wsdl'), status_code=200,
208
        headers={'Content-Type': 'text/xml'}
209
    )
210
    monkeypatch.setattr(passerelle.utils.Request, 'get', mock.Mock(return_value=wsdl_response))
211

  
212
    api_response = mock.Mock(
213
        content=get_file('details_demande_response.xml') % 'EN ATTENTE', status_code=200,
214
        headers={'Content-Type': 'text/xml'}
215
    )
216
    monkeypatch.setattr(passerelle.utils.Request, 'post', mock.Mock(return_value=api_response))
217
    response = app.get('/atal/slug-atal/status/DIT18050001/')
218

  
219
    assert response.json['err'] == 0
220
    assert response.json['data']['status'] == u'EN ATTENTE'
221

  
222
    api_response1 = mock.Mock(
223
        content=get_file('details_demande_response.xml') % 'PRISE EN COMPTE', status_code=200,
224
        headers={'Content-Type': 'text/xml'}
225
    )
226
    api_response2 = mock.Mock(
227
        content=get_file('etat_travaux_response.xml') % u'travaux pas commencés', status_code=200,
228
        headers={'Content-Type': 'text/xml'}
229
    )
230
    monkeypatch.setattr(
231
        passerelle.utils.Request, 'post', mock.Mock(side_effect=[api_response1, api_response2])
232
    )
233

  
234
    response = app.get('/atal/slug-atal/status/DIT18050001/')
235
    assert response.json['err'] == 0
236
    assert response.json['data']['status'] == u'travaux pas commencés'
148
-