pyetnic 0.0.4__py3-none-any.whl
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.
Potentially problematic release.
This version of pyetnic might be problematic. Click here for more details.
- pyetnic/__init__.py +46 -0
- pyetnic/__main__.py +5 -0
- pyetnic/cli.py +47 -0
- pyetnic/config.py +93 -0
- pyetnic/log_config.py +15 -0
- pyetnic/resources/EpromFormationDocument1Service_external_v1.wsdl +103 -0
- pyetnic/resources/EpromFormationDocument2Service_external_v1.wsdl +76 -0
- pyetnic/resources/EpromFormationDocument3Service_external_v1.wsdl +76 -0
- pyetnic/resources/EpromFormationOrganisationService_external_v6.wsdl +130 -0
- pyetnic/resources/EpromFormationsListeService_external_v2.wsdl +76 -0
- pyetnic/resources/xsd/Addressing_v2.xsd +11 -0
- pyetnic/resources/xsd/AnneeScolaire_v1.xsd +7 -0
- pyetnic/resources/xsd/Authorisation_v2.xsd +15 -0
- pyetnic/resources/xsd/Common_v1.xsd +24 -0
- pyetnic/resources/xsd/EpromFormationDocument1Messages_external_v1.xsd +35 -0
- pyetnic/resources/xsd/EpromFormationDocument2Messages_external_v1.xsd +28 -0
- pyetnic/resources/xsd/EpromFormationDocument3Messages_external_v1.xsd +28 -0
- pyetnic/resources/xsd/EpromFormationOrganisationMessages_external_v6.xsd +142 -0
- pyetnic/resources/xsd/EpromFormationsListeMessages_external_v2.xsd +54 -0
- pyetnic/resources/xsd/Etablissement_v1.xsd +55 -0
- pyetnic/resources/xsd/FormationDocument1_v1.xsd +81 -0
- pyetnic/resources/xsd/FormationDocument2_v1.xsd +140 -0
- pyetnic/resources/xsd/FormationDocument3_v1.xsd +90 -0
- pyetnic/resources/xsd/FormationOrganisation_v2.xsd +46 -0
- pyetnic/resources/xsd/FormationOrganisation_v6.xsd +51 -0
- pyetnic/resources/xsd/Formation_v2.xsd +20 -0
- pyetnic/resources/xsd/Organisation_v1.xsd +21 -0
- pyetnic/resources/xsd/ResponseStatus_v3.xsd +25 -0
- pyetnic/resources/xsd/requestId_v1.xsd +8 -0
- pyetnic/services/__init__.py +72 -0
- pyetnic/services/document1.py +131 -0
- pyetnic/services/document2.py +155 -0
- pyetnic/services/document3.py +120 -0
- pyetnic/services/formations_liste.py +113 -0
- pyetnic/services/models.py +325 -0
- pyetnic/services/organisation.py +176 -0
- pyetnic/soap_client.py +120 -0
- pyetnic-0.0.4.dist-info/METADATA +160 -0
- pyetnic-0.0.4.dist-info/RECORD +43 -0
- pyetnic-0.0.4.dist-info/WHEEL +5 -0
- pyetnic-0.0.4.dist-info/entry_points.txt +2 -0
- pyetnic-0.0.4.dist-info/licenses/LICENSE +21 -0
- pyetnic-0.0.4.dist-info/top_level.txt +1 -0
pyetnic/__init__.py
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Pyetnic - Bibliothèque d'accès aux services web ETNIC pour l'enseignement de promotion sociale.
|
|
3
|
+
|
|
4
|
+
Ce module permet d'interagir avec les services SOAP d'ETNIC pour gérer les formations,
|
|
5
|
+
les organisations, les documents administratifs, etc.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
__version__ = '0.0.4'
|
|
9
|
+
__author__ = 'Fabien Toune'
|
|
10
|
+
|
|
11
|
+
# Exposition des fonctions principales pour un accès direct
|
|
12
|
+
from .services import (
|
|
13
|
+
# Formations liste
|
|
14
|
+
lister_formations,
|
|
15
|
+
lister_formations_organisables,
|
|
16
|
+
|
|
17
|
+
# Modèles
|
|
18
|
+
OrganisationApercu,
|
|
19
|
+
|
|
20
|
+
# Organisation
|
|
21
|
+
lire_organisation,
|
|
22
|
+
creer_organisation,
|
|
23
|
+
modifier_organisation,
|
|
24
|
+
supprimer_organisation,
|
|
25
|
+
|
|
26
|
+
# Document 1
|
|
27
|
+
lire_document_1,
|
|
28
|
+
modifier_document_1,
|
|
29
|
+
approuver_document_1,
|
|
30
|
+
|
|
31
|
+
# Document 2
|
|
32
|
+
lire_document_2,
|
|
33
|
+
modifier_document_2,
|
|
34
|
+
|
|
35
|
+
# Document 3
|
|
36
|
+
lire_document_3,
|
|
37
|
+
modifier_document_3,
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
# Exposition de la configuration
|
|
41
|
+
from .config import Config
|
|
42
|
+
|
|
43
|
+
from .cli import main as cli_main
|
|
44
|
+
|
|
45
|
+
def run_cli():
|
|
46
|
+
cli_main()
|
pyetnic/__main__.py
ADDED
pyetnic/cli.py
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# pyetnic/cli.py
|
|
3
|
+
import argparse
|
|
4
|
+
import os
|
|
5
|
+
|
|
6
|
+
def init_config(output_file='.env'):
|
|
7
|
+
contenu_env = """# Environnement : dev (services-web.tq.etnic.be) ou prod (services-web.etnic.be)
|
|
8
|
+
ENV=dev
|
|
9
|
+
|
|
10
|
+
# Identifiants pour le développement
|
|
11
|
+
DEV_USERNAME=
|
|
12
|
+
DEV_PASSWORD=
|
|
13
|
+
|
|
14
|
+
# Identifiants pour la production
|
|
15
|
+
PROD_USERNAME=
|
|
16
|
+
PROD_PASSWORD=
|
|
17
|
+
|
|
18
|
+
# Paramètres par défaut
|
|
19
|
+
DEFAULT_ETABID=3052
|
|
20
|
+
DEFAULT_IMPLID=6050
|
|
21
|
+
DEFAULT_SCHOOLYEAR=2023-2024
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
if os.path.exists(output_file):
|
|
25
|
+
overwrite = input(f"{output_file} existe déjà. Voulez-vous l'écraser ? (y/n): ")
|
|
26
|
+
if overwrite.lower() != 'y':
|
|
27
|
+
print("Opération annulée.")
|
|
28
|
+
return
|
|
29
|
+
|
|
30
|
+
with open(output_file, "w") as f:
|
|
31
|
+
f.write(contenu_env)
|
|
32
|
+
|
|
33
|
+
print(f"Fichier de configuration créé : {output_file}")
|
|
34
|
+
print("N'oubliez pas de remplir les valeurs manquantes dans le fichier.")
|
|
35
|
+
|
|
36
|
+
def main():
|
|
37
|
+
parser = argparse.ArgumentParser(description="Outils CLI pour pyetnic.")
|
|
38
|
+
parser.add_argument('command', choices=['init-config'], help="La commande à exécuter.")
|
|
39
|
+
parser.add_argument('--output', default='.env', help="Nom du fichier de sortie pour la configuration.")
|
|
40
|
+
|
|
41
|
+
args = parser.parse_args()
|
|
42
|
+
|
|
43
|
+
if args.command == 'init-config':
|
|
44
|
+
init_config(args.output)
|
|
45
|
+
|
|
46
|
+
if __name__ == '__main__':
|
|
47
|
+
main()
|
pyetnic/config.py
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# pyetnic/config.py
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Configuration centralisée pour les services ETNIC.
|
|
5
|
+
|
|
6
|
+
Ce module gère le chargement et la validation des variables d'environnement
|
|
7
|
+
nécessaires pour l'authentification et les paramètres par défaut.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
import os
|
|
11
|
+
import logging
|
|
12
|
+
from dotenv import load_dotenv
|
|
13
|
+
from typing import NamedTuple
|
|
14
|
+
|
|
15
|
+
# Configuration du logging
|
|
16
|
+
logger = logging.getLogger(__name__)
|
|
17
|
+
|
|
18
|
+
# Chargement des variables d'environnement
|
|
19
|
+
load_dotenv()
|
|
20
|
+
|
|
21
|
+
class ServiceConfig(NamedTuple):
|
|
22
|
+
endpoint: str
|
|
23
|
+
wsdl_path: str
|
|
24
|
+
binding_name: str
|
|
25
|
+
|
|
26
|
+
class Config:
|
|
27
|
+
"""Classe centralisée pour la configuration de l'application."""
|
|
28
|
+
|
|
29
|
+
# Environnement (dev, prod, etc.)
|
|
30
|
+
ENV = os.getenv('ENV', 'dev')
|
|
31
|
+
|
|
32
|
+
# Identifiants d'authentification
|
|
33
|
+
USERNAME = os.getenv(f"{ENV.upper()}_USERNAME")
|
|
34
|
+
PASSWORD = os.getenv(f"{ENV.upper()}_PASSWORD")
|
|
35
|
+
|
|
36
|
+
# Paramètres par défaut
|
|
37
|
+
ANNEE_SCOLAIRE = os.getenv("DEFAULT_SCHOOLYEAR", "2023-2024")
|
|
38
|
+
ETAB_ID = os.getenv("DEFAULT_ETABID")
|
|
39
|
+
IMPL_ID = os.getenv("DEFAULT_IMPLID")
|
|
40
|
+
|
|
41
|
+
# Configuration unifiée des services
|
|
42
|
+
SERVICES = {
|
|
43
|
+
"LISTE_FORMATIONS": ServiceConfig(
|
|
44
|
+
endpoint=f"https://services-web.{'tq.' if ENV == 'dev' else ''}etnic.be:11443/eprom/formations/liste/v2",
|
|
45
|
+
wsdl_path="EpromFormationsListeService_external_v2.wsdl",
|
|
46
|
+
binding_name="{http://services-web.etnic.be/eprom/formations/liste/v2}EPROMFormationsListeExternalV2Binding"
|
|
47
|
+
),
|
|
48
|
+
"ORGANISATION": ServiceConfig(
|
|
49
|
+
endpoint=f"https://services-web.{'tq.' if ENV == 'dev' else ''}etnic.be:11443/eprom/formation/organisation/v6",
|
|
50
|
+
wsdl_path="EpromFormationOrganisationService_external_v6.wsdl",
|
|
51
|
+
binding_name="{http://services-web.etnic.be/eprom/formation/organisation/v6}EPROMFormationOrganisationExternalV6Binding"
|
|
52
|
+
),
|
|
53
|
+
"DOCUMENT1": ServiceConfig(
|
|
54
|
+
endpoint=f"https://services-web.{'tq.' if ENV == 'dev' else ''}etnic.be:11443/eprom/formation/document1/v1",
|
|
55
|
+
wsdl_path="EpromFormationDocument1Service_external_v1.wsdl",
|
|
56
|
+
binding_name="{http://services-web.etnic.be/eprom/formation/document1/v1}EPROMFormationDocument1ExternalV1Binding"
|
|
57
|
+
),
|
|
58
|
+
"DOCUMENT2": ServiceConfig(
|
|
59
|
+
endpoint=f"https://services-web.{'tq.' if ENV == 'dev' else ''}etnic.be:11443/eprom/formation/document2/v1",
|
|
60
|
+
wsdl_path="EpromFormationDocument2Service_external_v1.wsdl",
|
|
61
|
+
binding_name="{http://services-web.etnic.be/eprom/formation/document2/v1}EPROMFormationDocument2ExternalV1Binding"
|
|
62
|
+
),
|
|
63
|
+
"DOCUMENT3": ServiceConfig(
|
|
64
|
+
endpoint=f"https://services-web.{'tq.' if ENV == 'dev' else ''}etnic.be:11443/eprom/formation/document3/v1",
|
|
65
|
+
wsdl_path="EpromFormationDocument3Service_external_v1.wsdl",
|
|
66
|
+
binding_name="{http://services-web.etnic.be/eprom/formation/document3/v1}EPROMFormationDocument3ExternalV1Binding"
|
|
67
|
+
),
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@classmethod
|
|
71
|
+
def validate(cls):
|
|
72
|
+
"""Valide que toutes les variables d'environnement nécessaires sont définies."""
|
|
73
|
+
missing = []
|
|
74
|
+
|
|
75
|
+
if not cls.USERNAME:
|
|
76
|
+
missing.append(f"{cls.ENV.upper()}_USERNAME")
|
|
77
|
+
if not cls.PASSWORD:
|
|
78
|
+
missing.append(f"{cls.ENV.upper()}_PASSWORD")
|
|
79
|
+
|
|
80
|
+
if missing:
|
|
81
|
+
logger.warning(f"Variables d'environnement manquantes : {', '.join(missing)}")
|
|
82
|
+
return False
|
|
83
|
+
|
|
84
|
+
return True
|
|
85
|
+
|
|
86
|
+
@classmethod
|
|
87
|
+
def get_verify_ssl(cls):
|
|
88
|
+
"""Retourne si la vérification SSL doit être activée."""
|
|
89
|
+
return cls.ENV != "dev"
|
|
90
|
+
|
|
91
|
+
# Validation initiale de la configuration
|
|
92
|
+
if not Config.validate():
|
|
93
|
+
logger.warning("Configuration incomplète. Certaines fonctionnalités pourraient ne pas fonctionner correctement.")
|
pyetnic/log_config.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import logging
|
|
2
|
+
|
|
3
|
+
logger = logging.getLogger(__name__)
|
|
4
|
+
|
|
5
|
+
def configure_logging():
|
|
6
|
+
logger.info("Configuration du logging en cours...")
|
|
7
|
+
# Configuration de base
|
|
8
|
+
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
|
9
|
+
|
|
10
|
+
# Configuration spécifique pour chaque module
|
|
11
|
+
logging.getLogger('pyetnic.services.formations_liste').setLevel(logging.WARNING)
|
|
12
|
+
logging.getLogger('pyetnic.services.organisation').setLevel(logging.WARNING)
|
|
13
|
+
logging.getLogger('pyetnic.services.document2').setLevel(logging.WARNING)
|
|
14
|
+
|
|
15
|
+
# Vous pouvez ajouter d'autres configurations spécifiques ici
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:req="http://etnic.be/types/technical/requestId/v1" xmlns:tns="http://services-web.etnic.be/eprom/formation/document1/v1" xmlns:eprom="http://services-web.etnic.be/eprom/formation/document1/messages/v1" name="EPROMFormationDocument1V1ExternalService" targetNamespace="http://services-web.etnic.be/eprom/formation/document1/v1">
|
|
2
|
+
<wsdl:types>
|
|
3
|
+
<xs:schema>
|
|
4
|
+
<xs:import namespace="http://services-web.etnic.be/eprom/formation/document1/messages/v1" schemaLocation="xsd/EpromFormationDocument1Messages_external_v1.xsd"></xs:import>
|
|
5
|
+
<xs:import namespace="http://etnic.be/types/technical/requestId/v1" schemaLocation="xsd/requestId_v1.xsd"></xs:import>
|
|
6
|
+
</xs:schema>
|
|
7
|
+
</wsdl:types>
|
|
8
|
+
<wsdl:message name="ModifierDocument1ReponseMessage">
|
|
9
|
+
<wsdl:part name="parameter" element="eprom:ModifierDocument1Reponse">
|
|
10
|
+
</wsdl:part>
|
|
11
|
+
</wsdl:message>
|
|
12
|
+
<wsdl:message name="ApprouverDocument1RequeteMessage">
|
|
13
|
+
<wsdl:part name="parameter" element="eprom:ApprouverDocument1">
|
|
14
|
+
</wsdl:part>
|
|
15
|
+
</wsdl:message>
|
|
16
|
+
<wsdl:message name="LireDocument1ReponseMessage">
|
|
17
|
+
<wsdl:part name="parameter" element="eprom:LireDocument1Reponse">
|
|
18
|
+
</wsdl:part>
|
|
19
|
+
</wsdl:message>
|
|
20
|
+
<wsdl:message name="ApprouverDocument1ReponseMessage">
|
|
21
|
+
<wsdl:part name="parameter" element="eprom:ApprouverDocument1Reponse">
|
|
22
|
+
</wsdl:part>
|
|
23
|
+
</wsdl:message>
|
|
24
|
+
<wsdl:message name="ModifierDocument1RequeteMessage">
|
|
25
|
+
<wsdl:part name="parameter" element="eprom:ModifierDocument1">
|
|
26
|
+
</wsdl:part>
|
|
27
|
+
</wsdl:message>
|
|
28
|
+
<wsdl:message name="RequestIdHeader">
|
|
29
|
+
<wsdl:part name="requestId" element="req:requestId">
|
|
30
|
+
</wsdl:part>
|
|
31
|
+
</wsdl:message>
|
|
32
|
+
<wsdl:message name="LireDocument1RequeteMessage">
|
|
33
|
+
<wsdl:part name="parameter" element="eprom:LireDocument1">
|
|
34
|
+
</wsdl:part>
|
|
35
|
+
</wsdl:message>
|
|
36
|
+
<wsdl:portType name="EPROMFormationDocument1ExternalV1PortType">
|
|
37
|
+
<wsdl:operation name="LireDocument1">
|
|
38
|
+
<wsdl:input message="tns:LireDocument1RequeteMessage">
|
|
39
|
+
</wsdl:input>
|
|
40
|
+
<wsdl:output message="tns:LireDocument1ReponseMessage">
|
|
41
|
+
</wsdl:output>
|
|
42
|
+
</wsdl:operation>
|
|
43
|
+
<wsdl:operation name="ModifierDocument1">
|
|
44
|
+
<wsdl:input message="tns:ModifierDocument1RequeteMessage">
|
|
45
|
+
</wsdl:input>
|
|
46
|
+
<wsdl:output message="tns:ModifierDocument1ReponseMessage">
|
|
47
|
+
</wsdl:output>
|
|
48
|
+
</wsdl:operation>
|
|
49
|
+
<wsdl:operation name="ApprouverDocument1">
|
|
50
|
+
<wsdl:input message="tns:ApprouverDocument1RequeteMessage">
|
|
51
|
+
</wsdl:input>
|
|
52
|
+
<wsdl:output message="tns:ApprouverDocument1ReponseMessage">
|
|
53
|
+
</wsdl:output>
|
|
54
|
+
</wsdl:operation>
|
|
55
|
+
</wsdl:portType>
|
|
56
|
+
<wsdl:binding name="EPROMFormationDocument1ExternalV1Binding" type="tns:EPROMFormationDocument1ExternalV1PortType">
|
|
57
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"></soap:binding>
|
|
58
|
+
<wsdl:operation name="LireDocument1">
|
|
59
|
+
<soap:operation soapAction="http://services-web.etnic.be/eprom/formation/document1/v1/LireDocument1"></soap:operation>
|
|
60
|
+
<wsdl:input>
|
|
61
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="false">
|
|
62
|
+
</soap:header>
|
|
63
|
+
<soap:body use="literal"></soap:body>
|
|
64
|
+
</wsdl:input>
|
|
65
|
+
<wsdl:output>
|
|
66
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="true">
|
|
67
|
+
</soap:header>
|
|
68
|
+
<soap:body use="literal"></soap:body>
|
|
69
|
+
</wsdl:output>
|
|
70
|
+
</wsdl:operation>
|
|
71
|
+
<wsdl:operation name="ModifierDocument1">
|
|
72
|
+
<soap:operation soapAction="http://services-web.etnic.be/eprom/formation/document1/v1/ModifierDocument1"></soap:operation>
|
|
73
|
+
<wsdl:input>
|
|
74
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="false">
|
|
75
|
+
</soap:header>
|
|
76
|
+
<soap:body use="literal"></soap:body>
|
|
77
|
+
</wsdl:input>
|
|
78
|
+
<wsdl:output>
|
|
79
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="true">
|
|
80
|
+
</soap:header>
|
|
81
|
+
<soap:body use="literal"></soap:body>
|
|
82
|
+
</wsdl:output>
|
|
83
|
+
</wsdl:operation>
|
|
84
|
+
<wsdl:operation name="ApprouverDocument1">
|
|
85
|
+
<soap:operation soapAction="http://services-web.etnic.be/eprom/formation/document1/v1/ApprouverDocument1"></soap:operation>
|
|
86
|
+
<wsdl:input>
|
|
87
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="false">
|
|
88
|
+
</soap:header>
|
|
89
|
+
<soap:body use="literal"></soap:body>
|
|
90
|
+
</wsdl:input>
|
|
91
|
+
<wsdl:output>
|
|
92
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="true">
|
|
93
|
+
</soap:header>
|
|
94
|
+
<soap:body use="literal"></soap:body>
|
|
95
|
+
</wsdl:output>
|
|
96
|
+
</wsdl:operation>
|
|
97
|
+
</wsdl:binding>
|
|
98
|
+
<wsdl:service name="service_eprom_formation_document1_external_v1">
|
|
99
|
+
<wsdl:port name="EPROMFormationDocument1ExternalV1Port" binding="tns:EPROMFormationDocument1ExternalV1Binding">
|
|
100
|
+
<soap:address location="https://services-web.tq.etnic.be/eprom/formation/document1/v1"></soap:address>
|
|
101
|
+
</wsdl:port>
|
|
102
|
+
</wsdl:service>
|
|
103
|
+
</wsdl:definitions>
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:req="http://etnic.be/types/technical/requestId/v1" xmlns:tns="http://services-web.etnic.be/eprom/formation/document2/v1" xmlns:eprom="http://services-web.etnic.be/eprom/formation/document2/messages/v1" name="EPROMFormationDocument2V1ExternalService" targetNamespace="http://services-web.etnic.be/eprom/formation/document2/v1">
|
|
2
|
+
<wsdl:types>
|
|
3
|
+
<xs:schema>
|
|
4
|
+
<xs:import namespace="http://services-web.etnic.be/eprom/formation/document2/messages/v1" schemaLocation="xsd/EpromFormationDocument2Messages_external_v1.xsd"></xs:import>
|
|
5
|
+
<xs:import namespace="http://etnic.be/types/technical/requestId/v1" schemaLocation="xsd/requestId_v1.xsd"></xs:import>
|
|
6
|
+
</xs:schema>
|
|
7
|
+
</wsdl:types>
|
|
8
|
+
<wsdl:message name="LireDocument2RequeteMessage">
|
|
9
|
+
<wsdl:part name="parameter" element="eprom:LireDocument2">
|
|
10
|
+
</wsdl:part>
|
|
11
|
+
</wsdl:message>
|
|
12
|
+
<wsdl:message name="RequestIdHeader">
|
|
13
|
+
<wsdl:part name="requestId" element="req:requestId">
|
|
14
|
+
</wsdl:part>
|
|
15
|
+
</wsdl:message>
|
|
16
|
+
<wsdl:message name="ModifierDocument2ReponseMessage">
|
|
17
|
+
<wsdl:part name="parameter" element="eprom:ModifierDocument2Reponse">
|
|
18
|
+
</wsdl:part>
|
|
19
|
+
</wsdl:message>
|
|
20
|
+
<wsdl:message name="ModifierDocument2RequeteMessage">
|
|
21
|
+
<wsdl:part name="parameter" element="eprom:ModifierDocument2">
|
|
22
|
+
</wsdl:part>
|
|
23
|
+
</wsdl:message>
|
|
24
|
+
<wsdl:message name="LireDocument2ReponseMessage">
|
|
25
|
+
<wsdl:part name="parameter" element="eprom:LireDocument2Reponse">
|
|
26
|
+
</wsdl:part>
|
|
27
|
+
</wsdl:message>
|
|
28
|
+
<wsdl:portType name="EPROMFormationDocument2ExternalV1PortType">
|
|
29
|
+
<wsdl:operation name="LireDocument2">
|
|
30
|
+
<wsdl:input message="tns:LireDocument2RequeteMessage">
|
|
31
|
+
</wsdl:input>
|
|
32
|
+
<wsdl:output message="tns:LireDocument2ReponseMessage">
|
|
33
|
+
</wsdl:output>
|
|
34
|
+
</wsdl:operation>
|
|
35
|
+
<wsdl:operation name="ModifierDocument2">
|
|
36
|
+
<wsdl:input message="tns:ModifierDocument2RequeteMessage">
|
|
37
|
+
</wsdl:input>
|
|
38
|
+
<wsdl:output message="tns:ModifierDocument2ReponseMessage">
|
|
39
|
+
</wsdl:output>
|
|
40
|
+
</wsdl:operation>
|
|
41
|
+
</wsdl:portType>
|
|
42
|
+
<wsdl:binding name="EPROMFormationDocument2ExternalV1Binding" type="tns:EPROMFormationDocument2ExternalV1PortType">
|
|
43
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"></soap:binding>
|
|
44
|
+
<wsdl:operation name="LireDocument2">
|
|
45
|
+
<soap:operation soapAction="http://services-web.etnic.be/eprom/formation/document2/v1/LireDocument2"></soap:operation>
|
|
46
|
+
<wsdl:input>
|
|
47
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="false">
|
|
48
|
+
</soap:header>
|
|
49
|
+
<soap:body use="literal"></soap:body>
|
|
50
|
+
</wsdl:input>
|
|
51
|
+
<wsdl:output>
|
|
52
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="true">
|
|
53
|
+
</soap:header>
|
|
54
|
+
<soap:body use="literal"></soap:body>
|
|
55
|
+
</wsdl:output>
|
|
56
|
+
</wsdl:operation>
|
|
57
|
+
<wsdl:operation name="ModifierDocument2">
|
|
58
|
+
<soap:operation soapAction="http://services-web.etnic.be/eprom/formation/document2/v1/ModifierDocument2"></soap:operation>
|
|
59
|
+
<wsdl:input>
|
|
60
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="false">
|
|
61
|
+
</soap:header>
|
|
62
|
+
<soap:body use="literal"></soap:body>
|
|
63
|
+
</wsdl:input>
|
|
64
|
+
<wsdl:output>
|
|
65
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="true">
|
|
66
|
+
</soap:header>
|
|
67
|
+
<soap:body use="literal"></soap:body>
|
|
68
|
+
</wsdl:output>
|
|
69
|
+
</wsdl:operation>
|
|
70
|
+
</wsdl:binding>
|
|
71
|
+
<wsdl:service name="service_eprom_formation_document2_external_v1">
|
|
72
|
+
<wsdl:port name="EPROMFormationDocument2ExternalV1Port" binding="tns:EPROMFormationDocument2ExternalV1Binding">
|
|
73
|
+
<soap:address location="https://services-web.tq.etnic.be:11443/eprom/formation/document2/v1"></soap:address>
|
|
74
|
+
</wsdl:port>
|
|
75
|
+
</wsdl:service>
|
|
76
|
+
</wsdl:definitions>
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:req="http://etnic.be/types/technical/requestId/v1" xmlns:tns="http://services-web.etnic.be/eprom/formation/document3/v1" xmlns:eprom="http://services-web.etnic.be/eprom/formation/document3/messages/v1" name="EPROMFormationDocument3V1ExternalService" targetNamespace="http://services-web.etnic.be/eprom/formation/document3/v1">
|
|
2
|
+
<wsdl:types>
|
|
3
|
+
<xs:schema>
|
|
4
|
+
<xs:import namespace="http://services-web.etnic.be/eprom/formation/document3/messages/v1" schemaLocation="xsd/EpromFormationDocument3Messages_external_v1.xsd"></xs:import>
|
|
5
|
+
<xs:import namespace="http://etnic.be/types/technical/requestId/v1" schemaLocation="xsd/requestId_v1.xsd"></xs:import>
|
|
6
|
+
</xs:schema>
|
|
7
|
+
</wsdl:types>
|
|
8
|
+
<wsdl:message name="RequestIdHeader">
|
|
9
|
+
<wsdl:part name="requestId" element="req:requestId">
|
|
10
|
+
</wsdl:part>
|
|
11
|
+
</wsdl:message>
|
|
12
|
+
<wsdl:message name="LireDocument3ReponseMessage">
|
|
13
|
+
<wsdl:part name="parameter" element="eprom:LireDocument3Reponse">
|
|
14
|
+
</wsdl:part>
|
|
15
|
+
</wsdl:message>
|
|
16
|
+
<wsdl:message name="ModifierDocument3RequeteMessage">
|
|
17
|
+
<wsdl:part name="parameter" element="eprom:ModifierDocument3">
|
|
18
|
+
</wsdl:part>
|
|
19
|
+
</wsdl:message>
|
|
20
|
+
<wsdl:message name="LireDocument3RequeteMessage">
|
|
21
|
+
<wsdl:part name="parameter" element="eprom:LireDocument3">
|
|
22
|
+
</wsdl:part>
|
|
23
|
+
</wsdl:message>
|
|
24
|
+
<wsdl:message name="ModifierDocument3ReponseMessage">
|
|
25
|
+
<wsdl:part name="parameter" element="eprom:ModifierDocument3Reponse">
|
|
26
|
+
</wsdl:part>
|
|
27
|
+
</wsdl:message>
|
|
28
|
+
<wsdl:portType name="EPROMFormationDocument3ExternalV1PortType">
|
|
29
|
+
<wsdl:operation name="LireDocument3">
|
|
30
|
+
<wsdl:input message="tns:LireDocument3RequeteMessage">
|
|
31
|
+
</wsdl:input>
|
|
32
|
+
<wsdl:output message="tns:LireDocument3ReponseMessage">
|
|
33
|
+
</wsdl:output>
|
|
34
|
+
</wsdl:operation>
|
|
35
|
+
<wsdl:operation name="ModifierDocument3">
|
|
36
|
+
<wsdl:input message="tns:ModifierDocument3RequeteMessage">
|
|
37
|
+
</wsdl:input>
|
|
38
|
+
<wsdl:output message="tns:ModifierDocument3ReponseMessage">
|
|
39
|
+
</wsdl:output>
|
|
40
|
+
</wsdl:operation>
|
|
41
|
+
</wsdl:portType>
|
|
42
|
+
<wsdl:binding name="EPROMFormationDocument3ExternalV1Binding" type="tns:EPROMFormationDocument3ExternalV1PortType">
|
|
43
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"></soap:binding>
|
|
44
|
+
<wsdl:operation name="LireDocument3">
|
|
45
|
+
<soap:operation soapAction="http://services-web.etnic.be/eprom/formation/document3/v1/LireDocument3"></soap:operation>
|
|
46
|
+
<wsdl:input>
|
|
47
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="false">
|
|
48
|
+
</soap:header>
|
|
49
|
+
<soap:body use="literal"></soap:body>
|
|
50
|
+
</wsdl:input>
|
|
51
|
+
<wsdl:output>
|
|
52
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="true">
|
|
53
|
+
</soap:header>
|
|
54
|
+
<soap:body use="literal"></soap:body>
|
|
55
|
+
</wsdl:output>
|
|
56
|
+
</wsdl:operation>
|
|
57
|
+
<wsdl:operation name="ModifierDocument3">
|
|
58
|
+
<soap:operation soapAction="http://services-web.etnic.be/eprom/formation/document3/v1/ModifierDocument3"></soap:operation>
|
|
59
|
+
<wsdl:input>
|
|
60
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="false">
|
|
61
|
+
</soap:header>
|
|
62
|
+
<soap:body use="literal"></soap:body>
|
|
63
|
+
</wsdl:input>
|
|
64
|
+
<wsdl:output>
|
|
65
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="true">
|
|
66
|
+
</soap:header>
|
|
67
|
+
<soap:body use="literal"></soap:body>
|
|
68
|
+
</wsdl:output>
|
|
69
|
+
</wsdl:operation>
|
|
70
|
+
</wsdl:binding>
|
|
71
|
+
<wsdl:service name="service_eprom_formation_document3_external_v1">
|
|
72
|
+
<wsdl:port name="EPROMFormationDocument3ExternalV1Port" binding="tns:EPROMFormationDocument3ExternalV1Binding">
|
|
73
|
+
<soap:address location="https://services-web.tq.etnic.be/eprom/formation/document3/v1"></soap:address>
|
|
74
|
+
</wsdl:port>
|
|
75
|
+
</wsdl:service>
|
|
76
|
+
</wsdl:definitions>
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:req="http://etnic.be/types/technical/requestId/v1" xmlns:tns="http://services-web.etnic.be/eprom/formation/organisation/v6" xmlns:eprom="http://services-web.etnic.be/eprom/formation/organisation/messages/v6" name="EPROMFormationOrganisationV6ExternalService" targetNamespace="http://services-web.etnic.be/eprom/formation/organisation/v6">
|
|
2
|
+
<wsdl:types>
|
|
3
|
+
<xs:schema>
|
|
4
|
+
<xs:import namespace="http://services-web.etnic.be/eprom/formation/organisation/messages/v6" schemaLocation="xsd/EpromFormationOrganisationMessages_external_v6.xsd"></xs:import>
|
|
5
|
+
<xs:import namespace="http://etnic.be/types/technical/requestId/v1" schemaLocation="xsd/requestId_v1.xsd"></xs:import>
|
|
6
|
+
</xs:schema>
|
|
7
|
+
</wsdl:types>
|
|
8
|
+
<wsdl:message name="CreerOrganisationReponseMessage">
|
|
9
|
+
<wsdl:part name="parameter" element="eprom:CreerOrganisationReponse">
|
|
10
|
+
</wsdl:part>
|
|
11
|
+
</wsdl:message>
|
|
12
|
+
<wsdl:message name="ModifierOrganisationRequeteMessage">
|
|
13
|
+
<wsdl:part name="parameter" element="eprom:ModifierOrganisation">
|
|
14
|
+
</wsdl:part>
|
|
15
|
+
</wsdl:message>
|
|
16
|
+
<wsdl:message name="SupprimerOrganisationReponseMessage">
|
|
17
|
+
<wsdl:part name="parameter" element="eprom:SupprimerOrganisationReponse">
|
|
18
|
+
</wsdl:part>
|
|
19
|
+
</wsdl:message>
|
|
20
|
+
<wsdl:message name="RequestIdHeader">
|
|
21
|
+
<wsdl:part name="requestId" element="req:requestId">
|
|
22
|
+
</wsdl:part>
|
|
23
|
+
</wsdl:message>
|
|
24
|
+
<wsdl:message name="ModifierOrganisationReponseMessage">
|
|
25
|
+
<wsdl:part name="parameter" element="eprom:ModifierOrganisationReponse">
|
|
26
|
+
</wsdl:part>
|
|
27
|
+
</wsdl:message>
|
|
28
|
+
<wsdl:message name="SupprimerOrganisationRequeteMessage">
|
|
29
|
+
<wsdl:part name="parameter" element="eprom:SupprimerOrganisation">
|
|
30
|
+
</wsdl:part>
|
|
31
|
+
</wsdl:message>
|
|
32
|
+
<wsdl:message name="CreerOrganisationRequeteMessage">
|
|
33
|
+
<wsdl:part name="parameter" element="eprom:CreerOrganisation">
|
|
34
|
+
</wsdl:part>
|
|
35
|
+
</wsdl:message>
|
|
36
|
+
<wsdl:message name="LireOrganisationReponseMessage">
|
|
37
|
+
<wsdl:part name="parameter" element="eprom:LireOrganisationReponse">
|
|
38
|
+
</wsdl:part>
|
|
39
|
+
</wsdl:message>
|
|
40
|
+
<wsdl:message name="LireOrganisationRequeteMessage">
|
|
41
|
+
<wsdl:part name="parameter" element="eprom:LireOrganisation">
|
|
42
|
+
</wsdl:part>
|
|
43
|
+
</wsdl:message>
|
|
44
|
+
<wsdl:portType name="EPROMFormationOrganisationExternalV6PortType">
|
|
45
|
+
<wsdl:operation name="CreerOrganisation">
|
|
46
|
+
<wsdl:input message="tns:CreerOrganisationRequeteMessage">
|
|
47
|
+
</wsdl:input>
|
|
48
|
+
<wsdl:output message="tns:CreerOrganisationReponseMessage">
|
|
49
|
+
</wsdl:output>
|
|
50
|
+
</wsdl:operation>
|
|
51
|
+
<wsdl:operation name="ModifierOrganisation">
|
|
52
|
+
<wsdl:input message="tns:ModifierOrganisationRequeteMessage">
|
|
53
|
+
</wsdl:input>
|
|
54
|
+
<wsdl:output message="tns:ModifierOrganisationReponseMessage">
|
|
55
|
+
</wsdl:output>
|
|
56
|
+
</wsdl:operation>
|
|
57
|
+
<wsdl:operation name="LireOrganisation">
|
|
58
|
+
<wsdl:input message="tns:LireOrganisationRequeteMessage">
|
|
59
|
+
</wsdl:input>
|
|
60
|
+
<wsdl:output message="tns:LireOrganisationReponseMessage">
|
|
61
|
+
</wsdl:output>
|
|
62
|
+
</wsdl:operation>
|
|
63
|
+
<wsdl:operation name="SupprimerOrganisation">
|
|
64
|
+
<wsdl:input message="tns:SupprimerOrganisationRequeteMessage">
|
|
65
|
+
</wsdl:input>
|
|
66
|
+
<wsdl:output message="tns:SupprimerOrganisationReponseMessage">
|
|
67
|
+
</wsdl:output>
|
|
68
|
+
</wsdl:operation>
|
|
69
|
+
</wsdl:portType>
|
|
70
|
+
<wsdl:binding name="EPROMFormationOrganisationExternalV6Binding" type="tns:EPROMFormationOrganisationExternalV6PortType">
|
|
71
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"></soap:binding>
|
|
72
|
+
<wsdl:operation name="CreerOrganisation">
|
|
73
|
+
<soap:operation soapAction="http://services-web.etnic.be/eprom/formation/organisation/v6/CreerOrganisation"></soap:operation>
|
|
74
|
+
<wsdl:input>
|
|
75
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="false">
|
|
76
|
+
</soap:header>
|
|
77
|
+
<soap:body use="literal"></soap:body>
|
|
78
|
+
</wsdl:input>
|
|
79
|
+
<wsdl:output>
|
|
80
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="true">
|
|
81
|
+
</soap:header>
|
|
82
|
+
<soap:body use="literal"></soap:body>
|
|
83
|
+
</wsdl:output>
|
|
84
|
+
</wsdl:operation>
|
|
85
|
+
<wsdl:operation name="ModifierOrganisation">
|
|
86
|
+
<soap:operation soapAction="http://services-web.etnic.be/eprom/formation/organisation/v6/ModifierOrganisation"></soap:operation>
|
|
87
|
+
<wsdl:input>
|
|
88
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="false">
|
|
89
|
+
</soap:header>
|
|
90
|
+
<soap:body use="literal"></soap:body>
|
|
91
|
+
</wsdl:input>
|
|
92
|
+
<wsdl:output>
|
|
93
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="true">
|
|
94
|
+
</soap:header>
|
|
95
|
+
<soap:body use="literal"></soap:body>
|
|
96
|
+
</wsdl:output>
|
|
97
|
+
</wsdl:operation>
|
|
98
|
+
<wsdl:operation name="LireOrganisation">
|
|
99
|
+
<soap:operation soapAction="http://services-web.etnic.be/eprom/formation/organisation/v6/LireOrganisation"></soap:operation>
|
|
100
|
+
<wsdl:input>
|
|
101
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="false">
|
|
102
|
+
</soap:header>
|
|
103
|
+
<soap:body use="literal"></soap:body>
|
|
104
|
+
</wsdl:input>
|
|
105
|
+
<wsdl:output>
|
|
106
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="true">
|
|
107
|
+
</soap:header>
|
|
108
|
+
<soap:body use="literal"></soap:body>
|
|
109
|
+
</wsdl:output>
|
|
110
|
+
</wsdl:operation>
|
|
111
|
+
<wsdl:operation name="SupprimerOrganisation">
|
|
112
|
+
<soap:operation soapAction="http://services-web.etnic.be/eprom/formation/organisation/v6/SupprimerOrganisation"></soap:operation>
|
|
113
|
+
<wsdl:input>
|
|
114
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="false">
|
|
115
|
+
</soap:header>
|
|
116
|
+
<soap:body use="literal"></soap:body>
|
|
117
|
+
</wsdl:input>
|
|
118
|
+
<wsdl:output>
|
|
119
|
+
<soap:header message="tns:RequestIdHeader" part="requestId" use="literal" wsdl:required="true">
|
|
120
|
+
</soap:header>
|
|
121
|
+
<soap:body use="literal"></soap:body>
|
|
122
|
+
</wsdl:output>
|
|
123
|
+
</wsdl:operation>
|
|
124
|
+
</wsdl:binding>
|
|
125
|
+
<wsdl:service name="service_eprom_formation_organisation_external_v6">
|
|
126
|
+
<wsdl:port name="EPROMFormationOrganisationExternalV6Port" binding="tns:EPROMFormationOrganisationExternalV6Binding">
|
|
127
|
+
<soap:address location="https://services-web.tq.etnic.be:11443/eprom/formation/organisation/v6"></soap:address>
|
|
128
|
+
</wsdl:port>
|
|
129
|
+
</wsdl:service>
|
|
130
|
+
</wsdl:definitions>
|