Bonjour tout le monde,
c'est ma première expérience avec les web service j'aimerais bien que vous m'aidiez svp
j'ai le fichier wsdl suivant :
comment faire cote client pour passer mes paramètres
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157 <?xml version="1.0" encoding="UTF-8" ?> - <wsdl:definitions xmlns:tns="http://nahil.sky.ma/service/GPSServices/TransmisionCommunication/100" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns0="http://nahil.sky.ma/service/GPSServices/TransmisionCommunication/Data/100" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="Untitled" targetNamespace="http://nahil.sky.ma/service/GPSServices/TransmisionCommunication/100"> - <wsdl:types> - <xs:schema xmlns="http://nahil.sky.ma/service/GPSServices/TransmisionCommunication/Data/100" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://nahil.sky.ma/service/GPSServices/TransmisionCommunication/Data/100" elementFormDefault="qualified" attributeFormDefault="unqualified"> - <xs:simpleType name="date10Type"> - <xs:restriction base="xs:date"> <xs:whiteSpace value="collapse" /> <xs:pattern value="(\d{4})-(\d{2})-(\d{2})" /> </xs:restriction> </xs:simpleType> - <xs:simpleType name="enumOEType"> - <xs:restriction base="xs:string"> <xs:maxLength value="1" /> <xs:enumeration value="O" /> </xs:restriction> </xs:simpleType> - <xs:simpleType name="heure10Type"> - <xs:restriction base="xs:time"> <xs:whiteSpace value="collapse" /> <xs:pattern value="(\d{2}).(\d{2}).(\d{2})" /> </xs:restriction> </xs:simpleType> - <xs:complexType name="inDemandeType"> <xs:attribute name="MSG-CD-ACTION" use="required" type="ns0:string1Type" /> <xs:attribute name="MSG-CD-BRANCHE" use="required" type="ns0:string1Type" /> <xs:attribute name="MSG-CD-CIRCUIT" use="required" type="ns0:int4Type" /> <xs:attribute name="MSG-CD-INTERMED" use="required" type="ns0:string6Type" /> <xs:attribute name="MSG-CD-NAT-CMC" use="required" type="ns0:int2Type" /> <xs:attribute name="MSG-CD-ORIGINE" use="required" type="ns0:string1Type" /> <xs:attribute name="MSG-CD-SITE" use="required" type="ns0:string3Type" /> <xs:attribute name="MSG-CD-STR" use="required" type="ns0:int2Type" /> <xs:attribute name="MSG-CD-TRT-INFO" use="required" type="ns0:string10Type" /> <xs:attribute name="MSG-CD-TYP-DEM" use="required" type="ns0:int4Type" /> <xs:attribute name="MSG-CD-TYP-RCC" use="required" type="ns0:string2Type" /> <xs:attribute name="MSG-CD-UNT-OFF" use="required" type="ns0:string6Type" /> <xs:attribute name="MSG-COMMENT" use="required" type="ns0:string10000Type" /> <xs:attribute name="MSG-DATE-RECEP" use="required" type="ns0:date10Type" /> <xs:attribute name="MSG-HEURE-RECEP" use="required" type="ns0:heure10Type" /> <xs:attribute name="MSG-NB-CAG" use="required" type="ns0:int1Type" /> <xs:attribute name="MSG-NB-CLE" use="required" type="ns0:int1Type" /> <xs:attribute name="MSG-NB-CLI" use="required" type="ns0:int1Type" /> <xs:attribute name="MSG-NB-DOC" use="required" type="ns0:int1Type" /> <xs:attribute name="MSG-NB-FAM" use="required" type="ns0:int1Type" /> <xs:attribute name="MSG-NB-INT" use="required" type="ns0:int1Type" /> <xs:attribute name="MSG-NB-LIC" use="required" type="ns0:int1Type" /> <xs:attribute name="MSG-NB-RCC" use="required" type="ns0:int1Type" /> <xs:attribute name="MSG-NB-REF-FONC" use="required" type="ns0:int1Type" /> <xs:attribute name="MSG-NB-RES" use="required" type="ns0:int1Type" /> <xs:attribute name="MSG-NB-TYD" use="required" type="ns0:int1Type" /> <xs:attribute name="MSG-NB-VCR" use="required" type="ns0:int1Type" /> <xs:attribute name="MSG-NU-RCC" use="required" type="ns0:string16Type" /> <xs:attribute name="MSG-TOP-AFF-GEST" use="required" type="ns0:string1Type" /> <xs:attribute name="MSG-TOP-DEBUG" use="required" type="ns0:string1Type" /> <xs:attribute name="MSG-TOP-MAJ-LIC" use="required" type="ns0:string1Type" /> <xs:attribute name="MSG-VATIXINT" use="required" type="ns0:int1Type" /> <xs:attribute name="MSG-VATIXRCC" use="required" type="ns0:int1Type" /> <xs:attribute name="MSG-VATIXTYD" use="required" type="ns0:int1Type" /> </xs:complexType> - <xs:simpleType name="int1Type"> - <xs:restriction base="xs:int"> <xs:totalDigits value="1" /> </xs:restriction> </xs:simpleType> - <xs:simpleType name="int2Type"> - <xs:restriction base="xs:int"> <xs:totalDigits value="2" /> </xs:restriction> </xs:simpleType> - <xs:simpleType name="int4Type"> - <xs:restriction base="xs:int"> <xs:totalDigits value="4" /> </xs:restriction> </xs:simpleType> - <xs:complexType name="outDemandeType"> <xs:attribute name="codeRetour" use="required" type="ns0:enumOEType" /> <xs:attribute name="libelleMessage" type="ns0:string256Type" /> </xs:complexType> - <xs:simpleType name="string10000Type"> - <xs:restriction base="xs:string"> <xs:maxLength value="10000" /> </xs:restriction> </xs:simpleType> - <xs:simpleType name="string10Type"> - <xs:restriction base="xs:string"> <xs:maxLength value="10" /> </xs:restriction> </xs:simpleType> - <xs:simpleType name="string16Type"> - <xs:restriction base="xs:string"> <xs:maxLength value="16" /> </xs:restriction> </xs:simpleType> - <xs:simpleType name="string1Type"> - <xs:restriction base="xs:string"> <xs:maxLength value="1" /> </xs:restriction> </xs:simpleType> - <xs:simpleType name="string256Type"> - <xs:restriction base="xs:string"> <xs:maxLength value="256" /> </xs:restriction> </xs:simpleType> - <xs:simpleType name="string2Type"> - <xs:restriction base="xs:string"> <xs:maxLength value="2" /> </xs:restriction> </xs:simpleType> - <xs:simpleType name="string3Type"> - <xs:restriction base="xs:string"> <xs:maxLength value="3" /> </xs:restriction> </xs:simpleType> - <xs:simpleType name="string6Type"> - <xs:restriction base="xs:string"> <xs:maxLength value="6" /> </xs:restriction> </xs:simpleType> <xs:element name="request" type="ns0:inDemandeType" /> <xs:element name="response" type="ns0:outDemandeType" /> </xs:schema> </wsdl:types> - <wsdl:service name="intfTraitementDemande_100-service"> - <wsdl:port name="intfwsTraitementDemande_100Endpoint0" binding="tns:intfwsTraitementDemande_100Endpoint0Binding"> <soap:address location="http://nahil.sky.ma/BusinessServices/GPSTransmissionCommunication/OperationProcesses/intfTraitementDemande_100-service.serviceagent/intfwsTraitementDemande_100Endpoint0" /> </wsdl:port> </wsdl:service> - <wsdl:portType name="TransmisionCommunicationPortType"> - <wsdl:operation name="TraitementDemande__100Op"> <wsdl:input message="tns:request" /> <wsdl:output message="tns:response" /> </wsdl:operation> </wsdl:portType> - <wsdl:binding name="intfwsTraitementDemande_100Endpoint0Binding" type="tns:TransmisionCommunicationPortType"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> - <wsdl:operation name="TraitementDemande__100Op"> <soap:operation style="document" soapAction="/BusinessServices/GPSTransmissionCommunication/OperationProcesses/intfTraitementDemande_100-service.serviceagent/intfwsTraitementDemande_100Endpoint0/TraitementDemande__100Op" /> - <wsdl:input> <soap:body use="literal" parts="parameters" /> </wsdl:input> - <wsdl:output> <soap:body use="literal" parts="parameters" /> </wsdl:output> </wsdl:operation> </wsdl:binding> - <wsdl:message name="request"> <wsdl:part name="parameters" element="ns0:request" /> </wsdl:message> - <wsdl:message name="response"> <wsdl:part name="parameters" element="ns0:response" /> </wsdl:message> </wsdl:definitions>
Merci
Partager