fex 0.0.1
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.
- data/.gitignore +19 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/MIT-LICENSE.txt +22 -0
- data/README.md +161 -0
- data/Rakefile +1 -0
- data/fex.gemspec +23 -0
- data/lib/fex.rb +10 -0
- data/lib/fex/client.rb +26 -0
- data/lib/fex/response.rb +28 -0
- data/lib/fex/service.rb +57 -0
- data/lib/fex/service_factory.rb +69 -0
- data/lib/fex/services.yml +23 -0
- data/lib/fex/ship_response.rb +11 -0
- data/lib/fex/version.rb +3 -0
- data/lib/fex/wsdl.rb +14 -0
- data/spec/integration/address_validation_spec.rb +30 -0
- data/spec/integration/rate_spec.rb +67 -0
- data/spec/integration/ship_spec.rb +88 -0
- data/spec/spec_helper.rb +26 -0
- data/spec/support/credentials.rb +27 -0
- data/spec/support/logger_helper.rb +15 -0
- data/spec/unit/service_spec.rb +22 -0
- data/spec/unit/wsdl_spec.rb +19 -0
- data/wsdl/address_validation.wsdl +603 -0
- data/wsdl/close.wsdl +833 -0
- data/wsdl/global_ship_address.wsdl +748 -0
- data/wsdl/open_ship.wsdl +5651 -0
- data/wsdl/package_movement_information.wsdl +545 -0
- data/wsdl/pickup.wsdl +2761 -0
- data/wsdl/rate.wsdl +4730 -0
- data/wsdl/return_tag.wsdl +421 -0
- data/wsdl/ship.wsdl +6097 -0
- data/wsdl/track.wsdl +1516 -0
- data/wsdl/upload_document.wsdl +537 -0
- metadata +136 -0
@@ -0,0 +1,537 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://fedex.com/ws/uploaddocument/v1" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://fedex.com/ws/uploaddocument/v1" name="UploadDocumentServiceDefinitions">
|
3
|
+
<types>
|
4
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://fedex.com/ws/uploaddocument/v1">
|
5
|
+
<xs:element name="UploadDocumentsRequest" type="ns:UploadDocumentsRequest"/>
|
6
|
+
<xs:element name="UploadDocumentsReply" type="ns:UploadDocumentsReply"/>
|
7
|
+
<xs:element name="UploadImagesRequest" type="ns:UploadImagesRequest"/>
|
8
|
+
<xs:element name="UploadImagesReply" type="ns:UploadImagesReply"/>
|
9
|
+
<xs:complexType name="ClientDetail">
|
10
|
+
<xs:annotation>
|
11
|
+
<xs:documentation>Descriptive data for the client submitting a transaction.</xs:documentation>
|
12
|
+
</xs:annotation>
|
13
|
+
<xs:sequence>
|
14
|
+
<xs:element name="AccountNumber" minOccurs="0" type="xs:string">
|
15
|
+
<xs:annotation>
|
16
|
+
<xs:documentation>The FedEx account number assigned to the customer initiating the request.</xs:documentation>
|
17
|
+
</xs:annotation>
|
18
|
+
</xs:element>
|
19
|
+
<xs:element name="MeterNumber" minOccurs="0" type="xs:string">
|
20
|
+
<xs:annotation>
|
21
|
+
<xs:documentation>Identifies the unique client device submitting the request. This number is assigned by FedEx and identifies the unique device from which the request is originating.</xs:documentation>
|
22
|
+
</xs:annotation>
|
23
|
+
</xs:element>
|
24
|
+
<xs:element name="IntegratorId" minOccurs="0" type="xs:string">
|
25
|
+
<xs:annotation>
|
26
|
+
<xs:documentation>Only used in transactions which require identification of the FedEx Office integrator.</xs:documentation>
|
27
|
+
</xs:annotation>
|
28
|
+
</xs:element>
|
29
|
+
<xs:element name="Localization" minOccurs="0" type="ns:Localization">
|
30
|
+
<xs:annotation>
|
31
|
+
<xs:documentation>The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.)</xs:documentation>
|
32
|
+
</xs:annotation>
|
33
|
+
</xs:element>
|
34
|
+
</xs:sequence>
|
35
|
+
</xs:complexType>
|
36
|
+
<xs:simpleType name="ImageId">
|
37
|
+
<xs:restriction base="xs:string">
|
38
|
+
<xs:enumeration value="IMAGE_1"/>
|
39
|
+
<xs:enumeration value="IMAGE_2"/>
|
40
|
+
<xs:enumeration value="IMAGE_3"/>
|
41
|
+
<xs:enumeration value="IMAGE_4"/>
|
42
|
+
<xs:enumeration value="IMAGE_5"/>
|
43
|
+
</xs:restriction>
|
44
|
+
</xs:simpleType>
|
45
|
+
<xs:complexType name="ImageUploadStatusDetail">
|
46
|
+
<xs:sequence>
|
47
|
+
<xs:element name="Id" minOccurs="0" type="ns:ImageId"/>
|
48
|
+
<xs:element name="Status" minOccurs="0" type="ns:UploadImageStatusType"/>
|
49
|
+
<xs:element name="StatusInfo" minOccurs="0" type="ns:UploadImageStatusInfoType"/>
|
50
|
+
<xs:element name="Message" minOccurs="0" type="xs:string"/>
|
51
|
+
</xs:sequence>
|
52
|
+
</xs:complexType>
|
53
|
+
<xs:complexType name="Localization">
|
54
|
+
<xs:annotation>
|
55
|
+
<xs:documentation>Governs any future language/translations used for human-readable text.</xs:documentation>
|
56
|
+
</xs:annotation>
|
57
|
+
<xs:sequence>
|
58
|
+
<xs:element name="LanguageCode" minOccurs="0" type="xs:string">
|
59
|
+
<xs:annotation>
|
60
|
+
<xs:documentation>Identifies the language to use for human-readable messages.</xs:documentation>
|
61
|
+
<xs:appinfo>
|
62
|
+
<xs:MaxLength>2</xs:MaxLength>
|
63
|
+
</xs:appinfo>
|
64
|
+
</xs:annotation>
|
65
|
+
</xs:element>
|
66
|
+
<xs:element name="LocaleCode" minOccurs="0" type="xs:string">
|
67
|
+
<xs:annotation>
|
68
|
+
<xs:documentation>Identifies the locale (i.e. country code) associated with the language.</xs:documentation>
|
69
|
+
<xs:appinfo>
|
70
|
+
<xs:MaxLength>2</xs:MaxLength>
|
71
|
+
</xs:appinfo>
|
72
|
+
</xs:annotation>
|
73
|
+
</xs:element>
|
74
|
+
</xs:sequence>
|
75
|
+
</xs:complexType>
|
76
|
+
<xs:complexType name="Money">
|
77
|
+
<xs:annotation>
|
78
|
+
<xs:documentation>The descriptive data for the medium of exchange for FedEx services.</xs:documentation>
|
79
|
+
</xs:annotation>
|
80
|
+
<xs:sequence>
|
81
|
+
<xs:element name="Currency" minOccurs="0" type="xs:string">
|
82
|
+
<xs:annotation>
|
83
|
+
<xs:documentation>Identifies the currency of the monetary amount.</xs:documentation>
|
84
|
+
<xs:appinfo>
|
85
|
+
<xs:MaxLength>3</xs:MaxLength>
|
86
|
+
</xs:appinfo>
|
87
|
+
</xs:annotation>
|
88
|
+
</xs:element>
|
89
|
+
<xs:element name="Amount" minOccurs="0" type="xs:decimal">
|
90
|
+
<xs:annotation>
|
91
|
+
<xs:documentation>Identifies the monetary amount.</xs:documentation>
|
92
|
+
</xs:annotation>
|
93
|
+
</xs:element>
|
94
|
+
</xs:sequence>
|
95
|
+
</xs:complexType>
|
96
|
+
<xs:complexType name="Notification">
|
97
|
+
<xs:annotation>
|
98
|
+
<xs:documentation>The descriptive data regarding the results of the submitted transaction.</xs:documentation>
|
99
|
+
</xs:annotation>
|
100
|
+
<xs:sequence>
|
101
|
+
<xs:element name="Severity" minOccurs="0" type="ns:NotificationSeverityType">
|
102
|
+
<xs:annotation>
|
103
|
+
<xs:documentation>The severity of this notification. This can indicate success or failure or some other information about the request such as errors or notes.</xs:documentation>
|
104
|
+
</xs:annotation>
|
105
|
+
</xs:element>
|
106
|
+
<xs:element name="Source" minOccurs="0" type="xs:string">
|
107
|
+
<xs:annotation>
|
108
|
+
<xs:documentation>Indicates the source of the notification. Combined with Code, it uniqely identifies this message.</xs:documentation>
|
109
|
+
</xs:annotation>
|
110
|
+
</xs:element>
|
111
|
+
<xs:element name="Code" minOccurs="0" type="xs:string">
|
112
|
+
<xs:annotation>
|
113
|
+
<xs:documentation>A code that represents this notification. Combined with Source, it uniqely identifies this message.</xs:documentation>
|
114
|
+
</xs:annotation>
|
115
|
+
</xs:element>
|
116
|
+
<xs:element name="Message" minOccurs="0" type="xs:string">
|
117
|
+
<xs:annotation>
|
118
|
+
<xs:documentation>Text that explains this notification.</xs:documentation>
|
119
|
+
</xs:annotation>
|
120
|
+
</xs:element>
|
121
|
+
<xs:element name="LocalizedMessage" minOccurs="0" type="xs:string">
|
122
|
+
<xs:annotation>
|
123
|
+
<xs:documentation>A translated message. The translation is based on the Localization element of the ClientDetail element of the request. Not currently supported.</xs:documentation>
|
124
|
+
</xs:annotation>
|
125
|
+
</xs:element>
|
126
|
+
<xs:element name="MessageParameters" minOccurs="0" maxOccurs="unbounded" type="ns:NotificationParameter">
|
127
|
+
<xs:annotation>
|
128
|
+
<xs:documentation>A collection of name/value pairs that provide specific data to help the client determine the nature of an error (or warning, etc.) witout having to parse the message string.</xs:documentation>
|
129
|
+
</xs:annotation>
|
130
|
+
</xs:element>
|
131
|
+
</xs:sequence>
|
132
|
+
</xs:complexType>
|
133
|
+
<xs:complexType name="NotificationParameter">
|
134
|
+
<xs:sequence>
|
135
|
+
<xs:element name="Id" minOccurs="0" type="xs:string">
|
136
|
+
<xs:annotation>
|
137
|
+
<xs:documentation>Name identifiying the type of the data in the element 'Value'.</xs:documentation>
|
138
|
+
</xs:annotation>
|
139
|
+
</xs:element>
|
140
|
+
<xs:element name="Value" minOccurs="0" type="xs:string">
|
141
|
+
<xs:annotation>
|
142
|
+
<xs:documentation>The value that was used as the replacement parameter.</xs:documentation>
|
143
|
+
</xs:annotation>
|
144
|
+
</xs:element>
|
145
|
+
</xs:sequence>
|
146
|
+
</xs:complexType>
|
147
|
+
<xs:simpleType name="NotificationSeverityType">
|
148
|
+
<xs:annotation>
|
149
|
+
<xs:documentation>Identifies the set of severity values for a Notification.</xs:documentation>
|
150
|
+
</xs:annotation>
|
151
|
+
<xs:restriction base="xs:string">
|
152
|
+
<xs:enumeration value="ERROR"/>
|
153
|
+
<xs:enumeration value="FAILURE"/>
|
154
|
+
<xs:enumeration value="NOTE"/>
|
155
|
+
<xs:enumeration value="SUCCESS"/>
|
156
|
+
<xs:enumeration value="WARNING"/>
|
157
|
+
</xs:restriction>
|
158
|
+
</xs:simpleType>
|
159
|
+
<xs:simpleType name="PackagingType">
|
160
|
+
<xs:annotation>
|
161
|
+
<xs:documentation>Identifies the collection of available FedEx or customer packaging options.</xs:documentation>
|
162
|
+
</xs:annotation>
|
163
|
+
<xs:restriction base="xs:string">
|
164
|
+
<xs:enumeration value="FEDEX_10KG_BOX"/>
|
165
|
+
<xs:enumeration value="FEDEX_25KG_BOX"/>
|
166
|
+
<xs:enumeration value="FEDEX_BOX"/>
|
167
|
+
<xs:enumeration value="FEDEX_ENVELOPE"/>
|
168
|
+
<xs:enumeration value="FEDEX_PAK"/>
|
169
|
+
<xs:enumeration value="FEDEX_TUBE"/>
|
170
|
+
<xs:enumeration value="YOUR_PACKAGING"/>
|
171
|
+
</xs:restriction>
|
172
|
+
</xs:simpleType>
|
173
|
+
<xs:simpleType name="ServiceType">
|
174
|
+
<xs:annotation>
|
175
|
+
<xs:documentation>Identifies the collection of available FedEx service options.</xs:documentation>
|
176
|
+
</xs:annotation>
|
177
|
+
<xs:restriction base="xs:string">
|
178
|
+
<xs:enumeration value="EUROPE_FIRST_INTERNATIONAL_PRIORITY"/>
|
179
|
+
<xs:enumeration value="FEDEX_1_DAY_FREIGHT"/>
|
180
|
+
<xs:enumeration value="FEDEX_2_DAY"/>
|
181
|
+
<xs:enumeration value="FEDEX_2_DAY_FREIGHT"/>
|
182
|
+
<xs:enumeration value="FEDEX_3_DAY_FREIGHT"/>
|
183
|
+
<xs:enumeration value="FEDEX_EXPRESS_SAVER"/>
|
184
|
+
<xs:enumeration value="FEDEX_FREIGHT"/>
|
185
|
+
<xs:enumeration value="FEDEX_GROUND"/>
|
186
|
+
<xs:enumeration value="FEDEX_NATIONAL_FREIGHT"/>
|
187
|
+
<xs:enumeration value="FIRST_OVERNIGHT"/>
|
188
|
+
<xs:enumeration value="GROUND_HOME_DELIVERY"/>
|
189
|
+
<xs:enumeration value="INTERNATIONAL_DISTRIBUTION_FREIGHT"/>
|
190
|
+
<xs:enumeration value="INTERNATIONAL_ECONOMY"/>
|
191
|
+
<xs:enumeration value="INTERNATIONAL_ECONOMY_DISTRIBUTION"/>
|
192
|
+
<xs:enumeration value="INTERNATIONAL_ECONOMY_FREIGHT"/>
|
193
|
+
<xs:enumeration value="INTERNATIONAL_FIRST"/>
|
194
|
+
<xs:enumeration value="INTERNATIONAL_PRIORITY"/>
|
195
|
+
<xs:enumeration value="INTERNATIONAL_PRIORITY_DISTRIBUTION"/>
|
196
|
+
<xs:enumeration value="INTERNATIONAL_PRIORITY_FREIGHT"/>
|
197
|
+
<xs:enumeration value="PRIORITY_OVERNIGHT"/>
|
198
|
+
<xs:enumeration value="SMART_POST"/>
|
199
|
+
<xs:enumeration value="STANDARD_OVERNIGHT"/>
|
200
|
+
<xs:enumeration value="TRANSBORDER_DISTRIBUTION_CONSOLIDATION"/>
|
201
|
+
</xs:restriction>
|
202
|
+
</xs:simpleType>
|
203
|
+
<xs:complexType name="TransactionDetail">
|
204
|
+
<xs:annotation>
|
205
|
+
<xs:documentation>Descriptive data for this customer transaction. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.</xs:documentation>
|
206
|
+
</xs:annotation>
|
207
|
+
<xs:sequence>
|
208
|
+
<xs:element name="CustomerTransactionId" minOccurs="0" type="xs:string">
|
209
|
+
<xs:annotation>
|
210
|
+
<xs:documentation>Identifies a customer-supplied unique identifier for this transaction. It is returned in the reply message to aid in matching requests to replies.</xs:documentation>
|
211
|
+
</xs:annotation>
|
212
|
+
</xs:element>
|
213
|
+
<xs:element name="Localization" minOccurs="0" type="ns:Localization">
|
214
|
+
<xs:annotation>
|
215
|
+
<xs:documentation>Governs data payload language/translations (contrasted with ClientDetail.localization, which governs Notification.localizedMessage language selection).</xs:documentation>
|
216
|
+
</xs:annotation>
|
217
|
+
</xs:element>
|
218
|
+
</xs:sequence>
|
219
|
+
</xs:complexType>
|
220
|
+
<xs:complexType name="UploadDocumentDetail">
|
221
|
+
<xs:sequence>
|
222
|
+
<xs:element name="LineNumber" minOccurs="0" type="xs:nonNegativeInteger"/>
|
223
|
+
<xs:element name="CustomerReference" minOccurs="0" type="xs:string"/>
|
224
|
+
<xs:element name="DocumentType" minOccurs="0" type="ns:UploadDocumentType"/>
|
225
|
+
<xs:element name="FileName" minOccurs="0" type="xs:string"/>
|
226
|
+
<xs:element name="DocumentContent" minOccurs="0" type="xs:base64Binary"/>
|
227
|
+
</xs:sequence>
|
228
|
+
</xs:complexType>
|
229
|
+
<xs:simpleType name="UploadDocumentIdProducer">
|
230
|
+
<xs:restriction base="xs:string">
|
231
|
+
<xs:enumeration value="CUSTOMER"/>
|
232
|
+
</xs:restriction>
|
233
|
+
</xs:simpleType>
|
234
|
+
<xs:simpleType name="UploadDocumentProducerType">
|
235
|
+
<xs:restriction base="xs:string">
|
236
|
+
<xs:enumeration value="CUSTOMER"/>
|
237
|
+
</xs:restriction>
|
238
|
+
</xs:simpleType>
|
239
|
+
<xs:complexType name="UploadDocumentStatusDetail">
|
240
|
+
<xs:sequence>
|
241
|
+
<xs:element name="LineNumber" minOccurs="0" type="xs:nonNegativeInteger"/>
|
242
|
+
<xs:element name="CustomerReference" minOccurs="0" type="xs:string"/>
|
243
|
+
<xs:element name="DocumentProducer" minOccurs="0" type="ns:UploadDocumentProducerType"/>
|
244
|
+
<xs:element name="DocumentType" minOccurs="0" type="ns:UploadDocumentType"/>
|
245
|
+
<xs:element name="FileName" minOccurs="0" type="xs:string"/>
|
246
|
+
<xs:element name="Status" minOccurs="0" type="ns:UploadDocumentStatusType"/>
|
247
|
+
<xs:element name="StatusInfo" minOccurs="0" type="ns:UploadDocumentStatusInfoType">
|
248
|
+
<xs:annotation>
|
249
|
+
<xs:documentation>Distinct value for reason status was assigned.</xs:documentation>
|
250
|
+
</xs:annotation>
|
251
|
+
</xs:element>
|
252
|
+
<xs:element name="Message" minOccurs="0" type="xs:string">
|
253
|
+
<xs:annotation>
|
254
|
+
<xs:documentation>Human-readable explanation of document status.</xs:documentation>
|
255
|
+
</xs:annotation>
|
256
|
+
</xs:element>
|
257
|
+
<xs:element name="DocumentId" minOccurs="0" type="xs:string"/>
|
258
|
+
<xs:element name="DocumentIdProducer" minOccurs="0" type="ns:UploadDocumentIdProducer"/>
|
259
|
+
</xs:sequence>
|
260
|
+
</xs:complexType>
|
261
|
+
<xs:simpleType name="UploadDocumentStatusInfoType">
|
262
|
+
<xs:annotation>
|
263
|
+
<xs:documentation>Each of these values identifies a specific reason why a document or reference could not be uploaded or associated with a shipment.</xs:documentation>
|
264
|
+
</xs:annotation>
|
265
|
+
<xs:restriction base="xs:string">
|
266
|
+
<xs:enumeration value="DOCUMENT_CONTENT_FAILED_VIRUS_CHECK"/>
|
267
|
+
<xs:enumeration value="DOCUMENT_CONTENT_MISSING"/>
|
268
|
+
<xs:enumeration value="DOCUMENT_FILE_NAME_MISSING"/>
|
269
|
+
<xs:enumeration value="DOCUMENT_FORMAT_NOT_SUPPORTED"/>
|
270
|
+
<xs:enumeration value="DOCUMENT_ID_INVALID"/>
|
271
|
+
<xs:enumeration value="DOCUMENT_ID_MISSING"/>
|
272
|
+
<xs:enumeration value="DOCUMENT_TYPE_INVALID"/>
|
273
|
+
<xs:enumeration value="DOCUMENT_TYPE_MISSING"/>
|
274
|
+
<xs:enumeration value="DOCUMENT_TYPE_NOT_ALLOWED_FOR_ETD"/>
|
275
|
+
<xs:enumeration value="ELECTRONIC_CLEARANCE_NOT_ALLOWED_AT_DESTINATION"/>
|
276
|
+
<xs:enumeration value="ELECTRONIC_CLEARANCE_NOT_ALLOWED_AT_ORIGIN"/>
|
277
|
+
<xs:enumeration value="UNABLE_TO_PROCESS_DOCUMENT"/>
|
278
|
+
<xs:enumeration value="UPLOAD_NOT_ATTEMPTED"/>
|
279
|
+
</xs:restriction>
|
280
|
+
</xs:simpleType>
|
281
|
+
<xs:simpleType name="UploadDocumentStatusType">
|
282
|
+
<xs:restriction base="xs:string">
|
283
|
+
<xs:enumeration value="ERROR"/>
|
284
|
+
<xs:enumeration value="FAILURE"/>
|
285
|
+
<xs:enumeration value="SUCCESS"/>
|
286
|
+
</xs:restriction>
|
287
|
+
</xs:simpleType>
|
288
|
+
<xs:simpleType name="UploadDocumentType">
|
289
|
+
<xs:restriction base="xs:string">
|
290
|
+
<xs:enumeration value="CERTIFICATE_OF_ORIGIN"/>
|
291
|
+
<xs:enumeration value="COMMERCIAL_INVOICE"/>
|
292
|
+
<xs:enumeration value="ETD_LABEL"/>
|
293
|
+
<xs:enumeration value="NAFTA_CERTIFICATE_OF_ORIGIN"/>
|
294
|
+
<xs:enumeration value="OTHER"/>
|
295
|
+
<xs:enumeration value="PRO_FORMA_INVOICE"/>
|
296
|
+
</xs:restriction>
|
297
|
+
</xs:simpleType>
|
298
|
+
<xs:complexType name="UploadDocumentsReply">
|
299
|
+
<xs:sequence>
|
300
|
+
<xs:element name="HighestSeverity" minOccurs="1" type="ns:NotificationSeverityType">
|
301
|
+
<xs:annotation>
|
302
|
+
<xs:documentation>This indicates the highest level of severity of all the notifications returned in this reply</xs:documentation>
|
303
|
+
</xs:annotation>
|
304
|
+
</xs:element>
|
305
|
+
<xs:element name="Notifications" minOccurs="1" maxOccurs="unbounded" type="ns:Notification">
|
306
|
+
<xs:annotation>
|
307
|
+
<xs:documentation>The descriptive data regarding the results of the submitted transaction.</xs:documentation>
|
308
|
+
</xs:annotation>
|
309
|
+
</xs:element>
|
310
|
+
<xs:element name="TransactionDetail" minOccurs="0" type="ns:TransactionDetail">
|
311
|
+
<xs:annotation>
|
312
|
+
<xs:documentation>Descriptive data for this customer transaction. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.</xs:documentation>
|
313
|
+
</xs:annotation>
|
314
|
+
</xs:element>
|
315
|
+
<xs:element name="Version" minOccurs="1" type="ns:VersionId">
|
316
|
+
<xs:annotation>
|
317
|
+
<xs:documentation>Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply).</xs:documentation>
|
318
|
+
</xs:annotation>
|
319
|
+
</xs:element>
|
320
|
+
<xs:element name="DocumentStatuses" minOccurs="0" maxOccurs="unbounded" type="ns:UploadDocumentStatusDetail"/>
|
321
|
+
</xs:sequence>
|
322
|
+
</xs:complexType>
|
323
|
+
<xs:complexType name="UploadDocumentsRequest">
|
324
|
+
<xs:sequence>
|
325
|
+
<xs:element name="WebAuthenticationDetail" minOccurs="1" type="ns:WebAuthenticationDetail">
|
326
|
+
<xs:annotation>
|
327
|
+
<xs:documentation>The descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services).</xs:documentation>
|
328
|
+
</xs:annotation>
|
329
|
+
</xs:element>
|
330
|
+
<xs:element name="ClientDetail" type="ns:ClientDetail">
|
331
|
+
<xs:annotation>
|
332
|
+
<xs:documentation>Descriptive data identifying the client submitting the transaction.</xs:documentation>
|
333
|
+
</xs:annotation>
|
334
|
+
</xs:element>
|
335
|
+
<xs:element name="TransactionDetail" minOccurs="0" type="ns:TransactionDetail">
|
336
|
+
<xs:annotation>
|
337
|
+
<xs:documentation>Descriptive data for this customer transaction. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.</xs:documentation>
|
338
|
+
</xs:annotation>
|
339
|
+
</xs:element>
|
340
|
+
<xs:element name="Version" minOccurs="1" type="ns:VersionId">
|
341
|
+
<xs:annotation>
|
342
|
+
<xs:documentation>Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply).</xs:documentation>
|
343
|
+
</xs:annotation>
|
344
|
+
</xs:element>
|
345
|
+
<xs:element name="OriginCountryCode" minOccurs="0" type="xs:string"/>
|
346
|
+
<xs:element name="DestinationCountryCode" minOccurs="0" type="xs:string"/>
|
347
|
+
<xs:element name="Documents" minOccurs="0" maxOccurs="unbounded" type="ns:UploadDocumentDetail"/>
|
348
|
+
</xs:sequence>
|
349
|
+
</xs:complexType>
|
350
|
+
<xs:complexType name="UploadImageDetail">
|
351
|
+
<xs:sequence>
|
352
|
+
<xs:element name="Id" minOccurs="0" type="ns:ImageId"/>
|
353
|
+
<xs:element name="Image" minOccurs="0" type="xs:base64Binary"/>
|
354
|
+
</xs:sequence>
|
355
|
+
</xs:complexType>
|
356
|
+
<xs:simpleType name="UploadImageStatusInfoType">
|
357
|
+
<xs:restriction base="xs:string">
|
358
|
+
<xs:enumeration value="IMAGE_EXCEEDS_MAX_RESOLUTION"/>
|
359
|
+
<xs:enumeration value="IMAGE_EXCEEDS_MAX_SIZE"/>
|
360
|
+
<xs:enumeration value="IMAGE_FAILED_VIRUS_CHECK"/>
|
361
|
+
<xs:enumeration value="IMAGE_ID_INVALID"/>
|
362
|
+
<xs:enumeration value="IMAGE_ID_MISSING"/>
|
363
|
+
<xs:enumeration value="IMAGE_MISSING"/>
|
364
|
+
<xs:enumeration value="IMAGE_TYPE_INVALID"/>
|
365
|
+
<xs:enumeration value="IMAGE_TYPE_MISSING"/>
|
366
|
+
</xs:restriction>
|
367
|
+
</xs:simpleType>
|
368
|
+
<xs:simpleType name="UploadImageStatusType">
|
369
|
+
<xs:restriction base="xs:string">
|
370
|
+
<xs:enumeration value="ERROR"/>
|
371
|
+
<xs:enumeration value="FAILURE"/>
|
372
|
+
<xs:enumeration value="SUCCESS"/>
|
373
|
+
</xs:restriction>
|
374
|
+
</xs:simpleType>
|
375
|
+
<xs:complexType name="UploadImagesReply">
|
376
|
+
<xs:sequence>
|
377
|
+
<xs:element name="HighestSeverity" minOccurs="1" type="ns:NotificationSeverityType">
|
378
|
+
<xs:annotation>
|
379
|
+
<xs:documentation>Identifies the highest severity encountered when executing the request; in order from high to low: FAILURE, ERROR, WARNING, NOTE, SUCCESS.</xs:documentation>
|
380
|
+
</xs:annotation>
|
381
|
+
</xs:element>
|
382
|
+
<xs:element name="Notifications" minOccurs="1" maxOccurs="unbounded" type="ns:Notification">
|
383
|
+
<xs:annotation>
|
384
|
+
<xs:documentation>The descriptive data detailing the status of a sumbitted transaction.</xs:documentation>
|
385
|
+
</xs:annotation>
|
386
|
+
</xs:element>
|
387
|
+
<xs:element name="TransactionDetail" minOccurs="0" type="ns:TransactionDetail">
|
388
|
+
<xs:annotation>
|
389
|
+
<xs:documentation>Descriptive data that governs data payload language/translations. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.</xs:documentation>
|
390
|
+
</xs:annotation>
|
391
|
+
</xs:element>
|
392
|
+
<xs:element name="Version" minOccurs="1" type="ns:VersionId">
|
393
|
+
<xs:annotation>
|
394
|
+
<xs:documentation>Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply).</xs:documentation>
|
395
|
+
</xs:annotation>
|
396
|
+
</xs:element>
|
397
|
+
<xs:element name="ImageStatuses" minOccurs="0" maxOccurs="unbounded" type="ns:ImageUploadStatusDetail"/>
|
398
|
+
</xs:sequence>
|
399
|
+
</xs:complexType>
|
400
|
+
<xs:complexType name="UploadImagesRequest">
|
401
|
+
<xs:sequence>
|
402
|
+
<xs:element name="WebAuthenticationDetail" minOccurs="1" type="ns:WebAuthenticationDetail">
|
403
|
+
<xs:annotation>
|
404
|
+
<xs:documentation>The descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services).</xs:documentation>
|
405
|
+
</xs:annotation>
|
406
|
+
</xs:element>
|
407
|
+
<xs:element name="ClientDetail" type="ns:ClientDetail">
|
408
|
+
<xs:annotation>
|
409
|
+
<xs:documentation>Descriptive data identifying the client submitting the transaction.</xs:documentation>
|
410
|
+
</xs:annotation>
|
411
|
+
</xs:element>
|
412
|
+
<xs:element name="TransactionDetail" minOccurs="0" type="ns:TransactionDetail">
|
413
|
+
<xs:annotation>
|
414
|
+
<xs:documentation>Descriptive data for this customer transaction. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.</xs:documentation>
|
415
|
+
</xs:annotation>
|
416
|
+
</xs:element>
|
417
|
+
<xs:element name="Version" minOccurs="1" type="ns:VersionId">
|
418
|
+
<xs:annotation>
|
419
|
+
<xs:documentation>Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply).</xs:documentation>
|
420
|
+
</xs:annotation>
|
421
|
+
</xs:element>
|
422
|
+
<xs:element name="Images" minOccurs="0" maxOccurs="unbounded" type="ns:UploadImageDetail"/>
|
423
|
+
</xs:sequence>
|
424
|
+
</xs:complexType>
|
425
|
+
<xs:complexType name="VersionId">
|
426
|
+
<xs:annotation>
|
427
|
+
<xs:documentation>Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply).</xs:documentation>
|
428
|
+
</xs:annotation>
|
429
|
+
<xs:sequence>
|
430
|
+
<xs:element name="ServiceId" type="xs:string" minOccurs="1" fixed="cdus">
|
431
|
+
<xs:annotation>
|
432
|
+
<xs:documentation>Identifies a system or sub-system which performs an operation.</xs:documentation>
|
433
|
+
</xs:annotation>
|
434
|
+
</xs:element>
|
435
|
+
<xs:element name="Major" type="xs:int" fixed="1" minOccurs="1">
|
436
|
+
<xs:annotation>
|
437
|
+
<xs:documentation>Identifies the service business level. For this release this value should be set to 2.</xs:documentation>
|
438
|
+
</xs:annotation>
|
439
|
+
</xs:element>
|
440
|
+
<xs:element name="Intermediate" type="xs:int" fixed="1" minOccurs="1">
|
441
|
+
<xs:annotation>
|
442
|
+
<xs:documentation>Identifies the service interface level. For this release this value should be set to 0.</xs:documentation>
|
443
|
+
</xs:annotation>
|
444
|
+
</xs:element>
|
445
|
+
<xs:element name="Minor" type="xs:int" fixed="0" minOccurs="1">
|
446
|
+
<xs:annotation>
|
447
|
+
<xs:documentation>Identifies the service code level. For this release this value should be set to 0.</xs:documentation>
|
448
|
+
</xs:annotation>
|
449
|
+
</xs:element>
|
450
|
+
</xs:sequence>
|
451
|
+
</xs:complexType>
|
452
|
+
<xs:complexType name="WebAuthenticationDetail">
|
453
|
+
<xs:annotation>
|
454
|
+
<xs:documentation>The descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services).</xs:documentation>
|
455
|
+
</xs:annotation>
|
456
|
+
<xs:sequence>
|
457
|
+
<xs:element name="UserCredential" type="ns:WebAuthenticationCredential" minOccurs="1">
|
458
|
+
<xs:annotation>
|
459
|
+
<xs:documentation>Credential used to authenticate a specific software application. This value is provided by FedEx after registration.</xs:documentation>
|
460
|
+
</xs:annotation>
|
461
|
+
</xs:element>
|
462
|
+
</xs:sequence>
|
463
|
+
</xs:complexType>
|
464
|
+
<xs:complexType name="WebAuthenticationCredential">
|
465
|
+
<xs:annotation>
|
466
|
+
<xs:documentation>Two part authentication string used for the sender's identity.</xs:documentation>
|
467
|
+
</xs:annotation>
|
468
|
+
<xs:sequence>
|
469
|
+
<xs:element name="Key" type="xs:string" minOccurs="1">
|
470
|
+
<xs:annotation>
|
471
|
+
<xs:documentation>Publicly known part of authentication key used for authentication. This value is provided by FedEx after registration.</xs:documentation>
|
472
|
+
<xs:appinfo>
|
473
|
+
<xs:MaxLength>16</xs:MaxLength>
|
474
|
+
</xs:appinfo>
|
475
|
+
</xs:annotation>
|
476
|
+
</xs:element>
|
477
|
+
<xs:element name="Password" type="xs:string" minOccurs="0">
|
478
|
+
<xs:annotation>
|
479
|
+
<xs:documentation>Secret part of authentication key used for authentication. This value is provided by FedEx after registration.</xs:documentation>
|
480
|
+
<xs:appinfo>
|
481
|
+
<xs:MaxLength>25</xs:MaxLength>
|
482
|
+
</xs:appinfo>
|
483
|
+
</xs:annotation>
|
484
|
+
</xs:element>
|
485
|
+
</xs:sequence>
|
486
|
+
</xs:complexType>
|
487
|
+
</xs:schema>
|
488
|
+
</types>
|
489
|
+
<message name="UploadDocumentsRequest">
|
490
|
+
<part name="UploadDocumentsRequest" element="ns:UploadDocumentsRequest"/>
|
491
|
+
</message>
|
492
|
+
<message name="UploadDocumentsReply">
|
493
|
+
<part name="UploadDocumentsReply" element="ns:UploadDocumentsReply"/>
|
494
|
+
</message>
|
495
|
+
<message name="UploadImagesRequest">
|
496
|
+
<part name="UploadImagesRequest" element="ns:UploadImagesRequest"/>
|
497
|
+
</message>
|
498
|
+
<message name="UploadImagesReply">
|
499
|
+
<part name="UploadImagesReply" element="ns:UploadImagesReply"/>
|
500
|
+
</message>
|
501
|
+
<portType name="UploadDocumentPortType">
|
502
|
+
<operation name="uploadDocuments" parameterOrder="UploadDocumentsRequest">
|
503
|
+
<input message="ns:UploadDocumentsRequest"/>
|
504
|
+
<output message="ns:UploadDocumentsReply"/>
|
505
|
+
</operation>
|
506
|
+
<operation name="uploadImages" parameterOrder="UploadImagesRequest">
|
507
|
+
<input message="ns:UploadImagesRequest"/>
|
508
|
+
<output message="ns:UploadImagesReply"/>
|
509
|
+
</operation>
|
510
|
+
</portType>
|
511
|
+
<binding name="UploadDocumentServiceSoapBinding" type="ns:UploadDocumentPortType">
|
512
|
+
<s1:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
513
|
+
<operation name="uploadDocuments">
|
514
|
+
<s1:operation soapAction="uploadDocuments" style="document"/>
|
515
|
+
<input>
|
516
|
+
<s1:body use="literal"/>
|
517
|
+
</input>
|
518
|
+
<output>
|
519
|
+
<s1:body use="literal"/>
|
520
|
+
</output>
|
521
|
+
</operation>
|
522
|
+
<operation name="uploadImages">
|
523
|
+
<s1:operation soapAction="uploadImages" style="document"/>
|
524
|
+
<input>
|
525
|
+
<s1:body use="literal"/>
|
526
|
+
</input>
|
527
|
+
<output>
|
528
|
+
<s1:body use="literal"/>
|
529
|
+
</output>
|
530
|
+
</operation>
|
531
|
+
</binding>
|
532
|
+
<service name="UploadDocumentService">
|
533
|
+
<port name="UploadDocumentServicePort" binding="ns:UploadDocumentServiceSoapBinding">
|
534
|
+
<s1:address location="https://gatewaybeta.fedex.com:443/web-services/uploaddocument"/>
|
535
|
+
</port>
|
536
|
+
</service>
|
537
|
+
</definitions>
|