fex 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,833 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://fedex.com/ws/close/v2" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://fedex.com/ws/close/v2" name="CloseServiceDefinitions">
3
+ <types>
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://fedex.com/ws/close/v2">
5
+ <xs:element name="SmartPostCloseRequest" type="ns:SmartPostCloseRequest"/>
6
+ <xs:element name="SmartPostCloseReply" type="ns:SmartPostCloseReply"/>
7
+ <xs:element name="GroundCloseRequest" type="ns:GroundCloseRequest"/>
8
+ <xs:element name="GroundCloseReply" type="ns:GroundCloseReply"/>
9
+ <xs:element name="GroundCloseReportsReprintRequest" type="ns:GroundCloseReportsReprintRequest"/>
10
+ <xs:element name="GroundCloseReportsReprintReply" type="ns:GroundCloseReportsReprintReply"/>
11
+ <xs:element name="GroundCloseWithDocumentsRequest" type="ns:GroundCloseWithDocumentsRequest"/>
12
+ <xs:element name="ReprintGroundCloseDocumentsRequest" type="ns:ReprintGroundCloseDocumentsRequest"/>
13
+ <xs:element name="GroundCloseDocumentsReply" type="ns:GroundCloseDocumentsReply"/>
14
+ <xs:simpleType name="CarrierCodeType">
15
+ <xs:annotation>
16
+ <xs:documentation>Identification of a FedEx operating company (transportation).</xs:documentation>
17
+ </xs:annotation>
18
+ <xs:restriction base="xs:string">
19
+ <xs:enumeration value="FDXC"/>
20
+ <xs:enumeration value="FDXE"/>
21
+ <xs:enumeration value="FDXG"/>
22
+ <xs:enumeration value="FXCC"/>
23
+ <xs:enumeration value="FXFR"/>
24
+ <xs:enumeration value="FXSP"/>
25
+ </xs:restriction>
26
+ </xs:simpleType>
27
+ <xs:complexType name="ClientDetail">
28
+ <xs:annotation>
29
+ <xs:documentation>Descriptive data for the client submitting a transaction.</xs:documentation>
30
+ </xs:annotation>
31
+ <xs:sequence>
32
+ <xs:element name="AccountNumber" type="xs:string" minOccurs="0"/>
33
+ <xs:element name="MeterNumber" type="xs:string" minOccurs="0"/>
34
+ <xs:element name="IntegratorId" type="xs:string" minOccurs="0">
35
+ <xs:annotation>
36
+ <xs:documentation>Only used in transactions which require identification of the Fed Ex Office integrator.</xs:documentation>
37
+ </xs:annotation>
38
+ </xs:element>
39
+ <xs:element name="Localization" type="ns:Localization" minOccurs="0">
40
+ <xs:annotation>
41
+ <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>
42
+ </xs:annotation>
43
+ </xs:element>
44
+ </xs:sequence>
45
+ </xs:complexType>
46
+ <xs:complexType name="CloseDocument">
47
+ <xs:sequence>
48
+ <xs:element name="Type" minOccurs="0" type="ns:CloseDocumentType"/>
49
+ <xs:element name="ShippingCycle" type="xs:string" minOccurs="0">
50
+ <xs:annotation>
51
+ <xs:documentation>The client's shipping cycle to which this shipment belongs.</xs:documentation>
52
+ </xs:annotation>
53
+ </xs:element>
54
+ <xs:element name="ShippingDocumentDisposition" minOccurs="0" type="ns:ShippingDocumentDispositionType"/>
55
+ <xs:element name="AccessReference" minOccurs="0" type="xs:string">
56
+ <xs:annotation>
57
+ <xs:documentation>The name under which a STORED or DEFERRED document is written.</xs:documentation>
58
+ </xs:annotation>
59
+ </xs:element>
60
+ <xs:element name="Resolution" minOccurs="0" type="xs:nonNegativeInteger">
61
+ <xs:annotation>
62
+ <xs:documentation>Specifies the image resolution in DPI (dots per inch).</xs:documentation>
63
+ </xs:annotation>
64
+ </xs:element>
65
+ <xs:element name="CopiesToPrint" minOccurs="0" type="xs:positiveInteger">
66
+ <xs:annotation>
67
+ <xs:documentation>Number of copies to print.</xs:documentation>
68
+ </xs:annotation>
69
+ </xs:element>
70
+ <xs:element name="Parts" minOccurs="0" maxOccurs="unbounded" type="ns:ShippingDocumentPart">
71
+ <xs:annotation>
72
+ <xs:documentation>One or more document parts which make up a single logical document, such as multiple pages of a single form.</xs:documentation>
73
+ </xs:annotation>
74
+ </xs:element>
75
+ </xs:sequence>
76
+ </xs:complexType>
77
+ <xs:complexType name="CloseDocumentFormat">
78
+ <xs:annotation>
79
+ <xs:documentation>Specifies characteristics of a shipping document to be produced.</xs:documentation>
80
+ </xs:annotation>
81
+ <xs:sequence>
82
+ <xs:element name="Dispositions" minOccurs="0" maxOccurs="unbounded" type="ns:ShippingDocumentDispositionDetail">
83
+ <xs:annotation>
84
+ <xs:documentation>Specifies how to create, organize, and return the document.</xs:documentation>
85
+ </xs:annotation>
86
+ </xs:element>
87
+ <xs:element name="TopOfPageOffset" minOccurs="0" type="ns:LinearMeasure">
88
+ <xs:annotation>
89
+ <xs:documentation>Specifies how far down the page to move the beginning of the image; allows for printing on letterhead and other pre-printed stock.</xs:documentation>
90
+ </xs:annotation>
91
+ </xs:element>
92
+ <xs:element name="ImageType" minOccurs="0" type="ns:ShippingDocumentImageType">
93
+ <xs:annotation>
94
+ <xs:documentation>The type of image or printer commands the image is to be formatted in.</xs:documentation>
95
+ </xs:annotation>
96
+ </xs:element>
97
+ <xs:element name="StockType" minOccurs="0" type="ns:ShippingDocumentStockType"/>
98
+ <xs:element name="ProvideInstructions" minOccurs="0" type="xs:boolean">
99
+ <xs:annotation>
100
+ <xs:documentation>For those shipping document types which have both a "form" and "instructions" component (e.g. NAFTA Certificate of Origin and General Agency Agreement), this field indicates whether to provide the instructions.</xs:documentation>
101
+ </xs:annotation>
102
+ </xs:element>
103
+ <xs:element name="Localization" minOccurs="0" type="ns:Localization">
104
+ <xs:annotation>
105
+ <xs:documentation>Governs the language to be used for this individual document, independently from other content returned for the same shipment.</xs:documentation>
106
+ </xs:annotation>
107
+ </xs:element>
108
+ </xs:sequence>
109
+ </xs:complexType>
110
+ <xs:complexType name="CloseDocumentSpecification">
111
+ <xs:annotation>
112
+ <xs:documentation>Contains all data required for close-time documents to be produced in conjunction with a specific set of shipments. For January 2010, there are no applicable options for the COD report, the Manifest, or the Multiweight Report (they will only be available in TEXT format). Detail specifications will be added for those report types when customer-selectable options are implemented.</xs:documentation>
113
+ </xs:annotation>
114
+ <xs:sequence>
115
+ <xs:element name="CloseDocumentTypes" minOccurs="0" maxOccurs="unbounded" type="ns:CloseDocumentType">
116
+ <xs:annotation>
117
+ <xs:documentation>Indicates the types of close documents requested by the caller.</xs:documentation>
118
+ </xs:annotation>
119
+ </xs:element>
120
+ <xs:element name="Op950Detail" minOccurs="0" type="ns:Op950Detail">
121
+ <xs:annotation>
122
+ <xs:documentation>Specifies the production of the OP-950 document for hazardous materials.</xs:documentation>
123
+ </xs:annotation>
124
+ </xs:element>
125
+ </xs:sequence>
126
+ </xs:complexType>
127
+ <xs:simpleType name="CloseDocumentType">
128
+ <xs:restriction base="xs:string">
129
+ <xs:enumeration value="COD_REPORT"/>
130
+ <xs:enumeration value="MANIFEST"/>
131
+ <xs:enumeration value="MULTIWEIGHT_REPORT"/>
132
+ <xs:enumeration value="OP_950"/>
133
+ </xs:restriction>
134
+ </xs:simpleType>
135
+ <xs:simpleType name="CloseReportType">
136
+ <xs:restriction base="xs:string">
137
+ <xs:enumeration value="ALL"/>
138
+ <xs:enumeration value="COD"/>
139
+ <xs:enumeration value="HAZMAT"/>
140
+ <xs:enumeration value="MANIFEST"/>
141
+ <xs:enumeration value="MULTIWEIGHT"/>
142
+ </xs:restriction>
143
+ </xs:simpleType>
144
+ <xs:complexType name="CustomerImageUsage">
145
+ <xs:sequence>
146
+ <xs:element name="Type" minOccurs="0" type="ns:CustomerImageUsageType"/>
147
+ <xs:element name="Id" minOccurs="0" type="ns:ImageId"/>
148
+ <xs:element name="InternalId" minOccurs="0" type="xs:string">
149
+ <xs:annotation>
150
+ <xs:documentation>Internal Id used by INET to identify customer provided images during documents generation. Ex COO etc ...</xs:documentation>
151
+ </xs:annotation>
152
+ </xs:element>
153
+ <xs:element name="InternalImageType" minOccurs="0" type="ns:InternalImageType">
154
+ <xs:annotation>
155
+ <xs:documentation>Internal image type used by INET to identify customer provided images during documents generation. Ex COO etc ..</xs:documentation>
156
+ </xs:annotation>
157
+ </xs:element>
158
+ </xs:sequence>
159
+ </xs:complexType>
160
+ <xs:simpleType name="CustomerImageUsageType">
161
+ <xs:restriction base="xs:string">
162
+ <xs:enumeration value="LETTER_HEAD"/>
163
+ <xs:enumeration value="SIGNATURE"/>
164
+ </xs:restriction>
165
+ </xs:simpleType>
166
+ <xs:simpleType name="EMailNotificationRecipientType">
167
+ <xs:annotation>
168
+ <xs:documentation>Identifies the set of valid email notification recipient types. For SHIPPER, RECIPIENT and BROKER the email address asssociated with their definitions will be used, any email address sent with the email notification for these three email notification recipient types will be ignored.</xs:documentation>
169
+ </xs:annotation>
170
+ <xs:restriction base="xs:string">
171
+ <xs:enumeration value="BROKER"/>
172
+ <xs:enumeration value="OTHER"/>
173
+ <xs:enumeration value="RECIPIENT"/>
174
+ <xs:enumeration value="SHIPPER"/>
175
+ <xs:enumeration value="THIRD_PARTY"/>
176
+ </xs:restriction>
177
+ </xs:simpleType>
178
+ <xs:complexType name="GroundCloseDocumentsReply">
179
+ <xs:sequence>
180
+ <xs:element name="HighestSeverity" minOccurs="1" type="ns:NotificationSeverityType">
181
+ <xs:annotation>
182
+ <xs:documentation>This indicates the highest level of severity of all the notifications returned in this reply.</xs:documentation>
183
+ </xs:annotation>
184
+ </xs:element>
185
+ <xs:element name="Notifications" minOccurs="1" maxOccurs="unbounded" type="ns:Notification">
186
+ <xs:annotation>
187
+ <xs:documentation>The descriptive data regarding the results of the submitted transaction.</xs:documentation>
188
+ </xs:annotation>
189
+ </xs:element>
190
+ <xs:element name="TransactionDetail" minOccurs="0" type="ns:TransactionDetail">
191
+ <xs:annotation>
192
+ <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>
193
+ </xs:annotation>
194
+ </xs:element>
195
+ <xs:element name="Version" minOccurs="1" type="ns:VersionId">
196
+ <xs:annotation>
197
+ <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>
198
+ </xs:annotation>
199
+ </xs:element>
200
+ <xs:element name="CloseDocuments" minOccurs="0" maxOccurs="unbounded" type="ns:CloseDocument">
201
+ <xs:annotation>
202
+ <xs:documentation>The actual document contents for all provided reports.</xs:documentation>
203
+ </xs:annotation>
204
+ </xs:element>
205
+ </xs:sequence>
206
+ </xs:complexType>
207
+ <xs:complexType name="GroundCloseReply">
208
+ <xs:sequence>
209
+ <xs:element name="HighestSeverity" type="ns:NotificationSeverityType" minOccurs="1"/>
210
+ <xs:element name="Notifications" type="ns:Notification" minOccurs="1" maxOccurs="unbounded"/>
211
+ <xs:element name="TransactionDetail" type="ns:TransactionDetail" minOccurs="0"/>
212
+ <xs:element name="Version" type="ns:VersionId" minOccurs="1"/>
213
+ <xs:element name="CodReport" type="xs:base64Binary" minOccurs="0"/>
214
+ <xs:element name="HazMatCertificate" type="xs:base64Binary" minOccurs="0"/>
215
+ <xs:element name="Manifest" type="ns:ManifestFile" minOccurs="0"/>
216
+ <xs:element name="MultiweightReport" type="xs:base64Binary" minOccurs="0"/>
217
+ </xs:sequence>
218
+ </xs:complexType>
219
+ <xs:complexType name="GroundCloseReportsReprintReply">
220
+ <xs:sequence>
221
+ <xs:element name="HighestSeverity" type="ns:NotificationSeverityType" minOccurs="1"/>
222
+ <xs:element name="Notifications" type="ns:Notification" minOccurs="1" maxOccurs="unbounded"/>
223
+ <xs:element name="TransactionDetail" type="ns:TransactionDetail" minOccurs="0"/>
224
+ <xs:element name="Version" type="ns:VersionId" minOccurs="1"/>
225
+ <xs:element name="CodReport" type="xs:base64Binary" minOccurs="0"/>
226
+ <xs:element name="HazMatCertificate" type="xs:base64Binary" minOccurs="0"/>
227
+ <xs:element name="Manifests" type="ns:ManifestFile" minOccurs="0" maxOccurs="unbounded"/>
228
+ </xs:sequence>
229
+ </xs:complexType>
230
+ <xs:complexType name="GroundCloseReportsReprintRequest">
231
+ <xs:sequence>
232
+ <xs:element name="WebAuthenticationDetail" type="ns:WebAuthenticationDetail">
233
+ <xs:annotation>
234
+ <xs:documentation>The descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services).</xs:documentation>
235
+ </xs:annotation>
236
+ </xs:element>
237
+ <xs:element name="ClientDetail" type="ns:ClientDetail"/>
238
+ <xs:element name="TransactionDetail" type="ns:TransactionDetail" minOccurs="0"/>
239
+ <xs:element name="Version" type="ns:VersionId" minOccurs="1"/>
240
+ <xs:element name="ReportDate" type="xs:date" minOccurs="0"/>
241
+ <xs:element name="TrackingNumber" type="xs:string" minOccurs="0"/>
242
+ <xs:element name="CloseReportType" type="ns:CloseReportType" minOccurs="0"/>
243
+ </xs:sequence>
244
+ </xs:complexType>
245
+ <xs:complexType name="GroundCloseRequest">
246
+ <xs:sequence>
247
+ <xs:element name="WebAuthenticationDetail" type="ns:WebAuthenticationDetail">
248
+ <xs:annotation>
249
+ <xs:documentation>The descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services).</xs:documentation>
250
+ </xs:annotation>
251
+ </xs:element>
252
+ <xs:element name="ClientDetail" type="ns:ClientDetail"/>
253
+ <xs:element name="TransactionDetail" type="ns:TransactionDetail" minOccurs="0"/>
254
+ <xs:element name="Version" type="ns:VersionId" minOccurs="1"/>
255
+ <xs:element name="TimeUpToWhichShipmentsAreToBeClosed" type="xs:dateTime" minOccurs="0">
256
+ <xs:annotation>
257
+ <xs:documentation>Identifies the date and time up to which unclosed shipments are to be closed. Both the date and time portions of the string are expected to be used. The time is the local time based on the shipper's time zone. The date component must be in the format: YYYY-MM-DD (e.g. 2009-04-26). The time component must be in the format: HH:MM:SS using a 24 hour clock (e.g. 11:00 a.m. is 11:00:00, whereas 5:00 p.m. is 17:00:00). The date and time parts are separated by a T (e.g. 2009-04-26T17:00:00).</xs:documentation>
258
+ </xs:annotation>
259
+ </xs:element>
260
+ </xs:sequence>
261
+ </xs:complexType>
262
+ <xs:complexType name="GroundCloseWithDocumentsRequest">
263
+ <xs:sequence>
264
+ <xs:element name="WebAuthenticationDetail" type="ns:WebAuthenticationDetail">
265
+ <xs:annotation>
266
+ <xs:documentation>The descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services).</xs:documentation>
267
+ </xs:annotation>
268
+ </xs:element>
269
+ <xs:element name="ClientDetail" type="ns:ClientDetail">
270
+ <xs:annotation>
271
+ <xs:documentation>Descriptive data identifying the client submitting the transaction.</xs:documentation>
272
+ </xs:annotation>
273
+ </xs:element>
274
+ <xs:element name="TransactionDetail" minOccurs="0" type="ns:TransactionDetail">
275
+ <xs:annotation>
276
+ <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>
277
+ </xs:annotation>
278
+ </xs:element>
279
+ <xs:element name="Version" minOccurs="1" type="ns:VersionId">
280
+ <xs:annotation>
281
+ <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>
282
+ </xs:annotation>
283
+ </xs:element>
284
+ <xs:element name="CloseDate" minOccurs="0" type="xs:date">
285
+ <xs:annotation>
286
+ <xs:documentation>Date on which shipments were closed.</xs:documentation>
287
+ </xs:annotation>
288
+ </xs:element>
289
+ <xs:element name="CloseDocumentSpecification" minOccurs="0" type="ns:CloseDocumentSpecification">
290
+ <xs:annotation>
291
+ <xs:documentation>Specifies characteristics of document(s) to be returned for this request.</xs:documentation>
292
+ </xs:annotation>
293
+ </xs:element>
294
+ </xs:sequence>
295
+ </xs:complexType>
296
+ <xs:simpleType name="ImageId">
297
+ <xs:restriction base="xs:string">
298
+ <xs:enumeration value="IMAGE_1"/>
299
+ <xs:enumeration value="IMAGE_2"/>
300
+ <xs:enumeration value="IMAGE_3"/>
301
+ <xs:enumeration value="IMAGE_4"/>
302
+ <xs:enumeration value="IMAGE_5"/>
303
+ </xs:restriction>
304
+ </xs:simpleType>
305
+ <xs:simpleType name="InternalImageType">
306
+ <xs:restriction base="xs:string">
307
+ <xs:enumeration value="LETTER_HEAD"/>
308
+ <xs:enumeration value="SIGNATURE"/>
309
+ </xs:restriction>
310
+ </xs:simpleType>
311
+ <xs:complexType name="LinearMeasure">
312
+ <xs:annotation>
313
+ <xs:documentation>Represents a one-dimensional measurement in small units (e.g. suitable for measuring a package or document), contrasted with Distance, which represents a large one-dimensional measurement (e.g. distance between cities).</xs:documentation>
314
+ </xs:annotation>
315
+ <xs:sequence>
316
+ <xs:element name="Value" minOccurs="0" type="xs:decimal">
317
+ <xs:annotation>
318
+ <xs:documentation>The numerical quantity of this measurement.</xs:documentation>
319
+ </xs:annotation>
320
+ </xs:element>
321
+ <xs:element name="Units" minOccurs="0" type="ns:LinearUnits">
322
+ <xs:annotation>
323
+ <xs:documentation>The units for this measurement.</xs:documentation>
324
+ </xs:annotation>
325
+ </xs:element>
326
+ </xs:sequence>
327
+ </xs:complexType>
328
+ <xs:simpleType name="LinearUnits">
329
+ <xs:annotation>
330
+ <xs:documentation>CM = centimeters, IN = inches</xs:documentation>
331
+ </xs:annotation>
332
+ <xs:restriction base="xs:string">
333
+ <xs:enumeration value="CM"/>
334
+ <xs:enumeration value="IN"/>
335
+ </xs:restriction>
336
+ </xs:simpleType>
337
+ <xs:complexType name="Localization">
338
+ <xs:sequence>
339
+ <xs:element name="LanguageCode" type="xs:string" minOccurs="0"/>
340
+ <xs:element name="LocaleCode" type="xs:string" minOccurs="0"/>
341
+ </xs:sequence>
342
+ </xs:complexType>
343
+ <xs:complexType name="ManifestFile">
344
+ <xs:sequence>
345
+ <xs:element name="FileName" type="xs:string" minOccurs="0"/>
346
+ <xs:element name="File" type="xs:base64Binary" minOccurs="0"/>
347
+ </xs:sequence>
348
+ </xs:complexType>
349
+ <xs:complexType name="Notification">
350
+ <xs:sequence>
351
+ <xs:element name="Severity" type="ns:NotificationSeverityType" minOccurs="0"/>
352
+ <xs:element name="Source" type="xs:string" minOccurs="0"/>
353
+ <xs:element name="Code" type="xs:string" minOccurs="0"/>
354
+ <xs:element name="Message" type="xs:string" minOccurs="0"/>
355
+ <xs:element name="LocalizedMessage" type="xs:string" minOccurs="0"/>
356
+ <xs:element name="MessageParameters" type="ns:NotificationParameter" minOccurs="0" maxOccurs="unbounded">
357
+ <xs:annotation>
358
+ <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>
359
+ </xs:annotation>
360
+ </xs:element>
361
+ </xs:sequence>
362
+ </xs:complexType>
363
+ <xs:complexType name="NotificationParameter">
364
+ <xs:sequence>
365
+ <xs:element name="Id" type="xs:string" minOccurs="0"/>
366
+ <xs:element name="Value" type="xs:string" minOccurs="0"/>
367
+ </xs:sequence>
368
+ </xs:complexType>
369
+ <xs:simpleType name="NotificationSeverityType">
370
+ <xs:restriction base="xs:string">
371
+ <xs:enumeration value="ERROR"/>
372
+ <xs:enumeration value="FAILURE"/>
373
+ <xs:enumeration value="NOTE"/>
374
+ <xs:enumeration value="SUCCESS"/>
375
+ <xs:enumeration value="WARNING"/>
376
+ </xs:restriction>
377
+ </xs:simpleType>
378
+ <xs:complexType name="Op950Detail">
379
+ <xs:annotation>
380
+ <xs:documentation>The instructions indicating how to print the OP-950 form for hazardous materials.</xs:documentation>
381
+ </xs:annotation>
382
+ <xs:sequence>
383
+ <xs:element name="Format" minOccurs="0" type="ns:CloseDocumentFormat">
384
+ <xs:annotation>
385
+ <xs:documentation>Specifies characteristics of a shipping document to be produced.</xs:documentation>
386
+ </xs:annotation>
387
+ </xs:element>
388
+ <xs:element name="CustomerImageUsages" minOccurs="0" maxOccurs="unbounded" type="ns:CustomerImageUsage">
389
+ <xs:annotation>
390
+ <xs:documentation>Specifies the usage and identification of a customer supplied image to be used on this document.</xs:documentation>
391
+ </xs:annotation>
392
+ </xs:element>
393
+ <xs:element name="SignatureName" minOccurs="0" type="xs:string">
394
+ <xs:annotation>
395
+ <xs:documentation>Data field to be used when a name is to be printed in the document instead of (or in addition to) a signature image.</xs:documentation>
396
+ </xs:annotation>
397
+ </xs:element>
398
+ </xs:sequence>
399
+ </xs:complexType>
400
+ <xs:simpleType name="ReprintGroundCloseDocumentsOptionType">
401
+ <xs:annotation>
402
+ <xs:documentation>Identifies the requested options to reprinting Ground Close Documents</xs:documentation>
403
+ </xs:annotation>
404
+ <xs:restriction base="xs:string">
405
+ <xs:enumeration value="BY_SHIP_DATE"/>
406
+ <xs:enumeration value="BY_TRACKING_NUMBER"/>
407
+ </xs:restriction>
408
+ </xs:simpleType>
409
+ <xs:complexType name="ReprintGroundCloseDocumentsRequest">
410
+ <xs:sequence>
411
+ <xs:element name="WebAuthenticationDetail" type="ns:WebAuthenticationDetail">
412
+ <xs:annotation>
413
+ <xs:documentation>The descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services).</xs:documentation>
414
+ </xs:annotation>
415
+ </xs:element>
416
+ <xs:element name="ClientDetail" type="ns:ClientDetail">
417
+ <xs:annotation>
418
+ <xs:documentation>Descriptive data identifying the client submitting the transaction.</xs:documentation>
419
+ </xs:annotation>
420
+ </xs:element>
421
+ <xs:element name="TransactionDetail" minOccurs="0" type="ns:TransactionDetail">
422
+ <xs:annotation>
423
+ <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>
424
+ </xs:annotation>
425
+ </xs:element>
426
+ <xs:element name="Version" minOccurs="1" type="ns:VersionId">
427
+ <xs:annotation>
428
+ <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>
429
+ </xs:annotation>
430
+ </xs:element>
431
+ <xs:element name="ReprintOption" minOccurs="0" type="ns:ReprintGroundCloseDocumentsOptionType"/>
432
+ <xs:element name="CloseDate" minOccurs="0" type="xs:date">
433
+ <xs:annotation>
434
+ <xs:documentation>Date on which shipments were closed.</xs:documentation>
435
+ </xs:annotation>
436
+ </xs:element>
437
+ <xs:element name="TrackingNumber" minOccurs="0" type="xs:string"/>
438
+ <xs:element name="CloseDocumentSpecification" minOccurs="0" type="ns:CloseDocumentSpecification">
439
+ <xs:annotation>
440
+ <xs:documentation>Specifies characteristics of document(s) to be returned for this request.</xs:documentation>
441
+ </xs:annotation>
442
+ </xs:element>
443
+ </xs:sequence>
444
+ </xs:complexType>
445
+ <xs:complexType name="ShippingDocumentDispositionDetail">
446
+ <xs:annotation>
447
+ <xs:documentation>Each occurrence of this class specifies a particular way in which a kind of shipping document is to be produced and provided.</xs:documentation>
448
+ </xs:annotation>
449
+ <xs:sequence>
450
+ <xs:element name="DispositionType" minOccurs="0" type="ns:ShippingDocumentDispositionType">
451
+ <xs:annotation>
452
+ <xs:documentation>Values in this field specify how to create and return the document.</xs:documentation>
453
+ </xs:annotation>
454
+ </xs:element>
455
+ <xs:element name="Grouping" minOccurs="0" type="ns:ShippingDocumentGroupingType">
456
+ <xs:annotation>
457
+ <xs:documentation>Specifies how to organize all documents of this type.</xs:documentation>
458
+ </xs:annotation>
459
+ </xs:element>
460
+ <xs:element name="StorageDetail" minOccurs="0" type="ns:ShippingDocumentStorageDetail">
461
+ <xs:annotation>
462
+ <xs:documentation>Specifies how to store document images.</xs:documentation>
463
+ </xs:annotation>
464
+ </xs:element>
465
+ <xs:element name="EMailDetail" minOccurs="0" type="ns:ShippingDocumentEMailDetail">
466
+ <xs:annotation>
467
+ <xs:documentation>Specifies how to e-mail document images.</xs:documentation>
468
+ </xs:annotation>
469
+ </xs:element>
470
+ <xs:element name="PrintDetail" minOccurs="0" type="ns:ShippingDocumentPrintDetail">
471
+ <xs:annotation>
472
+ <xs:documentation>Specifies how a queued document is to be printed.</xs:documentation>
473
+ </xs:annotation>
474
+ </xs:element>
475
+ </xs:sequence>
476
+ </xs:complexType>
477
+ <xs:simpleType name="ShippingDocumentDispositionType">
478
+ <xs:annotation>
479
+ <xs:documentation>Specifies how to return a shipping document to the caller.</xs:documentation>
480
+ </xs:annotation>
481
+ <xs:restriction base="xs:string">
482
+ <xs:enumeration value="CONFIRMED"/>
483
+ <xs:enumeration value="DEFERRED"/>
484
+ <xs:enumeration value="EMAILED"/>
485
+ <xs:enumeration value="QUEUED"/>
486
+ <xs:enumeration value="RETURNED"/>
487
+ <xs:enumeration value="STORED"/>
488
+ </xs:restriction>
489
+ </xs:simpleType>
490
+ <xs:complexType name="ShippingDocumentEMailDetail">
491
+ <xs:annotation>
492
+ <xs:documentation>Specifies how to e-mail shipping documents.</xs:documentation>
493
+ </xs:annotation>
494
+ <xs:sequence>
495
+ <xs:element name="EMailRecipients" minOccurs="0" maxOccurs="unbounded" type="ns:ShippingDocumentEMailRecipient">
496
+ <xs:annotation>
497
+ <xs:documentation>Provides the roles and email addresses for e-mail recipients.</xs:documentation>
498
+ </xs:annotation>
499
+ </xs:element>
500
+ <xs:element name="Grouping" minOccurs="0" type="ns:ShippingDocumentEMailGroupingType">
501
+ <xs:annotation>
502
+ <xs:documentation>Identifies the convention by which documents are to be grouped as e-mail attachments.</xs:documentation>
503
+ </xs:annotation>
504
+ </xs:element>
505
+ </xs:sequence>
506
+ </xs:complexType>
507
+ <xs:simpleType name="ShippingDocumentEMailGroupingType">
508
+ <xs:annotation>
509
+ <xs:documentation>Identifies the convention by which documents are to be grouped as e-mail attachments.</xs:documentation>
510
+ </xs:annotation>
511
+ <xs:restriction base="xs:string">
512
+ <xs:enumeration value="BY_RECIPIENT"/>
513
+ <xs:enumeration value="NONE"/>
514
+ </xs:restriction>
515
+ </xs:simpleType>
516
+ <xs:complexType name="ShippingDocumentEMailRecipient">
517
+ <xs:annotation>
518
+ <xs:documentation>Specifies an individual recipient of e-mailed shipping document(s).</xs:documentation>
519
+ </xs:annotation>
520
+ <xs:sequence>
521
+ <xs:element name="RecipientType" minOccurs="0" type="ns:EMailNotificationRecipientType">
522
+ <xs:annotation>
523
+ <xs:documentation>Identifies the relationship of this recipient in the shipment.</xs:documentation>
524
+ </xs:annotation>
525
+ </xs:element>
526
+ <xs:element name="Address" minOccurs="0" type="xs:string">
527
+ <xs:annotation>
528
+ <xs:documentation>Address to which the document is to be sent.</xs:documentation>
529
+ </xs:annotation>
530
+ </xs:element>
531
+ </xs:sequence>
532
+ </xs:complexType>
533
+ <xs:simpleType name="ShippingDocumentGroupingType">
534
+ <xs:annotation>
535
+ <xs:documentation>Specifies how to organize all shipping documents of the same type.</xs:documentation>
536
+ </xs:annotation>
537
+ <xs:restriction base="xs:string">
538
+ <xs:enumeration value="CONSOLIDATED_BY_DOCUMENT_TYPE"/>
539
+ <xs:enumeration value="INDIVIDUAL"/>
540
+ </xs:restriction>
541
+ </xs:simpleType>
542
+ <xs:simpleType name="ShippingDocumentImageType">
543
+ <xs:annotation>
544
+ <xs:documentation>Specifies the image format used for a shipping document.</xs:documentation>
545
+ </xs:annotation>
546
+ <xs:restriction base="xs:string">
547
+ <xs:enumeration value="DIB"/>
548
+ <xs:enumeration value="DOC"/>
549
+ <xs:enumeration value="DPL"/>
550
+ <xs:enumeration value="EPL2"/>
551
+ <xs:enumeration value="GIF"/>
552
+ <xs:enumeration value="PDF"/>
553
+ <xs:enumeration value="PNG"/>
554
+ <xs:enumeration value="RTF"/>
555
+ <xs:enumeration value="TEXT"/>
556
+ <xs:enumeration value="ZPLII"/>
557
+ </xs:restriction>
558
+ </xs:simpleType>
559
+ <xs:simpleType name="ShippingDocumentNamingType">
560
+ <xs:annotation>
561
+ <xs:documentation>Identifies the convention by which file names are constructed for STORED or DEFERRED documents.</xs:documentation>
562
+ </xs:annotation>
563
+ <xs:restriction base="xs:string">
564
+ <xs:enumeration value="FAST"/>
565
+ <xs:enumeration value="LEGACY_FXRS"/>
566
+ </xs:restriction>
567
+ </xs:simpleType>
568
+ <xs:complexType name="ShippingDocumentPart">
569
+ <xs:annotation>
570
+ <xs:documentation>A single part of a shipping document, such as one page of a multiple-page document whose format requires a separate image per page.</xs:documentation>
571
+ </xs:annotation>
572
+ <xs:sequence>
573
+ <xs:element name="DocumentPartSequenceNumber" minOccurs="0" type="xs:positiveInteger">
574
+ <xs:annotation>
575
+ <xs:documentation>The one-origin position of this part within a document.</xs:documentation>
576
+ </xs:annotation>
577
+ </xs:element>
578
+ <xs:element name="Image" minOccurs="0" type="xs:base64Binary">
579
+ <xs:annotation>
580
+ <xs:documentation>Graphic or printer commands for this image within a document.</xs:documentation>
581
+ </xs:annotation>
582
+ </xs:element>
583
+ </xs:sequence>
584
+ </xs:complexType>
585
+ <xs:complexType name="ShippingDocumentPrintDetail">
586
+ <xs:annotation>
587
+ <xs:documentation>Specifies printing options for a shipping document.</xs:documentation>
588
+ </xs:annotation>
589
+ <xs:sequence>
590
+ <xs:element name="PrinterId" minOccurs="0" type="xs:string">
591
+ <xs:annotation>
592
+ <xs:documentation>Provides environment-specific printer identification.</xs:documentation>
593
+ </xs:annotation>
594
+ </xs:element>
595
+ </xs:sequence>
596
+ </xs:complexType>
597
+ <xs:simpleType name="ShippingDocumentStockType">
598
+ <xs:annotation>
599
+ <xs:documentation>Specifies the type of paper (stock) on which a document will be printed.</xs:documentation>
600
+ </xs:annotation>
601
+ <xs:restriction base="xs:string">
602
+ <xs:enumeration value="OP_900_LG"/>
603
+ <xs:enumeration value="OP_900_LL"/>
604
+ <xs:enumeration value="OP_950"/>
605
+ <xs:enumeration value="PAPER_4X6"/>
606
+ <xs:enumeration value="PAPER_LETTER"/>
607
+ <xs:enumeration value="STOCK_4X6"/>
608
+ <xs:enumeration value="STOCK_4X6.75_LEADING_DOC_TAB"/>
609
+ <xs:enumeration value="STOCK_4X6.75_TRAILING_DOC_TAB"/>
610
+ <xs:enumeration value="STOCK_4X8"/>
611
+ <xs:enumeration value="STOCK_4X9_LEADING_DOC_TAB"/>
612
+ <xs:enumeration value="STOCK_4X9_TRAILING_DOC_TAB"/>
613
+ </xs:restriction>
614
+ </xs:simpleType>
615
+ <xs:complexType name="ShippingDocumentStorageDetail">
616
+ <xs:annotation>
617
+ <xs:documentation>Specifies how to store shipping documents.</xs:documentation>
618
+ </xs:annotation>
619
+ <xs:sequence>
620
+ <xs:element name="FilePath" minOccurs="0" type="xs:string">
621
+ <xs:annotation>
622
+ <xs:documentation>Provides the path to be used for STORED or DEFERRED documents.</xs:documentation>
623
+ </xs:annotation>
624
+ </xs:element>
625
+ <xs:element name="FileNaming" minOccurs="0" type="ns:ShippingDocumentNamingType">
626
+ <xs:annotation>
627
+ <xs:documentation>Identifies the convention by which file names are constructed for STORED or DEFERRED documents.</xs:documentation>
628
+ </xs:annotation>
629
+ </xs:element>
630
+ <xs:element name="FileSuffix" minOccurs="0" type="xs:string">
631
+ <xs:annotation>
632
+ <xs:documentation>Suffix to be placed at the end of the file name; required on some platforms to determine file type.</xs:documentation>
633
+ </xs:annotation>
634
+ </xs:element>
635
+ </xs:sequence>
636
+ </xs:complexType>
637
+ <xs:complexType name="SmartPostCloseReply">
638
+ <xs:sequence>
639
+ <xs:element name="HighestSeverity" type="ns:NotificationSeverityType" minOccurs="1"/>
640
+ <xs:element name="Notifications" type="ns:Notification" minOccurs="1" maxOccurs="unbounded"/>
641
+ <xs:element name="TransactionDetail" type="ns:TransactionDetail" minOccurs="0"/>
642
+ <xs:element name="Version" type="ns:VersionId" minOccurs="1"/>
643
+ </xs:sequence>
644
+ </xs:complexType>
645
+ <xs:complexType name="SmartPostCloseRequest">
646
+ <xs:sequence>
647
+ <xs:element name="WebAuthenticationDetail" type="ns:WebAuthenticationDetail">
648
+ <xs:annotation>
649
+ <xs:documentation>The descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services).</xs:documentation>
650
+ </xs:annotation>
651
+ </xs:element>
652
+ <xs:element name="ClientDetail" type="ns:ClientDetail"/>
653
+ <xs:element name="TransactionDetail" type="ns:TransactionDetail" minOccurs="0"/>
654
+ <xs:element name="Version" type="ns:VersionId" minOccurs="1"/>
655
+ <xs:element name="HubId" type="xs:string" minOccurs="0"/>
656
+ <xs:element name="CustomerManifestId" type="xs:string" minOccurs="0"/>
657
+ <xs:element name="DestinationCountryCode" type="xs:string" minOccurs="0"/>
658
+ <xs:element name="PickUpCarrier" type="ns:CarrierCodeType" minOccurs="0"/>
659
+ </xs:sequence>
660
+ </xs:complexType>
661
+ <xs:complexType name="TransactionDetail">
662
+ <xs:sequence>
663
+ <xs:element name="CustomerTransactionId" type="xs:string" minOccurs="0"/>
664
+ <xs:element name="Localization" type="ns:Localization" minOccurs="0">
665
+ <xs:annotation>
666
+ <xs:documentation>Governs data payload language/translations (contrasted with ClientDetail.localization, which governs Notification.localizedMessage language selection).</xs:documentation>
667
+ </xs:annotation>
668
+ </xs:element>
669
+ </xs:sequence>
670
+ </xs:complexType>
671
+ <xs:complexType name="VersionId">
672
+ <xs:annotation>
673
+ <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>
674
+ </xs:annotation>
675
+ <xs:sequence>
676
+ <xs:element name="ServiceId" type="xs:string" minOccurs="1" fixed="clos"/>
677
+ <xs:element name="Major" type="xs:int" minOccurs="1" fixed="2">
678
+ <xs:annotation>
679
+ <xs:documentation>Service business level.</xs:documentation>
680
+ </xs:annotation>
681
+ </xs:element>
682
+ <xs:element name="Intermediate" type="xs:int" minOccurs="1" fixed="1">
683
+ <xs:annotation>
684
+ <xs:documentation>Service interface level.</xs:documentation>
685
+ </xs:annotation>
686
+ </xs:element>
687
+ <xs:element name="Minor" type="xs:int" minOccurs="1" fixed="0">
688
+ <xs:annotation>
689
+ <xs:documentation>Service code level.</xs:documentation>
690
+ </xs:annotation>
691
+ </xs:element>
692
+ </xs:sequence>
693
+ </xs:complexType>
694
+ <xs:complexType name="WebAuthenticationDetail">
695
+ <xs:annotation>
696
+ <xs:documentation>The descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services).</xs:documentation>
697
+ </xs:annotation>
698
+ <xs:sequence>
699
+ <xs:element name="UserCredential" type="ns:WebAuthenticationCredential" minOccurs="1">
700
+ <xs:annotation>
701
+ <xs:documentation>Credential used to authenticate a specific software application. This value is provided by FedEx after registration.</xs:documentation>
702
+ </xs:annotation>
703
+ </xs:element>
704
+ </xs:sequence>
705
+ </xs:complexType>
706
+ <xs:complexType name="WebAuthenticationCredential">
707
+ <xs:annotation>
708
+ <xs:documentation>Two part authentication string used for the sender's identity.</xs:documentation>
709
+ </xs:annotation>
710
+ <xs:sequence>
711
+ <xs:element name="Key" type="xs:string" minOccurs="1">
712
+ <xs:annotation>
713
+ <xs:documentation>Publicly known part of authentication key used for authentication. This value is provided by FedEx after registration.</xs:documentation>
714
+ <xs:appinfo>
715
+ <xs:MaxLength>16</xs:MaxLength>
716
+ </xs:appinfo>
717
+ </xs:annotation>
718
+ </xs:element>
719
+ <xs:element name="Password" type="xs:string" minOccurs="0">
720
+ <xs:annotation>
721
+ <xs:documentation>Secret part of authentication key used for authentication. This value is provided by FedEx after registration.</xs:documentation>
722
+ <xs:appinfo>
723
+ <xs:MaxLength>25</xs:MaxLength>
724
+ </xs:appinfo>
725
+ </xs:annotation>
726
+ </xs:element>
727
+ </xs:sequence>
728
+ </xs:complexType>
729
+ </xs:schema>
730
+ </types>
731
+ <message name="SmartPostCloseRequest">
732
+ <part name="SmartPostCloseRequest" element="ns:SmartPostCloseRequest"/>
733
+ </message>
734
+ <message name="SmartPostCloseReply">
735
+ <part name="SmartPostCloseReply" element="ns:SmartPostCloseReply"/>
736
+ </message>
737
+ <message name="GroundCloseRequest">
738
+ <part name="GroundCloseRequest" element="ns:GroundCloseRequest"/>
739
+ </message>
740
+ <message name="GroundCloseReply">
741
+ <part name="GroundCloseReply" element="ns:GroundCloseReply"/>
742
+ </message>
743
+ <message name="GroundCloseReportsReprintRequest">
744
+ <part name="GroundCloseReportsReprintRequest" element="ns:GroundCloseReportsReprintRequest"/>
745
+ </message>
746
+ <message name="GroundCloseReportsReprintReply">
747
+ <part name="GroundCloseReportsReprintReply" element="ns:GroundCloseReportsReprintReply"/>
748
+ </message>
749
+ <message name="GroundCloseWithDocumentsRequest">
750
+ <part name="GroundCloseWithDocumentsRequest" element="ns:GroundCloseWithDocumentsRequest"/>
751
+ </message>
752
+ <message name="ReprintGroundCloseDocumentsRequest">
753
+ <part name="ReprintGroundCloseDocumentsRequest" element="ns:ReprintGroundCloseDocumentsRequest"/>
754
+ </message>
755
+ <message name="GroundCloseDocumentsReply">
756
+ <part name="GroundCloseDocumentsReply" element="ns:GroundCloseDocumentsReply"/>
757
+ </message>
758
+ <portType name="ClosePortType">
759
+ <operation name="smartPostClose" parameterOrder="SmartPostCloseRequest">
760
+ <input message="ns:SmartPostCloseRequest"/>
761
+ <output message="ns:SmartPostCloseReply"/>
762
+ </operation>
763
+ <operation name="groundClose" parameterOrder="GroundCloseRequest">
764
+ <input message="ns:GroundCloseRequest"/>
765
+ <output message="ns:GroundCloseReply"/>
766
+ </operation>
767
+ <operation name="groundCloseReportsReprint" parameterOrder="GroundCloseReportsReprintRequest">
768
+ <input message="ns:GroundCloseReportsReprintRequest"/>
769
+ <output message="ns:GroundCloseReportsReprintReply"/>
770
+ </operation>
771
+ <operation name="groundCloseWithDocuments" parameterOrder="GroundCloseWithDocumentsRequest">
772
+ <input message="ns:GroundCloseWithDocumentsRequest"/>
773
+ <output message="ns:GroundCloseDocumentsReply"/>
774
+ </operation>
775
+ <operation name="reprintGroundCloseDocuments" parameterOrder="ReprintGroundCloseDocumentsRequest">
776
+ <input message="ns:ReprintGroundCloseDocumentsRequest"/>
777
+ <output message="ns:GroundCloseDocumentsReply"/>
778
+ </operation>
779
+ </portType>
780
+ <binding name="CloseServiceSoapBinding" type="ns:ClosePortType">
781
+ <s1:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
782
+ <operation name="smartPostClose">
783
+ <s1:operation soapAction="smartPostClose" style="document"/>
784
+ <input>
785
+ <s1:body use="literal"/>
786
+ </input>
787
+ <output>
788
+ <s1:body use="literal"/>
789
+ </output>
790
+ </operation>
791
+ <operation name="groundClose">
792
+ <s1:operation soapAction="groundClose" style="document"/>
793
+ <input>
794
+ <s1:body use="literal"/>
795
+ </input>
796
+ <output>
797
+ <s1:body use="literal"/>
798
+ </output>
799
+ </operation>
800
+ <operation name="groundCloseReportsReprint">
801
+ <s1:operation soapAction="groundCloseReportsReprint" style="document"/>
802
+ <input>
803
+ <s1:body use="literal"/>
804
+ </input>
805
+ <output>
806
+ <s1:body use="literal"/>
807
+ </output>
808
+ </operation>
809
+ <operation name="groundCloseWithDocuments">
810
+ <s1:operation soapAction="groundCloseWithDocuments" style="document"/>
811
+ <input>
812
+ <s1:body use="literal"/>
813
+ </input>
814
+ <output>
815
+ <s1:body use="literal"/>
816
+ </output>
817
+ </operation>
818
+ <operation name="reprintGroundCloseDocuments">
819
+ <s1:operation soapAction="reprintGroundCloseDocuments" style="document"/>
820
+ <input>
821
+ <s1:body use="literal"/>
822
+ </input>
823
+ <output>
824
+ <s1:body use="literal"/>
825
+ </output>
826
+ </operation>
827
+ </binding>
828
+ <service name="CloseService">
829
+ <port name="CloseServicePort" binding="ns:CloseServiceSoapBinding">
830
+ <s1:address location="https://gatewaybeta.fedex.com:443/web-services/close"/>
831
+ </port>
832
+ </service>
833
+ </definitions>